User's Manual

-35
FOUR、EVENTS Introduction
1. Environment.haEvent[ENVIRONMENT_EVENT_ACTIVE_READ_TAG]
The event happened when the device read a tag in active mode.
2. Environment.haEvent[ENVIRONMENT_EVENT_COMPORT_ERROR]
The event happened when comport or hardware error that DLL can’t communicate with device.
3. Environment.haEvent[ENVIRONMENT_EVENT_PORT_CLOSE]
The event happened when comport closed. The event’s purpose is let your thread or timer to escape form the waiting function
“WaitForSingleObject” or “WaitForMultipleObjects”.
You may need to use Windows API function “WaitForSingleObject” or “WaitForMultipleObjects” to wait events. For more information,
Please see Microsoft MSDN Library.
If you use function “WaitForSingleObject” or “WaitForMultipleObjects” to wait events in timer. We recommend that the 2nd
parameter of function “WaitForSingleObject” or the 4th parameter of function “WaitForMultipleObjects” must be a limited value. For
example:50.
Hardware Environment:
Product Name:RFID CF Type Reader V3.0
Model Name:SLC-10200
Firmware Version:V1.0 or later
Hardware Version:V1.0 or later
Software Environment:
Development Environment:Microsoft Visual C++ 2005 Professional〈Chinese Traditional〉