Set Fault VI
Owning Palette: Faults VIs
Installed With: RT Module
Creates a fault. When the major fault input is TRUE, this VI triggers fault mode. Use the code element of the error in (user fault) input cluster to specify the fault code.
![]() | ![]() |
Set Fault Details
This VI does not allocate memory, so you can use this VI in a time-critical section of an application without significantly affecting determinism.
This VI must run on a target with the NI Scan Engine installed.
Example
Refer to the Scan Engine.lvproj in the labview\examples\scanengine directory for an example of using the Set Fault VI.