LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx Read 1D WFM vs 2D DBL

Solved!
Go to solution

Other than convenience of the format of the acquired data, are there any advantages (i.e. memory, speed, etc)  to using

 

DAQmx Read Analog 1D Wfm NChan NSamp

 -Or-

DAQmx Read Analog 2D DBL NChan NSamp

 

I'm doing a buffered continuous acquisition of multiple channels using a producer/consumer architecture. I'm not concerned about the absolute time information available in the waveform format; it's convenient but I can get what I need elsewhere.  In post processing the data format is a toss-up.  If I collect 1D Wfm data I end up stripping out the Y-data for some analysis, but end up building waveforms for other analysis if I collect a 2D DBL data.

 

-ctf

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

I did some quick benchmarking and it looks like the 1D WFM is slower and takes more memory than the 2D DBL.  The overall impact of these differences would depend on the size of your data blocks. 

 

 

>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
Message 2 of 3
(2,844 Views)

Thanks.  That's what I expected.  The code generated from the DAQ assistant 1D WFM, but I'll stick with the 2D DBL format.  I douubt it'll make a noticeable difference with my data sets, but I'm more comfortable manipulating arrays.

 

-ctf

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