10-30-2008 02:17 PM
Hi. I have a NI-9233 USB card I aquire with. I am running Opensuse 10.3, Labview 8.5 and Daqmx Base 3.1. Using DAQmxBase Read, I notice that there isn't an option for 1D Waveform, only 2D DBL, under the Analog multiple samples. On another setup using DAQmx this option is available. I assume this is a difference between the software. The 1D waveform seems to include the timestamp whereas the 2D DBL does not. Is there anyway to read the timestamp from DAQmxBase? I could artificially write the times based on the sample rate but I am afraid these will not be precisely correct. Thanks,
Jeff
Solved! Go to Solution.
10-31-2008 11:29 AM - edited 10-31-2008 11:30 AM
Hi Jeff,
This is correct--DAQmx Base does not currently provide the option to input data as a waveform.
You will have to artificially write the times. The waveform datatype is made up of an array of data, a t0 timestamp value (you would get this from the OS), and a delta-t (based off of your sample rate). You would use the Build Waveform function to convert the data into the waveform type if you need to. I hope that helps you out, let me know if you have any questions. Thanks for posting!
-John
10-31-2008 12:12 PM
Thanks for the reply. This is what I had been doing and it seemed to work OK, I just wanted to make sure I wasn't missing something. Thanks again for the post.
Jeff