Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How are GPIB interface numbers assigned

This really does sound like a nightmare in waiting.  GPIB controllers enumerated via Plug-n-Play.  Not so bad if you have 1 bus, multiple busses though ... that will get problematic.

 

Do not swap hubs, ports on one station

do not swap units between stations

do not let anyone plug in that BT dongle (or whatever crappy USB device they keep in their pocket)

 

Do post instructions on how to inspect MAX and or the Control panel and fix issues as part of the station start-up.....

 

Listen to reason...get off the USB port before you hurt yourself.


"Should be" isn't "Is" -Jay
0 Kudos
Message 11 of 13
(1,530 Views)

The interface number is linked to the serial number on the GPIB-USB-HS. As long as you plug both interfaces in at the same time (so you have GPIB0 and GPIB1), the assigned interface number will remain the same. After that initial assignment, it does not matter what ports/hubs are used, or what order they are inserted.

 

There are a couple exceptions to this:

 

1. If you remove a GPIB-USB-HS and add a third interface, that third interface would be assigned the number of the missing interface. This is because a previously unseen interface will use the first available interface number, even if it was previously assigned to yoru USB device.

 

2. If you upgrade the driver, the assignments will be re-done.

 

If you need to reassign the interface number, you can do this through MAX. You can programmatically view the configuration through the System Configuration API, but you cannot currently make changed to the interface numbers programmatically.

 

-Jason Smith

0 Kudos
Message 12 of 13
(1,505 Views)

But you can programmatically select a device on GPIB0 or GPIB1.....by modifying the visa string

greetings from the Netherlands
0 Kudos
Message 13 of 13
(1,498 Views)