Download CAEN RFID API Reference Manual

Transcript
SL900A_GetLogState Method
Description:
This method can be used to issue an IDS SL900A Get Log State custom command as defined in the IDS SL900A
datasheet.
Parameters:
Name
Tag
ShelfLife
Description
The tag selected
This parameter is used to inform the reader if the shelf life flag is set in the tag's
EEPROM
Return Value:
This method returns the status of the logging process. The structure of the byte array is the following:
byte[0]÷byte[1]
: Limite Counter.
byte[2]÷byte[3]
: System status.
byte[4]÷byte[11]
: Shelf Life Block (only if the ShelfLife parameter is true).
byte[12]÷byte[14]
: Current Shelf Life (only if the ShelfLife parameter is true).
byte[15]
: Status Flags (if ShelfLife parameter is false this byte follows immediately the System status
word).
Syntax:
C# representation:
public byte[]
SL900A_GetLogState(
CAENRFIDTag
bool
Tag,
ShelfLife)
Java and Android representation:
public byte[]
SL900A_GetLogState(
CAENRFIDTag
Tag,
boolean
ShelfLife)
throws CAENRFIDException
C representation:
CAENRFIDErrorCodes
62
IDS_SL900A_GetLogState(
CAENRFIDHandle
CAENRFIDTag
BOOL
char
handle,
*Tag,
ShelfLife,
* TRData);
CAEN RFID API – Reference Manual