Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Forcing VIs

LabVIEW 2009 Help

Edition Date: June 2009

Part Number: 371361F-01

»View Product Info

Owning Palette: NI Scan Engine VIs

Requires: Base Package (Windows, VxWorks, ETS). 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.

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit