RFID Reader Interface Reference
3.2 RfReaderApi.Current
Mobile Readers
42
Function Manual, 12/2010, J31069-D0198-U001-A2-7618
3.2
RfReaderApi.Current
RfReaderApi.Current : IRfReaderApi {get}
Parameters:
None (.Net Property)
Return value(s):
This function returns the current instance of an RFID Reader interface or null.
Note:
If no instance has been created before, a call for this function will create a new RFID Reader
Interface instance.
If there is already an instance of the RFID Reader Interface running, it will be returned.
Should it not be possible to create an instance of the RFID Reader Interface, null will be
returned.
3.3
RfReaderApiException
Whenever RFID reader API related exceptions occur either internally or by calling the
underlying reader service or the physical RFID reader device, these exceptions are wrapped
within an instance of the RfReaderApiException class.
However, this does not prevent general exceptions such as ‘out of memory’ or ‘out of range’
to occur either. So, be prepared to catch those kind of exceptions as well.
This class provides additional information about the source or cause of an exception via the
following members:
●
ResultCode : int
The ResultCode specifies the source location of an exception.
ResultCode_System specifies error conditions which occurred internally.
ResultCode_Reader specifies error conditions arising from within an underlying reader
service.
●
Error : string
Error is a short description of the error that occurred.
●
Cause : string
Cause gives additional information if the cause of an error is known.
●
Description : string
Additional extra description of the error. May be left blank if not applicable.
Summary of Contents for SIMATIC RF610M
Page 2: ......
Page 8: ...Introduction Mobile Readers 8 Function Manual 12 2010 J31069 D0198 U001 A2 7618 ...
Page 79: ......