Hewlett Packard Drivers¶
Classes:
|
QCoDeS driver for Hewlett Packard 8133A Pulse Generator. |
|
QCoDeS driver for the Hewlett Packard 8753D Network Analyzer. |
|
QCoDeS driver for HP 83650A |
Exceptions:
- class qcodes.instrument_drivers.HP.HP8133A(name: str, address: str, reset: bool = False, **kwargs: Unpack[VisaInstrumentKWArgs])¶
Bases:
VisaInstrument
QCoDeS driver for Hewlett Packard 8133A Pulse Generator.
Attributes:
default_terminator
The default terminator to use if the terminator is not specified when creating the instrument.
frequency
Parameter frequency
period
Parameter period
phase
Parameter phase
duty_cycle
Parameter duty_cycle
delay
Parameter delay
width
Parameter width
amplitude
Parameter amplitude
amplitude_offset
Parameter amplitude_offset
output
Parameter output
- default_terminator: str | None = '\n'¶
The default terminator to use if the terminator is not specified when creating the instrument. None means use the default terminator from PyVisa.
- frequency: Parameter = self.add_parameter( name="frequency", label="Frequency", unit="Hz", get_cmd="FREQ?", set_cmd="FREQ {}", get_parser=float, vals=Numbers(min_value=31.3e6, max_value=3.5e9), )¶
Parameter frequency
- period: Parameter = self.add_parameter( name="period", label="Period", unit="s", get_cmd="PER?", set_cmd="PER {}", get_parser=float, vals=Numbers(min_value=286e-12, max_value=31.949e-9), )¶
Parameter period
- phase: Parameter = self.add_parameter( name="phase", label="Phase", unit="deg", get_cmd="PHAS?", set_cmd="PHAS {}", get_parser=float, vals=Numbers(min_value=-3.6e3, max_value=3.6e3), )¶
Parameter phase
- duty_cycle: Parameter = self.add_parameter( name="duty_cycle", label="Duty cycle", unit="%", get_cmd="DCYC?", set_cmd="DCYC {}", get_parser=float, vals=Numbers(min_value=0, max_value=100), )¶
Parameter duty_cycle
- delay: Parameter = self.add_parameter( name="delay", label="Delay", unit="s", get_cmd="DEL?", set_cmd="DEL {}", get_parser=float, vals=Numbers(min_value=-5e-9, max_value=5e-9), )¶
Parameter delay
- visa_handle: pyvisa.resources.MessageBasedResource = visa_handle¶
The VISA resource used by this instrument.
- parameters: dict[str, ParameterBase] = {}¶
All the parameters supported by this instrument. Usually populated via
add_parameter()
.
- functions: dict[str, Function] = {}¶
All the functions supported by this instrument. Usually populated via
add_function()
.
- submodules: dict[str, InstrumentModule | ChannelTuple] = {}¶
All the submodules of this instrument such as channel lists or logical groupings of parameters. Usually populated via
add_submodule()
.
- instrument_modules: dict[str, InstrumentModule] = {}¶
All the
InstrumentModule
of this instrument Usually populated viaadd_submodule()
.
- log: InstrumentLoggerAdapter = get_instrument_logger(self, __name__)¶
- width: Parameter = self.add_parameter( name="width", label="Width", unit="s", get_cmd="WIDT?", set_cmd="WIDT {}", get_parser=float, vals=Numbers(min_value=1e-12, max_value=10.5e-9), )¶
Parameter width
- amplitude: Parameter = self.add_parameter( name="amplitude", label="Amplitude", unit="V", get_cmd="VOLT?", set_cmd="VOLT {}", get_parser=float, vals=Numbers(min_value=0.1, max_value=3.3), )¶
Parameter amplitude
- class qcodes.instrument_drivers.HP.HP8753D(name: str, address: str, **kwargs: Unpack[VisaInstrumentKWArgs])¶
Bases:
VisaInstrument
QCoDeS driver for the Hewlett Packard 8753D Network Analyzer.
Attributes:
default_terminator
The default terminator to use if the terminator is not specified when creating the instrument.
start_freq
Parameter start_freq
stop_freq
Parameter stop_freq
averaging
Parameter averaging
number_of_averages
Parameter number_of_averages
trace_points
Parameter trace_points
sweep_time
Parameter sweep_time
output_power
Parameter output_power
s_parameter
Parameter s_parameter
display_format
Parameter display_format
display_reference
Parameter display_reference
display_scale
Parameter display_scale
trace
Parameter trace
Methods:
reset
()Resets the instrument to factory default state
run_continously
()Set the instrument in run continously mode
run_N_times
(N)Run N sweeps and then hold.
invalidate_trace
(cmd, value)Wrapper for set_cmds that make the trace not ready
startup
()- default_terminator: str | None = '\n'¶
The default terminator to use if the terminator is not specified when creating the instrument. None means use the default terminator from PyVisa.
- start_freq: Parameter = self.add_parameter( "start_freq", label="Sweep start frequency", unit="Hz", set_cmd=partial(self.invalidate_trace, "STAR {} HZ"), get_cmd="STAR?", get_parser=float, vals=vals.Numbers(30000, 6000000000), )¶
Parameter start_freq
- stop_freq: Parameter = self.add_parameter( "stop_freq", label="Sweep stop frequency", unit="Hz", set_cmd=partial(self.invalidate_trace, "STOP {} HZ"), get_cmd="STOP?", get_parser=float, vals=vals.Numbers(30000, 6000000000), )¶
Parameter stop_freq
- averaging: Parameter = self.add_parameter( "averaging", label="Averaging state", set_cmd="AVERO{}", get_cmd="AVERO?", val_mapping={"ON": 1, "OFF": 0}, )¶
Parameter averaging
- number_of_averages: Parameter = self.add_parameter( "number_of_averages", label="Number of averages", set_cmd="AVERFACT{}", get_cmd="AVERFACT?", get_parser=HPIntParser, vals=vals.Ints(0, 999), )¶
Parameter number_of_averages
- trace_points: Parameter = self.add_parameter( "trace_points", label="Number of points in trace", set_cmd=partial(self.invalidate_trace, "POIN{}"), get_cmd="POIN?", get_parser=HPIntParser, vals=vals.Enum(3, 11, 26, 51, 101, 201, 401, 801, 1601), )¶
Parameter trace_points
- sweep_time: Parameter = self.add_parameter( "sweep_time", label="Sweep time", set_cmd="SWET{}", get_cmd="SWET?", unit="s", get_parser=float, vals=vals.Numbers(0.01, 86400), )¶
Parameter sweep_time
- output_power: Parameter = self.add_parameter( "output_power", label="Output power", unit="dBm", set_cmd="POWE{}", get_cmd="POWE?", get_parser=float, vals=vals.Numbers(-85, 20), )¶
Parameter output_power
- s_parameter: Parameter = self.add_parameter( "s_parameter", label="S-parameter", set_cmd=self._s_parameter_setter, get_cmd=self._s_parameter_getter, )¶
Parameter s_parameter
- display_format: Parameter = self.add_parameter( "display_format", label="Display format", set_cmd=self._display_format_setter, get_cmd=self._display_format_getter, )¶
Parameter display_format
- display_reference: Parameter = self.add_parameter( "display_reference", label="Display reference level", unit=None, # will be set by display_format get_cmd="REFV?", set_cmd="REFV{}", get_parser=float, vals=vals.Numbers(-500, 500), )¶
Parameter display_reference
- display_scale: Parameter = self.add_parameter( "display_scale", label="Display scale", unit=None, # will be set by display_format get_cmd="SCAL?", set_cmd="SCAL{}", get_parser=float, vals=vals.Numbers(-500, 500), )¶
Parameter display_scale
- visa_handle: pyvisa.resources.MessageBasedResource = visa_handle¶
The VISA resource used by this instrument.
- parameters: dict[str, ParameterBase] = {}¶
All the parameters supported by this instrument. Usually populated via
add_parameter()
.
- functions: dict[str, Function] = {}¶
All the functions supported by this instrument. Usually populated via
add_function()
.
- submodules: dict[str, InstrumentModule | ChannelTuple] = {}¶
All the submodules of this instrument such as channel lists or logical groupings of parameters. Usually populated via
add_submodule()
.
- instrument_modules: dict[str, InstrumentModule] = {}¶
All the
InstrumentModule
of this instrument Usually populated viaadd_submodule()
.
- log: InstrumentLoggerAdapter = get_instrument_logger(self, __name__)¶
- trace: HP8753DTrace = self.add_parameter( name="trace", parameter_class=HP8753DTrace )¶
Parameter trace
- class qcodes.instrument_drivers.HP.HP83650A(name: str, address: str, verbose: int = 1, reset: bool = False, server_name: str | None = None, **kwargs: Unpack[VisaInstrumentKWArgs])[source]¶
Bases:
VisaInstrument
QCoDeS driver for HP 83650A
Attributes:
Microwave frequency, ....
Microwave frequency mode, ....
Microwave power, ....
Status, ....
FM status, ....
FM coupling, ....
AM status, ....
Pulse status, ....
Pulse source, ....
Methods:
reset
()- frequency: Parameter = self.add_parameter( "frequency", label="Frequency", get_cmd="FREQ:CW?", set_cmd="FREQ:CW {}", vals=vals.Numbers(10e6, 40e9), docstring="Microwave frequency, ....", get_parser=float, unit="Hz", )¶
Microwave frequency, ….
- freqmode: Parameter = self.add_parameter( "freqmode", label="Frequency mode", get_cmd="FREQ:MODE?", set_cmd="FREQ:MODE {}", vals=vals.Strings(), get_parser=parsestr, docstring="Microwave frequency mode, ....", )¶
Microwave frequency mode, ….
- power: Parameter = self.add_parameter( "power", label="Power", get_cmd="SOUR:POW?", set_cmd="SOUR:POW {}", vals=vals.Numbers(-20, 20), get_parser=float, unit="dBm", docstring="Microwave power, ....", )¶
Microwave power, ….
- rfstatus: Parameter = self.add_parameter( "rfstatus", label="RF status", get_cmd=":POW:STAT?", set_cmd=":POW:STAT {}", val_mapping={"on": "1", "off": "0"}, vals=vals.Strings(), get_parser=parsestr, docstring="Status, ....", )¶
Status, ….
- fmstatus: Parameter = self.add_parameter( "fmstatus", label="FM status", get_cmd=":FM:STAT?", set_cmd=":FM:STAT {}", val_mapping={"on": "1", "off": "0"}, vals=vals.Strings(), get_parser=parsestr, docstring="FM status, ....", )¶
FM status, ….
- fmcoup: Parameter = self.add_parameter( "fmcoup", label="FM coupling", get_cmd=":FM:COUP?", set_cmd=":FM:COUP {}", vals=vals.Strings(), get_parser=parsestr, docstring="FM coupling, ....", )¶
FM coupling, ….
- amstatus: Parameter = self.add_parameter( "amstatus", label="AM status", get_cmd=":AM:STAT?", set_cmd=":AM:STAT {}", val_mapping={"on": "1", "off": "0"}, vals=vals.Strings(), get_parser=parsestr, docstring="AM status, ....", )¶
AM status, ….
- visa_handle: pyvisa.resources.MessageBasedResource = visa_handle¶
The VISA resource used by this instrument.
- parameters: dict[str, ParameterBase] = {}¶
All the parameters supported by this instrument. Usually populated via
add_parameter()
.
- functions: dict[str, Function] = {}¶
All the functions supported by this instrument. Usually populated via
add_function()
.
- submodules: dict[str, InstrumentModule | ChannelTuple] = {}¶
All the submodules of this instrument such as channel lists or logical groupings of parameters. Usually populated via
add_submodule()
.
- instrument_modules: dict[str, InstrumentModule] = {}¶
All the
InstrumentModule
of this instrument Usually populated viaadd_submodule()
.
- log: InstrumentLoggerAdapter = get_instrument_logger(self, __name__)¶
- pulsestatus: Parameter = self.add_parameter( "pulsestatus", label="Pulse status", get_cmd=":PULS:STAT?", set_cmd=":PULS:STAT {}", val_mapping={"on": "1", "off": "0"}, vals=vals.Strings(), get_parser=parsestr, docstring="Pulse status, ....", )¶
Pulse status, ….