2 Replies Latest reply on Jun 28, 2018 11:33 PM by srnt

    Driver version digits - how to interpret?

    wahl_3517656

      We are using the Fx3 with CyUsb3.sys for a new product debvelopment, so far so good.

      The driver file CyUsb3.sys carries the version 1.2.3.10.

      When retrieving the driver version via CyApi GetDriverVer (this in turn does a IOCTL_ADAPT_GET_DRIVER_VERSION)

      we get the version code 0x01020200.

      Can someone explain how these two version numbers relate and what they mean in typical version code terms such as Major/Minor/Buld..?

      The documantation an the Web do not provide answers.

      Thanks,

      Michael Wahl

        • 1. Re: Driver version digits - how to interpret?
          Madhu Lakshmipathy

          Hi Michael,

           

          The driver version is of the format:

           

          *ulDriverVersion = (ULONG)(CYUSB3_VERSION_MAJOR<<24 |(CYUSB3_VERSION_MINOR<<16) |(CYUSB3_VERSION_PATCH<<8) |(CYUSB3_VERSION_BUILD));

           

          But as per your observation, these seem to be different. We will investigate further.

           

          Regards,

          - Madhu Sudhan

          • 2. Re: Driver version digits - how to interpret?
            srnt

            Hello Michael Wahl,

             

            The CyAPI GetDriverVer() has been deprecated and is no longer been updated. Kindly, use the attached code/application to obtain the driver version. This code uses the Win APIs to obtain the details of the driver. Also, note that, when multiple devices are bound to the CYUSB3 driver, only the first instance is considered by this application. The GetDriverVersion() function parameters have to be modified to suit the VID/PID of the device being connected.

             

            Best regards,

            Srinath S