qtics.instruments.srs package#
Stanford Research Systems instrument drivers.
Submodules#
qtics.instruments.srs.sim928 module#
Controller of the SIM928 isolated voltage source (SRS), used through a SIM900 mainframe.
- class qtics.instruments.srs.sim928.SIM928(transport: Transport | str, name: str = 'SIM928', mainframe_port: int = 1, **transport_kwargs)[source]#
Bases:
DCSource,SCPIInstrumentSIM928 isolated voltage source by Stanford Research Systems.
Works in conjunction with the SIM900 mainframe.
- battery_spec(parameter: str) str[source]#
Query the battery specification for parameter i.
Valid parameters to query: - PNUM (0): Battery pack part number - SERIAL (1): Battery pack serial number - MAXCY (2): Design life (# of charge cycles) - CYCLES (3): # charge cycles used - PDATE (4): Battery pack production date (YYYY-MM-DD)
- battery_state() str[source]#
Query the battery status of the SIM928.
- Returns:
A string in the format “<a>,<b>,<x>”, where <a> and <b> correspond to batteries “A” and “B”, and are equal to 1 for in use, 2 for charging, and 3 for ready/standby. The third parameter, <x>, is normally 0; it is set to 1 if the service batteries indicator is lit.
- Return type:
- default_transport#
alias of
SerialTransport