Queries and prints the instrumet ID of an IsoBus instrument; the IsoBus address is the only command line parameter.
You will have to adapt this script first to use the correct IsoBus base connection. This base connection describes how the IsoBus is connected to your measurement PC.
For example, the IsoBus could be connected to a bus master device (often an IPS magnet power supply), and that in turn has a GPIB address. Then, the base connection would be the GPIB connection to the bus master device.
Alternatively, as shown above, the IsoBus is connected directly to the PC, and the base connection is then just the serial port.
$ perl isobus_query_id.pl 3
(c) Andreas K. Hüttel 2011,2013