User's Manual

CAEN RFID API Reference Manual
110
EventInventoryTag Method
Description:
A call to this method will start a sequence of read cycle on each read point linked to the logical source. The readings
will be notified to the controller via event generation.
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 where the match will start.
Flag
A bitmask representing the InventoryTag options.
pCallBack
The user defined handler called by EventInventoryTag (only in C language).
Return value:
A boolean value that represents the status of the command: true if the reader has accepted the command; false
otherwise.
Syntax:
C# representation:
public bool EventInventoryTag(
byte[] Mask,
short MaskLength,
short Position,
short Flag)
JAVA representation:
public boolean EventInventoryTag(
byte[] Mask,
short MaskLength,
short Position,
short Flag)
throws CAENRFIDException
C representation:
typedef struct {
char *SourceName;
char *Mask;
unsigned char MaskLength;
unsigned char Position;
CAENRFID_INVENTORY_CALLBACK pCallBack;
short flag;}
CAENRFID_EventInventoryParams;
CAENRFIDErrorCodes CAENRFID_EventInventoryTag (
CAENRFIDHandle handle,
CAENRFID_EventInventoryParams InvParams);