09-09-2009 03:38 PM
Hi Sherryl,
You are correct that NI USB devices have a VID of 0x3923. You can see this from the usb.org company list. However, not all NI devices are USB devices. If you were to run your test on a PCI or PXI device you would get a different VID (0x1093). This is NI's PCI vendor ID.
NI C Series modules are not USB devices. They are used in a variety of chassis which themselves use a variety of busses which is why they do not identify themselves as NI USB devices. The only gray area that I know of would be a C Series module in a 1-slot chassis like the USB-9162 which will identify using the USB VID and name like "USB-9233" because it is really identifying the chassis and not the individual module.
As far as I know, all NI USB devices use a VID of 0x3923. All other NI devices use 0x1093.
09-11-2009 09:43 AM
Hi Mark,
Quick follow up question.
In my CompactDAQ chassis I have 5 modules that return these strings when inserted:
\?\{5e9419d9-6dde-45bd-81e3-03eb116c8ad5}#VID_1093&PID_7265&CDAQ_9172&Bus_USB#0126ff7a#{5312f5bb-8f99-4e18-b464-1a0a845fc4cb}
\\?\{5e9419d9-6dde-45bd-81e3-03eb116c8ad5}#VID_1093&PID_71b4&CDAQ_9172&Bus_USB#012730e9#{5312f5bb-8f99-4e18-b464-1a0a845fc4cb}
\\?\{5e9419d9-6dde-45bd-81e3-03eb116c8ad5}#VID_1093&PID_72c5&CDAQ_9172&Bus_USB#0134eba7#{5312f5bb-8f99-4e18-b464-1a0a845fc4cb}
\\?\{5e9419d9-6dde-45bd-81e3-03eb116c8ad5}#VID_1093&PID_7165&CDAQ_9172&Bus_USB#012620b2#{5312f5bb-8f99-4e18-b464-1a0a845fc4cb}
\\?\{5e9419d9-6dde-45bd-81e3-03eb116c8ad5}#VID_1093&PID_72c3&CDAQ_9172&Bus_USB#01351358#{5312f5bb-8f99-4e18-b464-1a0a845fc4cb}
It seems that the first part of the string:
\\?\{5e9419d9-6dde-45bd-81e3-03eb116c8ad5}
is a GUID that replaces:
\\?\USB
which we see for real USB devices.
Questions:
Do all CompactDAQ modules use the 5e9419d9-6dde-45bd-81e3-03eb116c8ad5 GUID?
If yes, can we count of future CompactDAQ modules also using that GUID?
09-11-2009 10:54 AM
{5e9419d9-6dde-45bd-81e3-03eb116c8ad5} is the Compact DAQ bus-type-guid. Just as USB is enumerated with "USB\specific-device-ID" and PCI "PCI\specific-device-ID", Compact DAQ enumerates the Compact DAQ bus in the format "bus-type-guid\vendor-specific-id". See this MSDN page for more details. Starting in DAQmx 9.0, all C Series modules in a Compact DAQ chassis will enumerate in that format. This includes future modules. C Series modules outside a Compact DAQ chassis, for example, in a USB-9162 carrier, will not enumerate with the Compact DAQ bus-type-guid.
The GUID should not change (I can't say with perfect certainty but I think it would be highly unlikely).