GPIB: Difference between revisions

From SweepMe! Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:
** Keysight [https://www.keysight.com/de/pd-851808-pn-82357B/usb-gpib-interface-high-speed-usb-20?nid=-32516.426029&cc=DE&lc=ger]
** Keysight [https://www.keysight.com/de/pd-851808-pn-82357B/usb-gpib-interface-high-speed-usb-20?nid=-32516.426029&cc=DE&lc=ger]
** Prologix GPIB controller [http://prologix.biz/?gclid=CjwKCAiAr_TQBRB5EiwAC_QCq80T7CBhEIFtK-dlt0LbfKyYM-vDRwX_aDtygzXa43SAFL9ueKyiohoC0TAQAvD_BwE]
** Prologix GPIB controller [http://prologix.biz/?gclid=CjwKCAiAr_TQBRB5EiwAC_QCq80T7CBhEIFtK-dlt0LbfKyYM-vDRwX_aDtygzXa43SAFL9ueKyiohoC0TAQAvD_BwE]
== 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

Revision as of 21:08, 11 July 2018

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
    • National Instruments [3]
    • Keithley/Tektronix KUSB-488B [4]
    • Keithley/Tektronic KUSB-488A [5]
    • Keysight [6]
    • Prologix GPIB controller [7]