GPIB
Jump to navigation
Jump to search
SweepMe! relies on the pyvisa module [1].
Requirements
- Install the latest version of ni-visa runtime [2]
- Install the driver of your GPIB interface card or USB adapter which you get from the manufacturer
Terminator / End-of-Line character
Typically, communication via GPIB does not require to set an End-of-Line (EOL) character. However, some devices expect and send special characters at the end of each message to indicate that the command/message is complete.
At the moment, EOL for GPIB is not fully implemented and one has to modify the pyvisa GPIBInstrument object, i.e. using
self.port.port.write_termination = "\r\n" self.port.port.read_termination = "\r\n"
- "\r\n" is here one example for using Carriage Return (CR) and Line Feed (LF) as terminator