Aerospace, Defense, & Government
Academic & Research
Benchtop Measurement and Test
Distributed Measurement and Control
Systems Engineering Software
You can request repair, schedule calibration, or get technical support. A valid service agreement may be required.
Provides support for NI data acquisition and signal conditioning devices.
Provides support for Ethernet, GPIB, serial, USB, and other types of instruments.
Provides support for NI GPIB controllers and NI embedded controllers with GPIB ports.
What you want is a 'latching' rather than 'switching' button.
Right click on your control and go to Mechanical Action, then choose one of the Latching options (bottom row).
This will make the button reset to the previous value after it is read (inside the loop).
A downside of latching buttons is that they cannot be used with Local Variables, but you don't have any (which is usually good) so you're fine to use this.
you really should clean up your VI:
Set the "boolean 2" before the loop starts…
Waw, I did the clean up and set the "boolean 2" before the loop starts. Now it works perfectly and looks good. Thanks GerdW!
What do you need our team of experts to assist you with?
We'll be in touch soon!