Operate Bit
Description
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.
Prototype
DWORD PIPLX_OpBit(SESSION session, DWORD CardNum, DWORD OutSub, DWORD BitNum, BOOL Action);
Parameters:
Session - The session variable obtained from the PICMLX_Connect call
CardNum - card number
OutSub - output sub-unit number
BitNum - output bit number
Action - 1 to energise, 0 to de-energise
Returns:
Zero for success, or non-zero error code.