From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

The switch is ON in the normal state and when it is pressed it turns off.

Solved!
Go to solution

When the switch is in normal state it is on and when it is pressed it turns off. I need the opposite functionality i.e. when pressed it turns on and when released it turns off. How to implement this?

0 Kudos
Message 1 of 3
(1,836 Views)
Solution
Accepted by Neha987

Hi Neha,

 


@Neha987 wrote:

When the switch is in normal state it is on and when it is pressed it turns off. I need the opposite functionality i.e. when pressed it turns on and when released it turns off. How to implement this?


Options:

  • put a Negate function after that switch…
  • swap the boolean button images (by customizing the control!)

(You should have learned about "control customization" from your other lengthy thread!)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(1,808 Views)

Thank you 🙂

0 Kudos
Message 3 of 3
(1,774 Views)