User's Manual

Init Function
Description:
In C language, this function generates an opaque handle to identify a module attached to the PC. See § Managing
connections with the readers pag. 8 for more information.
Parameters:
Name Description
ConType The communication link to use for the connection.
Address
Communication address (i.e.: "COM1" for RS232, "USB0" for USB of IP address for TCP/IP
etc.).
handle The handle that identifies the device.
Syntax:
C representation:
CAENRFIDErrorCodes CAENRFID_Init(
CAENRFIDPort ConType,
char *Address,
CAENRFIDHandle *handle,
CAENRFIDProtocol *Protocol);
Disconnect Method
Description:
In C# and Java languages, this method closes the connection with the CAEN RFID Reader releasing all the allocated
resources. See § Managing connections with the readers pag. 8 for more information.
Syntax:
C# representation:
public void Disconnect()
Java and Android representation:
public void Disconnect()
throws CAENRFIDException
End
Description:
In C language, this function closes the connection with the CAEN RFID Reader releasing all the allocated resources. See
§ Managing connections with the readers pag. 8 for more information.
Parameters:
Name Description
handle The handle that identifies the device.
Syntax:
C representation:
CAENRFIDErrorCodes CAENRFID_End(
CAENRFIDHandle handle);
CAEN RFID API – Reference Manual 77