Owning Palette: NI Scan Engine VIs
Requires: Base Development System (Real-Time, Windows). 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 Object | Description |
---|---|
Clear Variable Forcing | Unforces all currently forced I/O variables and I/O aliases on the target. |
Disable Variable Forcing | Disables 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 Forcing | Enables forcing for I/O variables and I/O aliases on the target. |
Force Variable | Forces 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 Variable | Discontinues forcing on an I/O variable or I/O alias and returns control of the I/O value to the NI Scan Engine. |
Refer to the Programmatic Forcing.lvproj in the labview\examples\Scan Engine directory for an example of using the Forcing VIs.