LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically Control Latching Boolean

Hi,

 

I am relatively new to labview without foundation, so please understand my shallow knowledge. 

I am working with an example VI that was provided with the hardware, which is a dual syringe pump. 

The example VI has a big case structure with different boolean controls and each structure dictates what action to take when the boolean is selected on the front panel. All the boolean controls are latch mechanical action. 

 

So, what I want to achieve is to programmatically control one of the boolean controls that when one control is selected on the front panel, it will execute the program written in that corresponding case structure and also turn on another control to carry that function as well. Basically, the first control would be used to initialize the values in the second control. 

 

 

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

Hi JaneD,

 

you should always attach your VIs for reference…

 

Two options to answer your text:

- Instead of manipulating that button you might just use some boolean function (like Button1 OR Button2) to drive the second case structure!

- Set the button to switching mode and use locals

Best regards,
GerdW


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