Scanner
Keithley 705
- class nupylab.instruments.scanner.keithley705.Keithley705(port: str, name: str = 'Keithley 705')
Bases:
NupylabInstrumentKeithley 705 instrument class. Adapts driver to NUPyLab scanner.
- channels
dictionary of instrument measurement channels.
- name
name of instrument.
- lock
thread lock for preventing simultaneous calls to instrument.
- keithley705
Keithley 705 driver class.
Initialize Keithley 705 name and connection parameters.
- Parameters:
port – string name of port, e.g. GPIB::1
name – name of instrument.
- connect() None
Connect to Keithley 705.
- property finished: bool
Get whether measurements on all channels are finished.
- get_data() List[DataTuple] | None
Read scanner channels.
Steps through channel list, sets corresponding instrument data_label attribute, and calls that instrument’s get_data method. An optional pre_process callable is specified, which provides a basic two-way communication path between the scanner and instrument classes.
- Returns:
DataTuples from instruments reading corresponding channels.
- set_parameters(channel: int, instrument: NupylabInstrument, data_label: str | Sequence[str], pre_process: Callable[[], None] | None = None) None
Append channel configuration to scanner channel dict.
- Parameters:
channel – integer channel number.
instrument – NupylabInstrument instance that will measure the channel.
data_label – DataTuple labels for instrument get_data method.
pre_process – optional function to call before measuring channel.
- shutdown() None
Close serial connection on Keithley 705.
- start() None
Prepare channel scan. Verifies channels are set.
- stop_measurement() None
Stop measurement on Keithley 705. Clears channel dict.