Skip to content

Add gpibscan utility

Karol Krizka requested to merge gpibscan into devel

The gpibscan utility scans all possible GPIB addresses on a serial device with the *IDN? command and returns the response. It is useful for determining what address is set for different devices without physical access to them.

The usage of the tool:

Usage: ./bin/gpibscan [options] usbport

List of options:
 -d, --debug       Enable more verbose printout

Example output:

[kkrizka@triplerock build]$ ./bin/gpibscan /dev/ttyUSB0
 0: 
 1: 
 2: 
 3: 
 4: 
 5: KEITHLEY INSTRUMENTS INC.,MODEL 2410,0883484,C22   May 21 2001 08:33:10/A02  /F/H
 6: 
 7: 
 8: 
 9: 
10: 
11: 
12: 
13: 
14: 
15: 
16: 
17: 
18: 
19: 
20: 
21: 
22: 
23: 
24: 
25: 
26: 
27: 
28: 
29: 
30: 

Merge request reports