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='', line_ending='r')[source]

Bases: object

Driver for scpi communication

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

x.__init__(…) initializes x; see help(type(x)) for 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