I am honored to be able to help a whole country with this answer
🙂Attached to this message there is a VI I wrote to try to help you with this situation. When you run the VI, a 5-elements array is initialized. The elements of the array consist on a cluster with a boolean indicator and a string indicator.
In the front panel you will find a bool switch, a numeric control, a button to enter values, an array indicator and a STOP button. With the numeric control you can select which element in the array will be affected. Use the bool switch to change the status to true or false. Then, when you press the "Enter Value" button, the element in the array will be modified according to the bool state. If the switch is TRUE, the selected bool element in the array will turn o
n and the string indicator will say "This is HI". If FALSE, the bool indicator will turn off and the string indicators will be empty.
Note that the mechanical action of the "Enter Value" button is in "Switch When Pressed" mode. Play with the numeric indicator and the bool switch while the "Enter Value" button is pressed.
Modify the VI to better suit your needs. It was developed with LabVIEW 5.1
Good luck!
Enrique Vargas
www.vartortech.com