LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Real-time reading and writing an array

Hi all,

 

I am currently using Labview 2012. 

I have facing a problem. I need to create a set of 6 buttons and 6 lamps. My 6 lamps will be use to show the availabilty of 6 slots. If the light is off, this would mean the lot is available. So when the user presses on the button for that particular lot, the lamp will be turned on. However, in any case whereby the lot has been taken (ie the lamp representing the lot has been turned on) and the user clicking on the button, there will be a pop-up message alert the user that it is an invalid choice.

 

So in this case, I was thinking of how to create an array to store these true/false values, which can be read instantly (for keeping the lamps on or identifying the error) and be able to write instantly (should the choice of the user be deemed valid). 

 

0 Kudos
Message 1 of 2
(2,143 Views)

Hi skull,

 


how to create an array to store these true/false values, which can be read instantly (for keeping the lamps on or identifying the error) and be able to write instantly (should the choice of the user be deemed valid).


 

A "word-by-word" solution would be:

Beispiel_VI_BD.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(2,119 Views)