The scpi module

Autogenerated API documentation for scpi

Implementation of SCPI standard

class PyExpLabSys.drivers.scpi.SCPI(interface, device='', tcp_port=5025, hostname='', baudrate=9600, visa_string='', gpib_address=None, line_ending='r')[source]

Bases: object

Driver for scpi communication

__init__(interface, device='', tcp_port=5025, hostname='', baudrate=9600, visa_string='', gpib_address=None, line_ending='\r')[source]

Initialize self. See help(type(self)) for accurate signature.

scpi_comm(command, expect_return=False)[source]

Implements actual communication with SCPI instrument

read_software_version()[source]

Read version string from device

reset_device()[source]

Rest device

device_clear()[source]

Stop current operation

clear_error_queue()[source]

Clear error queue