Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

PCIe device raw data ordering

Solved!
Go to solution

Hi all,

I'm using a PCIe 6374 DAQ for analog voltage acquisition.

 

I'm interested in the raw data, not the actual voltage values for my application. Speed is critical: incoming data is reshaped into an image (sometimes witha a pseudo color mask) and its much quicker to display as a U32 RGB or U16/I16 grayscale image than to rescale the floating point voltage values first.

 

The application i'm developing might be used with different hardware so i'd like to make it as robust as I can in this regard. The NI-DAQ manual (link here) states the following regarding raw data ordering:

 

  "NI-DAQmx does not separate raw data into channels. It returns data in an interleaved or non-interleaved 1D array, depending on the raw ordering of the device. Refer to your device documentation for more information."

 

I've been looking for this information everywhere and I can't seem to find it in the PCIe board's documentation, or another USB device we have in the lab.

 

Does anyone know of a daqmx node or other means of ascertaining whether a device uses interleaving or not for raw data ordering?

0 Kudos
Message 1 of 3
(131 Views)
Solution
Accepted by topic author Oldbhoy

Assuming that you use LabVIEW, the raw data ordering is provided in the Help

santo_13_0-1633489185749.png

 

santo_13_1-1633489209562.png

 

 

 

-Santhosh
Semiconductor Validation & Production Test
Soliton Technologies
NI CLD, CTD
LabVIEW + TestStand + TestStand Semiconductor Module (2013 - 2020)
NI STS for Mixed signal and RF
0 Kudos
Message 2 of 3
(112 Views)

Thanks for the quick reply.

I was using different settings for the DAQmx read vi (left on image below). The one on the right is what you're refering to I guess (found under Analog/Unscaled). Can I ask, are these the same data but one is simply a reordered version of the other?

 

I may have been making this more complicated than it needs to be. Would certainly simplify reshaping the data if the latter can be used instead

viSnippet raw data.png

 

-Allen

0 Kudos
Message 3 of 3
(100 Views)