Log in

View Full Version : Labview Toggle switch code


eyeswideopened
04-02-2013, 14:19
how would one go about making a program that toggles a device. My teamwants to use button 8 to toggle an actuator of sorts. How do I write code that will keep the device on until the button is clicked a 2nd time? thank you for the advice

BitTwiddler
04-02-2013, 14:29
I suggest you visit team 358's website for LabVIEW programming (assuming you are using LabVIEW). If you scroll down the page you'll find just what you are looking for.
Hint: the feedback node (the arrow looking thing) can be found in the functions palette under programming -> structures.

Alan Anderson
04-02-2013, 14:46
If you search the Chief Delphi forum for the words "toggle button", you'll find lots of helpful hints. Here (http://www.chiefdelphi.com/forums/showpost.php?p=1226502&postcount=5) is one that I think looks good.