Changing the Mechanical Action of a Boolean Object

Boolean controls have six types of mechanical action that allow you to customize Boolean objects to create front panels that more closely resemble the behavior of physical instruments.

Complete the following steps to change the mechanical action of a Boolean control.

  1. When you place a Boolean control on the front panel, set the value of the control and click the Run button.
  2. Right-click the Boolean control you want to change and select Mechanical Action from the shortcut menu.
  3. Select the appropriate action for your application from the Mechanical Action palette. In the icons, M stands for the motion of the mouse button when you operate the control, V stands for the output value of the control, and RD stands for the point in time the VI reads the control.
Note  You cannot use any Latch action in the same VI with a local variable because the first local variable to read a Boolean control with Latch action would reset its value to the default.