LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Looking for a way to get my Product ID and Vendor ID so I can enable my Radium 49 USB MIDI keyboard to work with Labview 7

Looking for the Product ID and Vendor ID for my Radium 49 USB MIDI keyboard to work with Labview 7
Is there a tool to find out the Vendor ID and Product ID for a USB device?

Example: of what I'm looking for
The Product ID for National Instruments DAQPad-6020E is 0x12C0. The
USB vendor ID is 0x3923. This is a 16-bit hexadecimal number(1093)
(that is decimal 4243).



Thanks for all the fast responses this newsgroup RULES!!!!!!!!!!!!
0 Kudos
Message 1 of 9
(5,353 Views)
National Instruments can provide you with Vendor and Product IDs for NI devices, but does not have a database for third party devices. The Vendor ID should be an ID that Radium has, and the Product ID should be specific to the keyboard. Your best bet is to contact Radium to obtain this information, but perhaps another user from the Developer Exchange has used this instrument before.

John M
National Instruments
0 Kudos
Message 2 of 9
(5,353 Views)

http://digital.ni.com/public.nsf/allkb/335A90747734097886257070006415B9

 

How To Find The Vendor and Product ID for USB Devices?

Primary Software: Driver Software>>NI-VISA
Primary Software Version: 3.3.1
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
I want to make an NI-VISA driver that requires the vendor and product ID?

Solution:
There is a utility called USBView, free from Windows, attached below, which you can use to view what is connected to your computer's USB ports. It is necessary to load this program and connect the USB device in development. Upon selecting the device in USBView, one can then look on the right side of the application window to obtain the Product ID and Vendor ID. This will allow you to enter in the correct IDs when creating a driver .inf file when using the VISA Driver Development Wizard. For more information about how to use the VISA Driver Development Wizard see the related links below.

Note: It is necessary to keep the hexadecimal (0x####) format. Do not remove the "0x" hexadecimal format preceding the ID number.

 

0 Kudos
Message 3 of 9
(4,980 Views)

Hi Do you know where I can find the vendor id, productor code and device type of a compactrio. I am trying to connect it to a fanuc robor throughtethernet ip

0 Kudos
Message 4 of 9
(223 Views)

You are most likely barking up the wrong tree here. Vendor ID and Product ID are typical elements when using USB or PCI interfaces. Your intended use case from the other messages you posted is through Ethernet/IP. This is simply a network protocol and you don't identify devices by vendor ID and product ID here but by the IP address.

 

You say in the other message that your PLC is a Ethernet/IP scanner. Typically the scanner is similar in functionality to a master. That means you need to setup your Ethernet/IP interface on your cRIO using the IO Data nodes. Basically your cRIO program needs to setup what data elements it provides, and then you need to configure your scanner in the Fanuc controller to address these IO data elements.

 

For that you need to know the IP address for your cRIO controller to configure a connection in your Fanuc controller, and the CIP path (IO name) of your data items that you set up in the cRIO using the IO data nodes.

 

The Ethernet/IP library in LabVIEW does not setup an IO device for you based on some simple configuration file, but you have to programmatically create it by creating an Assembly and adding each data element that you want it to have individually to it.

Rolf Kalbermatter
My Blog
0 Kudos
Message 5 of 9
(201 Views)

Hi Rolf, on the real robot I did what you said (connected to the ip address) and when I run the example Vi of an ethernet adapter i get the following result:

 

sanch509_0-1743172242797.jpg

As you can see in the picture I get an error called Prio-358(0x114) that relatees to the following:

"PRIO-358 EtherNet/IP FwdOpen Fail (0x%x)
Cause: The robot EtherNet/IP scanner either did not receive a ForwardOpen Reply message from the remote adapter, or therobot scanner received a ForwardOpen Reply message from the remote adapter indicating a failure to establish an I/Oconnection.
Remedy: Verify the scanner settings in the robots Scanner Configuration screen are correct--review the manual of the remoteadapter device for the correct settings. Verify that the remote adapter does not currently have a duplicate explicitowner connection (another scanner device already connected to the same assembly instances). Check the remoteadapter device and verify that EtherNet/IP is enabled, and that the device is accessible on the network. Take note ofthe hexadecimal code in the robot alarm text and lookup the error in the robot scanner manual. Press RESET to restartthe robot scanner connection. The figure in the error message specifies the extended status of the error returned by thetarget device in hexadecimal format. The table below describes the extended status error codes.GENERAL STATUS EXTENDED STATUS DESCRIPTION 0x0114 Either the Vendor Id or the Product Code in the keysegment did not match the device.0x01."

 

Given that my understading is I do need the vendor id, product code and device type. In manualas i have found that most Ni products go by 

vendor id: 0X1093 but i cannot find the other two. If you have any suggestion on how to do otherwise, could you help me pls?

0 Kudos
Message 6 of 9
(188 Views)

That's an entirely different level. It does not belong into this thread. You need to have an Ethernet/IP Device running on the cRIO. And that needs to be implemented by you!

 

What program do you run as LabVIEW realtime application? How did you program the EtherNet/IP Device in there?

Rolf Kalbermatter
My Blog
0 Kudos
Message 7 of 9
(186 Views)

For the labview Vi I just used the creat assembly instance from the ethernet ip library. The fanuc robot can be programmed in several ways but these is just for setting up DI and DO that are gonna be sent through ethernet/ip. I have a program that sends 16 bit messages to know the position of the robot in each degree of freedom

0 Kudos
Message 8 of 9
(182 Views)

Are you wanting to read PID & VID from the H/W?

If so, maybe you will find the attached useful.

0 Kudos
Message 9 of 9
(172 Views)