ngscopeclient / scopehal

Test and measurement hardware abstraction library and protocol decodes. This is the library only. Most users should use scopehal-apps.
BSD 3-Clause "New" or "Revised" License
190 stars 86 forks source link

Improved GPIB support by implementing global GPIB interface handlers #845

Open Johnsel opened 7 months ago

Johnsel commented 7 months ago

Currently the GPIBtransport is a naive implementation that only does simple reads/writes to a board index and address through linux-gpib. This works fine for one instrument, but having multiple instruments can/will cause multithreading issues. To remedy this we should implement a global GPIB interface class that manages addressing and read/write per GPIB interface card/dongle. This will allow use of multiple instruments on one bus. Running multiple instances of ngscopeclient and arbitrarily accessing instruments will remain unsupported.