LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

channel(0) input on AI Config.vi

Say I wanted to set up an analog acquistion with channels 5-10 for example. I know I can create a constant/control to do this, but how would I convert the string constant "5:10" (by itself), to a usable format for the channel(0) input?
0 Kudos
Message 1 of 3
(2,643 Views)
Use type cast function to convert the string to a DAQ channel input function. Type cast is in data manipulation sub pallete of functions pallete.
Message 2 of 3
(2,643 Views)
You can wire the string control/constant directly to the channel input. Strings convert to i/o names when wired.
0 Kudos
Message 3 of 3
(2,642 Views)