Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: USB data logging

  1. #1
    Join Date
    Mar 2008
    Location
    Gold Coast
    Posts
    369
    Total Downloaded
    0

    USB data logging

    I have recently bought an Omega PX409 USB data logger. The software that comes with the is crap and will only let you sample at a rate of once a second, I want somewhere between 4 and 10 readings a second.

    Their technical support is decidedly useless telling me their is no alternate software, even though the thing comes with drivers for LabView and Visual Studio / DotNet.

    Labview looks like labview will do what I want without too much trouble but it seems overkill when all i want to do is record pressure/time, in approx 1 min blocks, and put this into excel for analysis and to draw graphs.

    here are the drivers and command references etc:
    ftp://ftp.omega.com/public/DASGroup/products/PX409-USB/

    I am hoping someone smarter than me will know something about this and can point me in the direction of a simple solution?

  2. #2
    Join Date
    Feb 2007
    Location
    Brisbane
    Posts
    4,497
    Total Downloaded
    0
    Can't you just export the data to Excel and get rid of the data you don't want?

    Quote Originally Posted by Jitterbug View Post
    I have recently bought an Omega PX409 USB data logger. The software that comes with the is crap and will only let you sample at a rate of once a second, I want somewhere between 4 and 10 readings a second.

    Their technical support is decidedly useless telling me their is no alternate software, even though the thing comes with drivers for LabView and Visual Studio / DotNet.

    Labview looks like labview will do what I want without too much trouble but it seems overkill when all i want to do is record pressure/time, in approx 1 min blocks, and put this into excel for analysis and to draw graphs.

    here are the drivers and command references etc:
    ftp://ftp.omega.com/public/DASGroup/products/PX409-USB/

    I am hoping someone smarter than me will know something about this and can point me in the direction of a simple solution?

  3. #3
    Join Date
    Mar 2008
    Location
    Gold Coast
    Posts
    369
    Total Downloaded
    0
    Quote Originally Posted by WhiteD3 View Post
    Can't you just export the data to Excel and get rid of the data you don't want?
    The problem is that i dont have enough data, not too much. I need a sample rate of between 4 and 10 readings a second, the program that came with it only gives 1 reading a second.

  4. #4
    Join Date
    Jan 2013
    Location
    Adelaide
    Posts
    16
    Total Downloaded
    0
    I would assume that the readings from the software are averaged over the 1 second sample. So sampling faster would not add any information if you are going to average into 1 min blocks anyway?

  5. #5
    Join Date
    Mar 2008
    Location
    Gold Coast
    Posts
    369
    Total Downloaded
    0
    Quote Originally Posted by Maelgwn View Post
    I would assume that the readings from the software are averaged over the 1 second sample. So sampling faster would not add any information if you are going to average into 1 min blocks anyway?
    My initial description might not have been the best, over that one minute period I need to see what the pressure is every 0.1 second.
    It is for the bench testing of relief valves to confirm at what pressure they are opening.

  6. #6
    Join Date
    Jan 2013
    Location
    Adelaide
    Posts
    16
    Total Downloaded
    0
    Quote Originally Posted by Jitterbug View Post
    My initial description might not have been the best, over that one minute period I need to see what the pressure is every 0.1 second.
    It is for the bench testing of relief valves to confirm at what pressure they are opening.
    A quick google suggests the bandwidth of the sensor is DC to 3Hz, meaning that the data sampled this fast would not really add any meaning? It is possible i looked at the wrong thing or there is more information regarding freq response somewhere?

  7. #7
    Join Date
    Mar 2008
    Location
    Gold Coast
    Posts
    369
    Total Downloaded
    0
    Quote Originally Posted by Maelgwn View Post
    A quick google suggests the bandwidth of the sensor is DC to 3Hz, meaning that the data sampled this fast would not really add any meaning? It is possible i looked at the wrong thing or there is more information regarding freq response somewhere?
    even 3hz would be a big improvement to the 1Hz the software will let me work to...

  8. #8
    Join Date
    Mar 2008
    Location
    Gold Coast
    Posts
    369
    Total Downloaded
    0
    Quote Originally Posted by Jitterbug View Post
    even 3hz would be a big improvement to the 1Hz the software will let me work to...
    The UK omega site specifies
    "Max. Read Rate: 1 sample/second (using Omega software)"which implies software could be the limiting factor. Given it is an analogue signal to the compluter the response of the transducer and processing power of the PC should be the only limiting factor.
    The non-USB model that logs to memory will take up to 1000 readings a second.

  9. #9
    Join Date
    Jan 2013
    Location
    Adelaide
    Posts
    16
    Total Downloaded
    0
    Quote Originally Posted by Jitterbug View Post
    The UK omega site specifies
    "Max. Read Rate: 1 sample/second (using Omega software)"which implies software could be the limiting factor. Given it is an analogue signal to the compluter the response of the transducer and processing power of the PC should be the only limiting factor.
    The non-USB model that logs to memory will take up to 1000 readings a second.
    No the A to D conversion happens on board the transducer.

    I assume this is the thing you are talking about USB Pressure Transducer PX409USB

    You could write a program to talk to the device through the serial interface, and see if polling the device gives you a greater sample rate than 1Hz?

  10. #10
    Join Date
    Feb 2007
    Location
    Perth
    Posts
    3,919
    Total Downloaded
    0
    On your link is some supplied C# sample code for interrogating the device. You are going to have to use it or modify it to change the sampling rate.

    If you look at that code you will find in method "start_button_Click" the relevant piece of code to modify. (I think)

    // Parse the wait time between data collection, and put the while loop to short sleeps while waiting.
    int waitTime = 0;
    int.TryParse(waitTime_textBox.Text, out waitTime);
    int count = 0;
    do
    {
    Thread.Sleep(50);
    Application.DoEvents();
    count++;
    }
    while (count < waitTime * 20);

    The 'Sleep' parameter and the value of 'waitTime' have some influence on how fast the software samples data from the device. I think

    The value of 'waitTime' is being set in a 'Textbox', ie it is a value you type in when you run this code so you may be lucky and not need to modify anything at all - again I think.
    2024 RRS on the road
    2011 D4 3.0 in the drive way
    1999 D2 V8, in heaven
    1984 RRC, in hell

Page 1 of 2 12 LastLast

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search AULRO.com ONLY!
Search All the Web!