PIPLX_OpBit

unsigned long PIPLX_OpBit (long session, unsigned long cardNumber, unsigned long outputSubunit, unsigned long bitNumber, int action);

Purpose

Operate a single output channel or bit.
Note that in the case of a single-channel multiplexer (MUX type) any existing channel closure will be cleared
automatically prior to selecting the new channel.
Note that PIPLX_OpCrosspoint allows more straightforward use of row/column co-ordinates with matrix sub-units.

Parameters

Input
Name Type Description
session long

Handle of current session.

cardNumber unsigned long

Card number.

outputSubunit unsigned long

Subunit number.

bitNumber unsigned long

Bit number.

action int

1 to close, 0 to open.

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