LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I want to use a start and stop button function

For my design, I want the user to be able to use start and stop buttons to start and stop a system. Right now, when the user hit the start button, it starts the system by sending a 1 to the dll. I have this in a case structure. The problem is I think by having it in a case structure it continously sends a 1 to the dll. I just want it to send a 1 to the dll once and that is after I press start. Does anybody have any suggestions on how to do this without putting it in a case structure.
Thanks
0 Kudos
Message 1 of 2
(2,273 Views)
Hello Mont,

I noticed that you have the mechanical action of your boolean button set to switch action. You should change it to "Latch" action so that as soon as the boolean value is read, it latches back to its default value. You can learn more about this property of boolean controls by reading the LabVIEW Help Topic entitled "Changing the Mechanical Action of a Boolean Object".

Good luck, and have a nice day.

Darren
0 Kudos
Message 2 of 2
(2,273 Views)