10-13-2013 10:28 PM
Hi guys,
This should be really basic but I've looked around to find a solution with no succes...
I have a Digital Input device with multiple inputs.
Eg, I'm reading 0-24VDC signals from pushbuttons and limit switches.
I simply would like to be able to assign each input to a boolean variable to use throughout the code.
Example: I've setup the DAQ Assist and get the usual "Data" output. I'm guessing this produces an array of boolean signals.
How do I convert that array into an individual boolean DI signal for each input?
Or better still, is there a VI I should be using that outputs individual signals?
I've also got the same problem for Digital Outputs. I'm guessing I'll be able to apply the same principles to that problem though.
Sorry if this is obvious and thanks for the help,
Joel
Solved! Go to Solution.
10-13-2013 10:56 PM
Index Array will break apart an array into individual elements.
Build Array does the reverse taking individual values and build them into an array.
I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours
10-13-2013 11:03 PM
I knew it would be simple. Thanks alot, I'll definitely go through those courses.