User's Manual

CAEN RFID API Reference Manual
51
InventoryTag Method (Byte[], Int16, Int16)
Description:
A call to this method will execute a read cycle on each read point linked to the logical source.
Parameters:
Name
Description
Mask
A byte array representing the bitmask to apply.
MaskLength
A value representing the bit-oriented length of the bitmask.
Position
A value representing the first bit of ID where the match will start.
Return value:
An array containing the CAENRFIDTag objects representing the tags read from the read points.
Syntax:
C# representation:
public CAENRFIDTag[] InventoryTag(
byte[] Mask,
short MaskLength,
short Position)
JAVA representation:
public CAENRFIDTag[] InventoryTag(
byte[] Mask,
short MaskLength,
short Position)
throws CAENRFIDException
C representation:
CAENRFIDErrorCodes CAENRFID_FilteredInventoryTag(
CAENRFIDHandle handle,
char *SourceName,
char *Mask,
unsigned char MaskLength,
unsigned char Position,
CAENRFIDTag **Receive,
int *Size);
Remarks:
Depending on the air protocol setting it will execute the appropriate anticollision algorithm. This version of the method
permits to specify a bitmask for filtering tag's populations as described by the EPC Class1 Gen2 (ISO18000-6C) air
protocol. The filtering will be performend on the memory bank specified by bank parameter, starting at the bit
indicated by the Position index and for a MaskLength length. The method will return only the tags that matches the
given Mask. Passing a zero value for MaskLength it performs as the non-filtering InventoryTag method.