Discussion Groups

Device not finding the COM of the RFID

This question has suggested answer(s)

Hello

My application worked just fine on a WAP3 with a UHF-CA3-AC1-GPRS RFID module but today when I tried with a new WAP3 with a UHF-CA1-A1-G2-XMOD RFID module it seems that i'm unable to scan RFIDs by code.

For what we found out one of the problems comes from FindFirstDevice method that when searching for "COM*" he never seems to find the PtxRfidUHF_UsbSerial device on the registry.

Help would be great.

All Replies
  • Hello roddy,

    The COM port (and the physical interface) used by the XMOD version is different from the GPRS version. The first thing you need to make sure is that you install the appropriate RFID driver for the new reader. You can download the driver manager from the following link:

    http://community.psion.com/downloads/developer_sdkhdk/m/rfid_sdk/7283.aspx

     

    Aneline

     

  • After installing the cai-a1-g2 driver and making a test i get an "invalid parameter" error.

  • Hi,

    After installation, could you confirm us that the connection with the CAEN module on Xmod is ok?

    If yes, do you succeed the perform an inventory on Read ID panel (of CAEN Demo)?

    Where do you get the error message? Is it on R/W panel?

    Could you send us the FW version of your CAEN 50mW reader?

    Thanks

  • Thing is, the RFID Driver Manager is unable to detect our rfid module, we asked tech support and they sent us the correct rfid driver and after that we're able to read IDs on CAEN Demo.

    We get that error message when we test it out on the driver manager.

    Caen reader information

    Model A828EU

    FW Version : 4.00 (090706)

    And this community.psion.com/.../1135.aspx is the driver that tech support sent us

    Do we need to make some configuration on the port manager or something?

  • The CAEN Tools has everything you need to test the CAEN reader (Read ID, R/W and configuration).

    The support team showed you on the correct driver.

    If the CAEN Demo works as expected, this is sufficient.

    You don't need specificaly  the RFID Driver Manager. However, as a problem seems to exist with detection, we will check this point.

  • Hello.

    At the UHF-CA1-A1-G2-XMOD RFID module im not being able to on "FindNextDevice" to find the "PtxRfidUHF_UsbSerial" and i checked it on the registry and its there.

    Is there any special configuration on the COM ports that i may need to do ?

    Help is urgently needed.

  • Hi,

    The COM used is COM1 via Xmod connector in serial mode.

    So the device to search is not usbserial like on GPRS option but "Serial", the com will be always COM1.

  • Hi.

    Sorry but im kind of new at this.

    UsbSerialDrivers.CreateUSBDriver("RFID UHF Reader", "4372_32", "PtxRfidUHF_UsbSerial", 18);

    I'm creating this, should it be different ?

  • Hi.

    More precisely the CreateUSBDriver function above is stated below:

    var key = Microsoft.Win32.Registry.LocalMachine.OpenSubKey("Drivers").OpenSubKey("USB", true);

               var keyLoadClient = key.OpenSubKey("LoadClients", true).CreateSubKey(deviceID).CreateSubKey("Default").CreateSubKey("255_0").CreateSubKey(driverKey);

               keyLoadClient.SetValue("Dll", "UsbSerial.dll");

               var keyClientDriver = key.OpenSubKey("ClientDrivers", true).CreateSubKey(driverKey);

               keyClientDriver.SetValue("Dll", "UsbSerial.dll");

               keyClientDriver.SetValue("Prefix", "COM");

               keyClientDriver.SetValue("Index", portNumber);

               keyClientDriver.SetValue("DeviceArrayIndex", 0);

               keyClientDriver.SetValue("Priority256", 80);

               keyClientDriver.SetValue("FriendlyName", deviceLabel);

  • Hi,

    It is not necessary to create the keys manualy.

    All this stuff is now done by the RFIDdriver (CAB and API)

    You can donwload the CAEN SDK

    community.psion.com/.../543.aspx

    Then use the RFID driver API to power the reader and for com port assignment.

    Please refer to the developers guide for more details.

    Thanks and regards