LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

1D waveform for daqmx base

Solved!
Go to solution

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

0 Kudos
Message 1 of 3
(2,830 Views)
Solution
Accepted by topic author Jeff2

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 

Message Edited by John P on 10-31-2008 11:30 AM
John Passiak
Message 2 of 3
(2,802 Views)

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

0 Kudos
Message 3 of 3
(2,795 Views)