LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get bothAnalog 2D DBL and Analog 1D wfm from DAQmx read.vi

Solved!
Go to solution

Hi 

 

I am using Labview2010 and NIUSB6009 for aquairing data. I need to have both Analog1D waveform and 

Analog 2D DBl from DAQmx Read.vi. i am doing continus sampling. 

 

any idea how to get both types from DAQmx Read.vi?

 

thanks

0 Kudos
Message 1 of 5
(2,500 Views)
Solution
Accepted by topic author qazi ahmad

If you are acquiring the data from one channel at a time then you will probably get 1D array of waveform. If you want to acquire the data from several channels at a time then you should get 2D array contains all information from channels.

 

If I am right, You can not get both the data types(1D and 2D) from from DAQmx read function. I haven't heard this. This is all what I can expect.

0 Kudos
Message 2 of 5
(2,487 Views)

Your question does not make much sense. Whu do you think you need both? You can easily acquire multi-channle data as a 1D waveform and convert to a 2D DBL if you want. Just use the Get Waveform Components inside a for loop.

0 Kudos
Message 3 of 5
(2,483 Views)

I got your point shjukheter. thanks

 

 

0 Kudos
Message 4 of 5
(2,474 Views)

Still don't understand what you are doing. Be aware that with the 2D dbl, you lose the timing information.

0 Kudos
Message 5 of 5
(2,470 Views)