LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Make boolean button values into ASCII character

Need to have buttons on VI to represent up/down left/right. These buttons are to initiate the sending of ASCII characters to the serial port(COM1). Thanks in advance:)
0 Kudos
Message 1 of 2
(2,661 Views)
Sounds like a spot for a case structure. Use the Build Array VI to put the booleans together and then use the Boolean Array to Number VI. Connect this to your case structure and you can output whatever you want from the case based on the number input. You can even catch multiple buttons if you setup the numbers right.

Rob
0 Kudos
Message 2 of 2
(2,661 Views)