PIPLX_ReadSub

unsigned long PIPLX_ReadSub (long session, unsigned long cardNumber, unsigned long inputSubunit, unsigned long *data);

Purpose

Obtains the current state of all inputs of a sub-unit.
Usable only for sub-units lower or equal to 32 bits.

Parameters

Input
Name Type Description
session long

Handle of current session.

cardNumber unsigned long

Card number.

inputSubunit unsigned long

Subunit number.

Output
Name Type Description
data unsigned long (passed by reference)

variable to receive result.

Return Value

Name Type Description
return unsigned long

Zero for success, or no-zero error code.

References

Input
Client Bridge for LXI - Base module
Alphabetical Function Index
Hierarchical Function Index