Configuring the Mechanical Actions of Boolean Controls

You can use the configurable mechanical action of a Boolean control to create front panels that resemble the behavior of physical instruments such as oscilloscopes and multimeters. Right-click a Boolean control and select the behavior from the options in the Mechanical Action menu.

The mechanical actions of Boolean controls of an FPGA VI differ when the FPGA VI runs on hardware versus in simulation mode. In simulation mode, the mechanical actions of Boolean controls of the FPGA VI behave the same as in LabVIEW. On FPGA targets, use Switch When Pressed, Switch When Released, or Switch Until Released as a control that changes the current value once a new value is written from the host VI to the FPGA target, and retains the new value until another value is written from the host VI again. Use Latch When Pressed, Latch When Released, or Latch Until Released as a control that only changes the current value when a new value is written from the host VI to the FPGA target, and reverts to the previous value once the new value has been read by the FPGA target.