Download This documentation as PDF

Transcript
1 The Lab::Measurement package
PARAMETERS
instrument [Lab::Instrument] (mandatory) Instrument, conducting the sweep. Must
be of type Lab:Instrument. Allowed instruments: Lab::Instrument::Yokogawa7651
.
mode [string] (default = ’continuous’ | ’step’ | ’list’) continuous: perform a continuous voltage sweep. Measurements will be performed constantly at the time-interval
defined in interval.
step: measurements will be performed at discrete values of the applied voltage between start and end points defined in parameter points, seperated by voltage steps
defined in parameter stepwidth
list: measurements will be performed at a list voltage values defined in parameter
points
.
points [float array] (mandatory) array of voltage values (in volts) that defines the
characteristic points of the sweep. First value is appraoched before measurement begins.
Case mode => ’continuous’ : List of at least 2 values, that define start and end
point of the sweep or a sequence of consecutive sweep-sections (e.g. if changing the
sweep-rate for different sections or reversing the sweep direction). points => [-5, 5] #
Start: -5 / Stop: 5
points = > [ -5 , -1 , 1 , 5]
points = > [0 , -5 , 5]
Case mode => ’step’ : Same as in ’continuous’ but voltage will be swept in stop and
go mode. I.e. voltage source approaches values between start and stop at the interval
defined in ’stepwidth’. A measurement is performed, when voltage source is idle.
Case mode => ’list’ : Array of voltages, with minimum length 1, that are approached
in sequence to perform a measurment.
.
rate [float array] (mandatory if not defined duration) array of rates, at which the
voltage is swept (V / sec). Has to be of length 1 or greater (Maximum length: length
of points-array). The first value defines the rate to approach the starting point. The
following values define the rates to approach the voltages defined by the points-array.
If the number of values in the rates-array is less than the length of the points-array,
the last defined rate will be used for the remaining sweep sections.
points = > [ -5 , -1 , 1 , 5] ,
rates = > [1 , 0.005 , 0.02]
98