LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Display on front panel of what state vi is in

    I would like to find away to light an LED when the vi is in a state indicating on the fron panel what point it is in, any ideas.


0 Kudos
Message 1 of 2
(2,457 Views)
Well, a single LED alone will not show you what state it is in. It has only two states (On/Off), but your state machine has many.
 
You have a few possibilities:
  • Just create an indicator on the enum wire in the loop. It will give ou the state in clear text.
  • Create an indicator for any particular state, repeat if needed. (for example, the LED in the image wil light if state is in "exhaust four".
  • Create a 12 element boolean array each corresponding to one state and turn them on as a function of state (using replace array subset)

The image below show a few possibilities. (And please try to wire left to right for clarity).

Message Edited by altenbach on 07-13-2006 03:45 PM

0 Kudos
Message 2 of 2
(2,453 Views)