Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQStream.ChannelstoRead results order from AnalogMultiChannelReader.ReadMultiSample

I've used the DAQStream.ChannelstoRead property for a while it seems to work the way I expect until today.  I realized that when I included every channel in the task in ChannelsToRead and execute the AnalogMultiChannelReader.ReadMultiSample method, the results I get are not in the order I specified in the ChannelstoRead property, but rather in the order they were added to the task.  This doesn't seem correct to me, but is this the intended behavior?

 

 

0 Kudos
Message 1 of 2
(3,402 Views)

Hi Bryan,

 

Thank you for posting to the NI Forums! The Channels to Read Property Node lets you choose a subset of the channels you defined in your task, therefore it is fair to assume that the channel order will be the same. Furthermore, your scan list is defined by your task, so there really isn't a way to "trump" the order of channels in your task.

 

Hope this helps!

 

 

Regards,
Margaret Barrett
National Instruments
Applications Engineer
Digital Multimeters and LCR Meters
0 Kudos
Message 2 of 2
(3,388 Views)