RFID app development forMotorola MC9100

V Vedsatx Saddvv 2 years 11 months ago
1 0 0

Hi,
 
I am developing a .NET based app for RFID reading in Motorola MC9100. Aiso using Symbol.RFID3 library for dev. While Connecting to the reader, it throws an OperationFailureException. Following is a code snippet:
try
            {
                rfid_reader = new RFIDReader("127.0.0.1", 5084, 10000);
 
                if (!rfid_reader.IsConnected)
                    rfid_reader.Connect();
 
 
                rfid_reader.Events.AttachTagDataWithReadEvent = true;
                UpdateReadHandler = new UpdateRead(myUpdateRead);
                rfid_reader.Events.ReadNotify += new Events.ReadNotifyHandler(Events_ReadNotify);
                rfid_reader.Events.StatusNotify += new Events.StatusNotifyHandler(Events_StatusNotify);
                rfid_reader.Events.NotifyBufferFullWarningEvent = true;
                rfid_reader.Events.NotifyBufferFullEvent = true;
                rfid_reader.Events.NotifyReaderDisconnectEvent = true;
                rfid_reader.Events.NotifyAccessStartEvent = true;
                rfid_reader.Events.NotifyAccessStopEvent = true;
                rfid_reader.Events.NotifyInventoryStartEvent = true;
                rfid_reader.Events.NotifyInventoryStopEvent = true;
                rfid_reader.Events.NotifyReaderExceptionEvent = true;
            }
            catch (Symbol.RFID3.OperationFailureException ofe)
            {
                MessageBox.Show(ofe.Message.ToString());
            }
            catch (Symbol.RFID3.InvalidUsageException iue)
            {
                MessageBox.Show(iue.Message.ToString());
            }
 
Need assistance ASAP
 
Thank You

CONTACT
Can’t find what you’re looking for?