|
Re: Programming Digital Inputs from Driver Station
We have not been fully able to test it, because we have not setup the pull-ups for the Digital Inputs. But I think the way you can program the DS in LabView is:
1. Grab the DS Get Digit Input Vi put it in the program.
2. Grab an Array to Cluster function, and put it to the right of the DS Get Digit Input Vi.
3. Wire the boolean array output of the DS Get Digit Input Vi to the input of the Array to Cluster function.
4. Grab an unbundle by name function, and put it to the right of the Array to Cluster function.
5. Wire the output of the Array to Cluster function to the unbundle by name function.
6. The outputs of the unbundle by name function are now boolean values, not a boolean array. The unbundle by name identifies, by name, the digit inputs.
Let me know if it works.
|