LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

One time Message in While Loop

I'm trying to have a message appear only once when a boolean switch is turned on. The switch is in a While loop that controls instruments. Is my approach (see attachment) the best one or is there a simpler way?
The code is in Labview 7.1

Thanks,

Steve
0 Kudos
Message 1 of 5
(2,875 Views)
Change the mechanical action of the switch to Latch when Pressed. Then you can simplify as shown in the attached vi.
- tbob

Inventor of the WORM Global
0 Kudos
Message 2 of 5
(2,874 Views)
The "Read a Message" button also turns on the instrument in the frame. Is there a way to keep the switch on and have a one time message tell the operator to "set the voltage" but not have so much code. I've modified the VI to better explain what I want it to do.
0 Kudos
Message 3 of 5
(2,859 Views)
Something like this? Its just a round about idea using shift registers...
Didnt include the loop for the instrument control for clarity.
0 Kudos
Message 4 of 5
(2,853 Views)
Mrr... editing a message would be a nice feature
0 Kudos
Message 5 of 5
(2,850 Views)