LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

reading multi channels in DAQmx

I have LV2012 basic package and I am attempting to read multichannels from a PXIe-6361.

the code used is

DAQmx read vi . compiles fine(no broken arrow) but errors when run with an error message of: "multiple channels in data, USE the daqmx multiple channels read vi." where is this the multiple channel read vi ? or is that in a different package ?

0 Kudos
Message 1 of 3
(1,927 Views)

Hi Tony,

 

DAQmxRead is a polymorphic VI which has several "versions" hidden under it's surface. You have to select the correct reading mode by selecting the polymorphic instance: something like "N channels, N samples" should be ok...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(1,921 Views)

The VI DAQmx.vi is a polymorphic vi that have a selection Analog 1D wfm Nchan Nsamp or Analog 1D DBl Nchan 1samp.

I had a Beginners mistake. Thanks GerdW....

0 Kudos
Message 3 of 3
(1,914 Views)