Rfreaderapi.current; Rfreaderapiexception - Siemens SIMATIC RF310M Function Manual

Rfid systems mobile reader
Hide thumbs Also See for SIMATIC RF310M:
Table of Contents

Advertisement

RFID Reader Interface Reference

3.2 RfReaderApi.Current

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
● Error : string
● Cause : string
● Description : string
42
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 is a short description of the error that occurred.
Cause gives additional information if the cause of an error is known.
Additional extra description of the error. May be left blank if not applicable.
Function Manual, 02/2009, J31069-D0198-U001-A1-0076
Mobile Reader

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic rf610m

Table of Contents