Forcing VIs

NI Scan Engine VIs

Forcing VIs

Owning Palette: NI Scan Engine VIs

Installed With: RT Module. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

Use the Forcing VIs to force and unforce I/O variables programmatically.

The VIs on this palette can return general LabVIEW error codes.

Palette ObjectDescription
Clear Variable ForcingUnforces all currently forced I/O variables and I/O aliases on the target.
Disable Variable ForcingDisables forcing for I/O variables and I/O aliases on the target. Unless you clear forcing, the previous forced values return when you re-enable forcing.
Enable Variable ForcingEnables forcing for I/O variables and I/O aliases on the target.
Force VariableForces an I/O variable or I/O alias to assume forced value until you disable forcing, reboot the target, or force the variable to assume a new forced value.
Unforce VariableDiscontinues forcing on an I/O variable or I/O alias and returns control of the I/O value to the NI Scan Engine.