PIPLX_ViewSub

unsigned long PIPLX_ViewSub (long session, unsigned long cardNumber, unsigned long outputSubunit, unsigned long data[], unsigned long dataLength);

Purpose

Obtains the state of all outputs of a sub-unit. The result fills the number of least significant bits
corresponding to the size of the sub-unit.

Parameters

Input
Name Type Description
session long

Handle of current session.

cardNumber unsigned long

Card number.

outputSubunit unsigned long

Subunit number.

dataLength unsigned long

Size of one-dimensional array containing data.

Output
Name Type Description
data unsigned long []

One-dimensional array (vector) to receive the result.

Return Value

Name Type Description
return unsigned long

Zero for success, or no-zero error code.

References

General purpose output
Client Bridge for LXI - Base module
Alphabetical Function Index
Hierarchical Function Index