Stanford Research Instruments

hardware_control.instruments.srs.SRS_DG535 module

../_images/DG535.jpg
class hardware_control.instruments.srs.SRS_DG535.SRS_DG535(instrument_name: str = 'SRS_DG535', connection_addr: str = '')

Bases: Instrument

Stanford Research Systems DG535 instrument class.

The instrument uses GPIB (tested with a NI-GPIB-usb adapter) and is controlled using the pyvisa library. The DelayGenerator control implements most of the device’s features.

PARAMETERS
  • TRIGGER_MODE (INTERNAL, EXTERNAL, SINGLE, BURST)
    • Trigger mode.

  • TRIGGER_EDGE (POS, NEG)
    • Trigger edge – either falling (POS) or rising (NEG).

  • TRIGGER_LEVEL (float)
    • External trigger voltage.

  • TRIGGER_PERIOD (int)
    • Period (in milliseconds) of one trigger in a burst (between 2 and 37266).

  • INTERNAL_TRIGGER_RATE (int)
    • Trigger frequency (in Hz) while in internal trigger mode. Only available in Internal mode.

  • BURST_TRIGGER_RATE (int)
    • Trigger frequency (in Hz) while in burst trigger mode. Only available in Burst mode.

  • PULSES_PER_BURST (int)
    • Number of pulses in a burst (between 2 and 32766).

  • CH<X>_OUTPUT_MODE (TTL, NIM, ECL, VAR)
    • Channel ‘X’ output mode (transistor-transistor logic, nuclear instrument modules, emitter-coupled logic, or variable)

  • CH<X>_OUTPUT_OFFSET (float)
    • Voltage output offset of channel ‘X’. Only available in variable output mode.

  • CH<X>_OUTPUT_AMPLITUDE (float)
    • Voltage output amplitude of channel ‘X’. Only available in variable output mode.

  • CH<X>_DELAY (float)
    • Delay time (in seconds) of channel ‘X’ with respect to another channel (see ‘CH<X>_RELATIVE_TO’).

  • CH<X>_RELATIVE_TO (‘T0’, ‘A’, ‘B’, ‘C’, ‘D’)
    • Channel with respect to which the delay on channel ‘X’ is applied (see ‘CH<X>_DELAY’).

  • CH<X>_TRIGGER_IMPEDANCE (50-OHMS, HI-Z)
    • Trigger input impedance of channel ‘X’.

COMMANDS
  • SINGLE_TRIGGER
    • Set the instrument to trigger once.

check_connection_commands: None | str | Iterable[str]
connection_type: str | None
device: None | socket.socket | pyvisa.resources.Resource | ModbusClient
manufacturer: str | None
model: str | None
numeric_to_alpha(value)
try_connect()

Need to clear the buffer every time we start the instrument.

hardware_control.instruments.srs.SRS_CIS200 module

Stanford Research Systems CIS200.

../_images/SRS_CIS.jpg

See class definition for details.

class hardware_control.instruments.srs.SRS_CIS200.SRS_CIS200(instrument_name: str = 'SRS_CIS200', connection_addr: str = '')

Bases: Instrument

A driver for the Stanford Research Systems CIS200.

Instrument home page: https://www.thinksrs.com/products/cis.html Manual: https://www.thinksrs.com/downloads/pdfs/manuals/CISm.pdf

The instrument uses RS-232C and is controlled using the pyvisa library.

check_connection_commands: None | str | Iterable[str]
connection_type: str | None
device: None | socket.socket | pyvisa.resources.Resource | ModbusClient
manufacturer: str | None
model: str | None