LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

resetting indicators

Hi
I have a sequence structure within a loop. I wish to illuminate a series of boolean indicators to show progression through the sequence. It would be nice if each went off when the locus of control moved out of the particular frame, but I would make do with starting each iteration of the loop with them all off. There's probably an easy answer but I just can't see it.
Thanks
Graham
0 Kudos
Message 1 of 4
(2,780 Views)

Hi Graham,

you can use a property node to change the value. Or you create a reference of your indicator, necessary if you will set the value in an other vi.

Mike

0 Kudos
Message 2 of 4
(2,775 Views)
I you have the flexibility, you could use a case statement instead of a sequence structure to create a simply state machine.  You could use the index to move you through each state and use a boolean array to indicate the status.  The index of the loop would index which boolean in the array is active.

The attached screenshot should give you an idea.


>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
0 Kudos
Message 3 of 4
(2,759 Views)
Hi
Thank you Both for the guidance; two different slants on the problem. The property node (which I haven't used before) answer fits the bill exactly.
regards
Graham
0 Kudos
Message 4 of 4
(2,726 Views)