Faults VIs

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 Faults VIs to view, set, and clear NI Scan Engine faults programmatically.

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

Example

Palette ObjectDescription
Clear All FaultsClears all active faults on the target.
Clear FaultClears NI Scan Engine faults. If the fault you specify using the fault code input is active, this VI clears the fault. If the fault is not active, this VI takes no action and generates no error.
Get Fault ListReturns a list of active faults.
Set FaultCreates 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.

Example

Refer to the Scan Engine.lvproj in the labview\examples\Scan Engine directory for an example of using the Faults VIs.

 Open example  Find related examples