qcodes_contrib_drivers.drivers.Tektronix package¶
Submodules¶
qcodes_contrib_drivers.drivers.Tektronix.AFG3000 module¶
- class qcodes_contrib_drivers.drivers.Tektronix.AFG3000.AFG3000(*args: Any, **kwargs: Any)[source]¶
Bases:
VisaInstrument
Qcodes driver for Tektronix AFG3000 series arbitrary function generator.
Not all instrument functionality is included here.
- reset_edit_memory(points: int = 1000)[source]¶
Reset the contents of the edit memory (EMEM), and set its size to points.
Each point will be initialized with the value 8191, which corresponds to the voltage half-way between voltage_low and voltage_high.
- upload_waveform(waveform: Sequence[float], memory: int)[source]¶
Upload a waveform to the editable memory (EMEM), and then copy it to the USER1, USER2, USER3 or USER4 memory.
The waveform data should contain values in the range 0..1. Note that the actual voltage values that are output will depend on the values of the voltage_low1/2 and voltage_high1/2 parameters; 0 will be mapped to voltage_low and 1 to voltage_high.
- Parameters:
waveform – sequence of points containing the waveform data, containing values from 0 to 1.
memory – The USER# memory where to to store the waveform, from 1 to 4.
qcodes_contrib_drivers.drivers.Tektronix.AWG520 module¶
- class qcodes_contrib_drivers.drivers.Tektronix.AWG520.Tektronix_AWG520(*args: Any, **kwargs: Any)[source]¶
Bases:
VisaInstrument
This is the python driver for the Tektronix AWG520 Arbitrary Waveform Generator
Work pending:
Get All
Remove test_send??
Add docstrings
Work pending:
use inheritance for common use with 520, currently contains a lot of repetition
- __init__(name, address, reset=False, clock=1000000000.0, numpoints=1000, **kw)[source]¶
Initializes the AWG520.
- Parameters:
- Output:
None
- delete_all_waveforms_from_list()[source]¶
for compatibillity with awg, is not relevant for AWG520 since it has no waveform list
- force_logicjump()[source]¶
forces a jumplogic event (used as a conditional event during waveform executions)
note: jump_logic events&mode have to be set properly!
Ron
- load_and_set_sequence(wfs, rep, wait, goto, logic_jump, filename)[source]¶
Loads and sets the awg sequecne
- resend_waveform(channel, w=[], m1=[], m2=[], clock=[])[source]¶
Resends the last sent waveform for the designated channel Overwrites only the parameters specifiedta
- Input: (mandatory)
channel (int) : 1 or 2, the number of the designated channel
- Input: (optional)
w (float[numpoints]) : waveform m1 (int[numpoints]) : marker1 m2 (int[numpoints]) : marker2 clock (int) : frequency
- Output:
None
- send_pattern(w, m1, m2, filename, clock)[source]¶
Sends a pattern file. similar to waveform except diff file extension number of poitns different. diff byte conversion See also: resend_waveform()
- Input:
w (float[numpoints]) : waveform m1 (int[numpoints]) : marker1 m2 (int[numpoints]) : marker2 filename (str) : filename clock (int) : frequency (Hz)
- Output:
None
- send_sequence(wfs, rep, wait, goto, logic_jump, filename)[source]¶
Sends a sequence file (for the moment only for ch1)
- Parameters:
wfs – list of filenames
Returs:
None
- send_sequence2(wfs1, wfs2, rep, wait, goto, logic_jump, filename)[source]¶
Sends a sequence file
- Parameters:
wfs1 – list of filenames for ch1 (all must end with .pat)
wfs2 – list of filenames for ch2 (all must end with .pat)
rep – list
wait – list
goto – list
logic_jump – list
filename – name of output file (must end with .seq)
- Returns:
None
- send_waveform(w, m1, m2, filename, clock)[source]¶
Sends a complete waveform. All parameters need to be specified. choose a file extension ‘wfm’ (must end with .pat) See also: resend_waveform()
- Input:
w (float[numpoints]) : waveform m1 (int[numpoints]) : marker1 m2 (int[numpoints]) : marker2 filename (str) : filename clock (int) : frequency (Hz)
- Output:
None
- set_jumpmode(mode)[source]¶
sets the jump mode for jump logic events, possibilities: LOGic,TABle,SOFTware give mode as string
note: jump_logic events&mode have to be set properly!
Ron
qcodes_contrib_drivers.drivers.Tektronix.FCA3100 module¶
- class qcodes_contrib_drivers.drivers.Tektronix.FCA3100.CompleteTimeStatistics(name: str, instrument: FCA3100, **kwargs: Any)[source]¶
Bases:
ParameterWithSetpoints
- class qcodes_contrib_drivers.drivers.Tektronix.FCA3100.FCA3100(*args: Any, **kwargs: Any)[source]¶
Bases:
VisaInstrument
This is the qcodes driver for the FCA3100 counter
- __init__(name: str, address: str, terminator: str = '\n', timeout: int = 10, **kwargs) None [source]¶
Qcodes driver for the Textronix FCA3100 frequency counter.
- Parameters:
name – Name of the instrument
address – Address of the instrument
terminator (optional) – Terminator character of the string reply. Defaults to “n”.
timeout (optional) – VISA timeout is set purposely to a long time to allow long measurements. Defaults to 10.
- class qcodes_contrib_drivers.drivers.Tektronix.FCA3100.GeneratedSetPoints(numpointsparam, *args, **kwargs)[source]¶
Bases:
Parameter
A parameter that generates a setpoint array from start, stop and num points parameters.
- get_raw()[source]¶
get_raw
is called to perform the actual data acquisition from the instrument. This method should either be overwritten to perform the desired operation or alternatively forParameter
a suitable method is automatically generated ifget_cmd
is supplied to the parameter constructor. The method is automatically wrapped to provide aget
method on the parameter instance.
- class qcodes_contrib_drivers.drivers.Tektronix.FCA3100.TimeStatistics(name: str, instrument: FCA3100, **kwargs: Any)[source]¶
Bases:
MultiParameter
Returns the statistical values of a timing statistics.
qcodes_contrib_drivers.drivers.Tektronix.Keithley_2000_Scan module¶
- class qcodes_contrib_drivers.drivers.Tektronix.Keithley_2000_Scan.Keithley_2000_Scan_Channel(dmm: Keithley_6500, channel: int, **kwargs)[source]¶
Bases:
InstrumentChannel
This is the qcodes driver for a channel of the 2000-SCAN scanner card.
- __init__(dmm: Keithley_6500, channel: int, **kwargs) None [source]¶
Initialize instance of scanner card Keithley 2000-SCAN :param dmm: Instance of digital multimeter Keithley6500 containing the scanner card :param channel: Channel number :param **kwargs: Keyword arguments to pass to __init__ function of InstrumentChannel class
qcodes_contrib_drivers.drivers.Tektronix.Keithley_2700 module¶
- class qcodes_contrib_drivers.drivers.Tektronix.Keithley_2700.Keithley_2700(*args: Any, **kwargs: Any)[source]¶
Bases:
VisaInstrument
This is the qcodes driver for the Keithley_2700 Multimeter
Usage: Initialize with:
<name> = = Keithley_2700(<name>, address='<GPIB address>', reset=<bool>, change_display=<bool>, change_autozero=<bool>)
Status: beta-version.
This driver will most likely work for multiple Keithley SourceMeters.
This driver does not contain all commands available, but only the ones most commonly used.
- set_defaults()[source]¶
Set to driver defaults: Output=data only Mode=Volt:DC Digits=7 Trigger=Continous Range=10 V NPLC=1 Averaging=off
qcodes_contrib_drivers.drivers.Tektronix.Keithley_6430 module¶
- class qcodes_contrib_drivers.drivers.Tektronix.Keithley_6430.Keithley_6430(*args: Any, **kwargs: Any)[source]¶
Bases:
VisaInstrument
This is the Qcodes driver for the Keithley 6430 SMU.
- Parameters:
name – The name used internally by QCoDeS
address – Network address or alias of the instrument
terminator – Termination character in VISA communication
reset – resets to default values
qcodes_contrib_drivers.drivers.Tektronix.Keithley_6500 module¶
- class qcodes_contrib_drivers.drivers.Tektronix.Keithley_6500.Keithley_6500(*args: Any, **kwargs: Any)[source]¶
Bases:
VisaInstrument
This is the qcodes driver for a Keithley DMM6500 digital multimeter.
- __init__(name: str, address: str, terminator='\n', **kwargs)[source]¶
Initialize instance of digital multimeter Keithley6500. Check if scanner card is inserted. :param name: Name of instrument :param address: Address of instrument :param terminator: Termination character for SCPI commands :param **kwargs: Keyword arguments to pass to __init__ function of VisaInstrument class
- class qcodes_contrib_drivers.drivers.Tektronix.Keithley_6500.Keithley_Sense(parent: VisaInstrument, name: str, channel: str)[source]¶
Bases:
InstrumentChannel
This is the class for a measurement channel, i.e. the quantity to be measured (e.g. resistance, voltage).