Returns a list of active faults.


icon

Inputs/Outputs

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • i1dcclst.png fault list

    fault list contains the list of active faults.

  • ii32.png code

    code is the fault code.

  • ii32.png level

    level is the severity level of the fault.

  • iatrn.png first reported time

    first reported time returns the time the fault first occurred since it was last cleared.

  • iu32.png number reported

    number reported is the number of times the fault has occurred since it was last cleared.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.

  • This VI allocates memory and can affect the determinism of the application. This VI must run on a target with the NI Scan Engine installed.

    To obtain the fault list of a remote target from a host computer, you can use the DataSocket Read VI to subscribe to the following URL:

    psp:\\<target IP address>\NI_SystemState\ControllerStatus\FaultList

    The data type returned by the URL above is identical to that of the fault list output terminal of this VI.

    You also can determine whether a fault is present on a remote target from a host computer by using the DataSocket Read VI to subscribe to the following URL:

    psp:\\<target IP address>\NI_SystemState\ControllerStatus\FaultPresent

    The data type returned by the URL above is Boolean.

    Examples

    Refer to the following example files included with LabVIEW.

    • labview\examples\Scan Engine\Scan Engine.lvproj