CipherLab 9400 Series User Manual page 45

Hide thumbs Also See for 9400 Series:
Table of Contents

Advertisement

Example for C#
int b1 = 0;
string szRead = string.Empty;
string loginKey = string.Empty;
b1 = Reader.ReaderEngineAPI.ReadRfidData(
Reader.ReaderEngineAPI.READ_DATA, ref szRead, -1, 10, 10, loginKey);
Example for VB
Dim szRead As String = ""
Dim loginKey As String = ""
Reader.ReaderEngineAPI.ReadRfidData(
Reader.ReaderEngineAPI.READ_DATA, szRead, -1, 10, 10, loginKey)
Return Value
If successful, it returns 1.
Otherwise, it returns 0.
Remarks
This function is provided for users who want to scan and retrieve data without
intercepting WM_DECODEDATA. For example, if users want to scan data by
clicking a GUI button, all they need to do is to invoke this function in the
clicking event handler function. The specified RFID data is collected after
decoding.
See Also
RfidSettings, WriteRfidData
c
Call GetErrorCode() to find the error condition encountered:
-101
E_READER_NOT_INIT
-272
E_TAG_READ_FAILED
-273
E_TAG_VALUE_OVER_RANGE
-274
E_TAG_INVALID_LENGTH
-278
E_TAG_NO_TAG
-280
E_TAG_CANNOT_READ
-281
E_TAG_READ_TIMEOUT
Chapter 2
Reader API
37

Advertisement

Table of Contents
loading

Table of Contents