CipherLab 9400 Series User Manual page 42

Hide thumbs Also See for 9400 Series:
Table of Contents

Advertisement

9400 .NET Programming
GetDecodeRfidData
Purpose
To get the decoded data of an RFID tag upon pressing the trigger.
Syntax
int GetDecodeRfidData (ref string buf);
Parameters
buf
[in][out] Pointer to a buffer where the decoded data is stored.
Example for C#
int b1 = 0;
string szData = string.Empty;
b1 = Reader.ReaderEngineAPI.GetDecodeRfidData(ref szData);
Example for VB
Dim szData As String = ""
Reader.ReaderEngineAPI.GetDecodeRfidData(szData)
Return Value
If successful, it returns 1.
Otherwise, it returns 0.
Remarks
Before another successful decoding, this function is called to obtain the current
decoded data. If Prefix Code or Suffix Code is specified, it will be inserted into
the decoded data accordingly.
See Also
GetDecodeRfidUID, GetDecodeTagType, RfidSettings
c
GetDecodeRfidUID
Purpose
To obtain the UID of the decoded RFID tag upon pressing the trigger.
Syntax
int GetDecodeRfidUID (ref string buf);
Parameters
buf
[in][out] Pointer to a buffer where the UID is stored.
Example for C#
int b1 = 0;
string szUID = string.Empty;
b1 = Reader.ReaderEngineAPI.GetDecodeRfidUID(ref szUID);
Example for VB
Dim szUID As String = ""
Reader.ReaderEngineAPI.GetDecodeRfidUID(szUID)
Return Value
If successful, it returns 1.
Otherwise, it returns 0.
Remarks
Before another successful decoding, this function is called to obtain the current
decoded data. If Prefix Code or Suffix Code is specified, it will be inserted into
the decoded data accordingly.
See Also
GetDecodeRfidData, GetDecodeTagType, RfidSettings
34
Guide
Call GetErrorCode() to find the error condition encountered:
-101
E_READER_NOT_INIT
-300
E_BUFF_IS_TOO_SMALL
Call GetErrorCode() to find the error condition encountered:
-101
E_READER_NOT_INIT
-300
E_BUFF_IS_TOO_SMALL

Advertisement

Table of Contents
loading

Table of Contents