From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
Please take a look at the attached VI. Its purpose is to transfer datas stored in 9 deported automatons (each one symbolized by a letter : A,E,F...). For this I must send an interrupt on the serial port of the PC (a char string like "AAA", "EEE"... in fact 3 times the letter of the automatom to transfer). How can I handle easily the selection of the different automatoms chosen by the user ??? Please help !!
If you wish to keep the large boolean controls on the front panel, you could place them all in a cluster and wire it to a "cluster to array" function. Wire the boolean array output to a "boolean array to number" function and then wire this function's integer ouput to a case structure. You'll then need to set the case values to powers of 2 to make your selections (0 (default) = no selection). However, you will be able to send only one command at a time with this setup.
* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network * The fastest and easiest way to search and participate in Usenet - Free!