Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Can a 1D array of boolean be entered into a case structure? If so, how because the input is a 1D array of boolean from a waveform ?

Hi Novice12,

Are you asking if you can wire an array into the case selector terminal?  The selector terminal can only handle individual elements.  If you embed the case structure in a for loop, and run the array into the loop, it will automatically execute once for every element in the array.  This way you can wire the array to the selector terminal in a way that each element is considered individually.

Let me know if this helps, or if you still have questions.

Regards,

Lauren

Applications Engineering
National Instruments
0 Kudos
Message 2 of 2
(3,049 Views)