PIPLX_WriteSub

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

Purpose

Sets all outputs of a sub-unit to the supplied bit-pattern. The number of least significant bits corresponding
to the size of the sub-unit are written.

Parameters

Input
Name Type Description
session long

Handle of current session.

cardNumber unsigned long

Card number.

outputSubunit unsigned long

Subunit number.

data unsigned long []

One-dimensional array (vector) containing the bit-pattern to be written.

dataLength unsigned long

Size of one-dimensional array containing data.

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