1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Command for reading vendor id or product id?

Discussion in 'GPIO Modules' started by Pat Hill, Mar 7, 2018.

  1. Pat Hill

    Pat Hill New Member

    Joined:
    Apr 28, 2016
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    3
    Gender:
    Male
    Location:
    USA
    You provide the vendor id and product id for the 8 channel USB GPIO in the technical specs. I would like to use one of these IDs to confirm I have the right COM open when I am connecting to a device on my PC or laptop. Is there a command for doing this? By command I mean a command to read the vendor or product ID.

    Thanks
     
    chaka likes this.
  2. Pat Hill

    Pat Hill New Member

    Joined:
    Apr 28, 2016
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    3
    Gender:
    Male
    Location:
    USA
    Thanks for the like.

    I also contacted Support and got this reply:
    "
    Hello There,

    Thanks for contacting Numato Lab.

    It is possible to read the product ID and vendor ID on Windows using Setup API (https://msdn.microsoft.com/en-us/library/windows/desktop/cc185682(v=vs.85).aspx). It is quite complicated but can be done if you have a Windows API expert available in-house.

    A bit easier way to do this is to use the "id" command. You can set unique ID for the device(s) using "id set command" and the ID can be retrieved using "id get" command later to identify the device.

    Please let me know if I can be of any further assistance.

    Thanks,
    Thomas
    Numato Lab"

    I responded:

    Thank you for replying. I think I will continue using the id set and id get commands . I want to use only JAVA and the NUMATO device commands.

    Patrick Hill
     

Share This Page