private void StartReceivingTags() { CAENRFIDReader reader = Reader.GetReader(); CAENRFIDLogicalSource source = null; source = reader.GetSource("Source_0"); source.ReadCycle = 0; source.Selected_EPC_C1G2 = CAENRFIDLogicalSourceConstants.EPCC1G2AllSELECTED; source .EventInventoryTag( new byte[0], (short)0x0, (short)0x0, (short)0x7); }
/* ######################### # ANT0 ######## ANT2 #### #### ANT1 ######## ANT3 # ######################### */ /***************** ** CORE METHODS ** *****************/ // Set up myReader, mySource and mySource2. void Initialise() { myReader.Connect(CAENRFIDPort.CAENRFID_TCP, readerIP); mySource = myReader.GetSource("Source_0"); if (ant0) { mySource.AddReadPoint("Ant0"); } if (ant1) { mySource.AddReadPoint("Ant1"); } if (ant2) { mySource.AddReadPoint("Ant2"); } if (ant3) { mySource.AddReadPoint("Ant3"); } }
/***************** ** CORE METHODS ** *****************/ // Set up myReader, mySource and mySource2. void Initialise() { myReader.Connect(CAENRFIDPort.CAENRFID_RS232, readerPort); mySource = myReader.GetSource("Source_0"); mySource2 = myReader.GetSource("Source_1"); }