Quote:
Originally Posted by RoboMaster
Is there maybe a way to put all the button values into an array, search for a true or 1, and return which index it was? I don't think there's a "search array" VI.
|
I think Luke already suggested an excellent way to do this, but to answer your question--yes you can do as you suggest and use Build Array to make an array of Booleans and then use Search 1D Array to search for a True (or False) value in the Boolean array. Both of these functions are found in the LabVIEW Array palette.