View Bit

Description

Obtains the state of an individual output.

Prototype

DWORD PIPLX_ViewBit(SESSION session, DWORD CardNum, DWORD OutSub, DWORD BitNum, BOOL *State);

Parameters:

Session - The session variable obtained from the PICMLX_Connect call

CardNum - card number

OutSub - output sub-unit number

BitNum - output bit number

State - pointer to variable to receive the result (0 = OFF or logic '0', 1 = ON or logic '1')

Returns:

Zero for success, or non-zero error code.