LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Constantly updating indicators

I have 8 input booleans in 4 sequences, 0-3. I want to monitor these inputs with 8 LED booleans outside of the sequence and have them constantly updating. Right now I have to have 8 LED booleans for each of the sequences. Is it possible to do this?
0 Kudos
Message 1 of 6
(3,278 Views)
If I understood your question, you want to use one LED cluster to display what's happening inside all frames of your sequence structure. Replace your sequence structure with a while loop and a nested case structure (i.e. a state machine). Execute Case 0, then Case 1, then Case 2, then Case 3, then Case 0, etc. Pass the cluster value outside the case structure to one LED cluster. Each time the while loop executes, you'll see the LED cluster update with data coming from the case structure.
0 Kudos
Message 2 of 6
(3,278 Views)
It's not a problem as you can create local variables for one of your led clusters... Look in the attached file how it can be done for your vi.
0 Kudos
Message 3 of 6
(3,278 Views)
You can use a local variable to a single indicator but they have to inside each sequence.
0 Kudos
Message 4 of 6
(3,278 Views)
Local variables are the way to go if you don't mind storing several unecessary copies of data in memory or if you don't mind breaking LabVIEW's natural dataflow paradigm.
0 Kudos
Message 5 of 6
(3,278 Views)
Yes, of cause, but in the proposed vi it's not really a big vaste and doesn't require diaram rebuilding. I also prefer not to use variables, but it's good when you think of this from the very beginning.
0 Kudos
Message 6 of 6
(3,278 Views)