LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Enable DAQmx channels in sequance

Hi Dzordan,

 


@Dzordan wrote:

Possibly my approach is totally wrong...

Any examples or hints would be helpful.


Yes, it's wrong…

 

You define a DAQmx task with two (2) DO channels, but your "Diode channels" array control is set to three (3) elements!?

Edit: your DAQmx task is set for 3 channels, I had to resize the channel constant to see all channels…

 

What's the point of that one-iteration-FOR-loop?

 

See this:

What do you think is the better way to ensure just two elements in the array?

(Edit: change that "2" constant to a value of "3".)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 11 of 11
(223 Views)