GPIB
SweepMe!'s port manager relies on the pyvisa module [1].
Requirements
- Install a VISA runtime that matches the brand of your GPIB interface adapter or card.
- Install the driver of your GPIB interface card or USB adapter which you get from the manufacturer (see Supported ports#GPIB for adapters that are not supported on Windows 10/11)
Alternative adapters
Besides using GPIB via a visa runtime and an appropriate controller, there are alternative controllers that can be connected via COM port or ethernet and that translate the commands on the controller.
Prologix controller
Beginning with SweepMe! 1.5.5, we support the GPIB-USB controllers from Prologix [6]. Commands are sent via COM port to the controller. To configure it, go to menu 'File' -> 'Options' -> 'Ports' and select "Add port" next to "Prologix GPIB controller:". Type in the COM port at which the Prologix controller appears. Check the Windows device manager to find the correct port, e.g "COM7". This port will be added permanently for all users. Thus, make sure that the COM port does not change by giving it a fixed port number. You can remove a port using "Remove port". Once you added a COM port, you can find new GPIB resources in the port manager or when you press the 'Find Ports' button of a module that loads a driver that supports GPIB. The new resources looks like "GPIB::20::Prologix@COM7" if you added COM7 as a Prologix controller port. You can add multiple COM ports if you have multiple Prologix adapters.
Prologix GPIB-ETHERNET adapters are not yet supported but it can be done on request.
Instrument drivers
There is no need to modify drivers as long as they use the port manager and "GPIB" is added as port type. The port manager will automatically redirect all commands over the Prologix GPIB controller.
Limitations
During our tests, we saw that the Prologix GPIB adapters work smoothly. The communication can be a bit slower, especially if multiple instruments are connected, because additional commands are needed to change the GPIB address. If a large amount of data is transferred, the buffer of the FTDI USB driver (about 4 KB) can be filled. Read timeouts longer than 3 s are supported since SweepMe! 1.5.5.38.