KEITHLEY Source Meter 2612 module
Created on Fri Dec 10 08:39:48 2021
@author: Martin.Mihaylov
- class KEITHLEY2612.KEITHLEY2612(resource_str)[source]
Bases:
object
- Reset(chan)[source]
- Parameters:
chan (str) – Select Channel A or B and restore to defaults channel settings.
- Raises:
ValueError – Error message
- Return type:
None.
- ask_Current(chan)[source]
- Parameters:
chan (str) – Select channel A or B
- Raises:
ValueError – Error message
- Returns:
Return float whit the measured value on the channel
- Return type:
TYPE float
- ask_LimitReached(chan)[source]
- Parameters:
chan (str) – This output indicates that a configured limit has been reached. (voltage, current, or power limit)
- Returns:
DESCRIPTION.
- Return type:
TYPE
- ask_Power(chan)[source]
- Parameters:
chan (str) – Select channel A or B
- Raises:
ValueError – Error message
- Returns:
TYPE – Return float whit the measured value on the channel
- Return type:
float
- ask_Resistance(chan)[source]
- Parameters:
chan (str) – Select channel A or B
- Raises:
ValueError – Error message
- Returns:
TYPE – Return float whit the measured value on the channel
- Return type:
float
- ask_Voltage(chan)[source]
- Parameters:
chan (str) – Select channel A or B
- Raises:
ValueError – Error message
- Returns:
TYPE – Return float whit the measured value on the channel
- Return type:
float
- ask_readBuffer(chan, start, stop)[source]
- Parameters:
chan (str) – Select channel A or B
start (int) – select start value
stop (int) – select stop value
- Raises:
ValueError – Error message
- Returns:
Print the source function used
for ‘start’ - ‘stop’ readings stored in
source-measure unit (SMU)
channel A, buffer 1.
- get_Data(chan)[source]
- Parameters:
chan (str) – Select channel A or B
- Returns:
OutPut – Return a dictionary whit the measured voltage and current.
- Return type:
dict
- set_AutoCurrentRange(chan, state)[source]
- Parameters:
chan (str) – Select channel A or B
state (str) – ON/OFF current source autorange
- Raises:
ValueError – Error message
- Return type:
None.
- set_AutoVoltageRange(chan, state)[source]
- Parameters:
chan (str) – Select channel A or B
state (str) – ON/OFF voltage source autorange
- Raises:
ValueError – Error message
- Return type:
None.
- set_ChannelDisplay(chan, double=True)[source]
- Parameters:
chan (str) – Select channel A or B
double (boolen, optional) –
Displays source-measure for SMU A and SMU B. double = None per defould. if double = True:
Display Chan A and B
- else:
Display only Chan selected
- Raises:
ValueError – Error message
- Return type:
None.
- set_Current(chan, value)[source]
- Parameters:
chan (str) – Select Channel A or B
value (int/float) – Set Current on channels A and B
- Raises:
ValueError – Error message
- Return type:
None.
- set_CurrentLimit(chan, value)[source]
- Parameters:
chan (str) – Select Channel A or B
value (int/float) – Sets the current limitof channel X to V.
- Raises:
ValueError – Error message
- Return type:
None.
- set_CurrentRange(chan, value)[source]
- Parameters:
chan (str) – Select Channel A or B
value (int/float) – Set current source voltage limit
- Raises:
ValueError – Error message
- Return type:
None.
- set_DisplayMeasurementFunction(chan, typ)[source]
- Parameters:
chan (str) – Select channel A or B
typ (str) – Selects the displayed measurement function: Amperes, volts, ohms, or watts. SMU A and SMU B can be set for different measurement functions!
- Raises:
ValueError – Error message
- Return type:
None.
- set_OutputSourceFunction(chan, typ)[source]
- Parameters:
chan (str) – Select channl A or B
typ (str) – The source function. Set to one of the following values: typ = ‘volt’ for Selects voltage source function typ = ‘amp’ for Selects voltage source function
- Raises:
ValueError – Error message
- Return type:
None.
- set_PulseMeasured(chan, value, ton, toff)[source]
- Parameters:
chan (str) – Select channel A or B
value (int/float or list with curly braces for example {1,2,3....}.) –
ton (int/float) – X ms pulse on
toff (int/float) – X ms pulse off
- Raises:
ValueError – Error message
- Return type:
None.
- set_SourceOutput(chan, state)[source]
- Parameters:
chan (str) – Select channel A or B
state (str) – Set source output (CHAN A) ON and OF
- Raises:
ValueError – Error message
- Return type:
None.
- set_Voltage(chan, value)[source]
- Parameters:
chan (str) – Select Channel A or B
value (int/float) – Set voltage on channels A and B
- Raises:
ValueError – Error message
- Return type:
None.
- set_VoltageLimit(chan, value)[source]
- Parameters:
chan (str) – Select Channel A or B
value (int/float) – Sets the voltage limitof channel X to V.
- Raises:
ValueError – Error message
- Return type:
None.