User's Manual

GetIO Method
Description:
This method gets the current digital Input and Output lines status.
Return value:
A bitmask representing the I/O lines status. The format and the meaning of the bits depend on the Reader's model.
Please refer to the corresponding user manual available at www.caenrfid.com.
Syntax:
C# representation:
public int GetIO()
Java and Android representation:
public int GetIO()
throws CAENRFIDException
C representation:
CAENRFIDErrorCodes CAENRFID_GetIO(
CAENRFIDHandle handle,
unsigned int *IORegister);
GetIODirection Method
Description:
This method gets the current I/O direction setting as a bitmask. Each bit represents a I/O line, a value of 0 means that
the line is configured as an input, 1 as an output. This setting has a meaning only for those readers with configurable
I/O lines.
Return value:
A bitmask representing the I/O setting.
Syntax:
C# representation:
public int GetIODirection()
Java and Android representation:
public int GetIODirection()
throws CAENRFIDException
C representation:
CAENRFIDErrorCodes CAENRFID_GetIODirection(
CAENRFIDHandle handle,
unsigned int *IODirection);
CAEN RFID API – Reference Manual 79