From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, 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: 

Can you recognizing when a boolean control is configured as latching?

Looking for a way to programatically test if a boolean control is configured as "latching". Is there a way to do this via reference or something else? I can't find a way to tell what mechanical action is selected on a button.

 

Thanks,

scott 

 

 

 

0 Kudos
Message 1 of 2
(1,861 Views)

Do you have scripting enabled?

 

If so, you can create a property node for the boolean control that is called Mechanical Action.  It returns an integer value from 0-5 which relates to the mechanical action of the boolean as defined in the dialog box for the properties of that boolean.

Message 2 of 2
(1,858 Views)