![background image](http://html2.mh-extra.com/html/keithley/interactive-sourcemeter-2450/interactive-sourcemeter-2450_reference-manual_4033478634.webp)
Model 2450 Interactive SourceMeter® Instrument Reference Manual
Section 8: TSP command reference
2450-901-01 Rev. B/September 2013
8-103
smu.measure.func
This attribute selects which type of measurement is active: current, voltage, or resistance.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW) Yes
Restore configuration
Instrument reset
Power cycle
Measure configuration list
Configuration script
Measure configuration list
smu.FUNC_DC_CURRENT
Usage
mFunction
= smu.measure.func
smu.measure.func =
mFunction
mFunction
The measurement function:
•
Voltage measurement:
smu.FUNC_DC_VOLTAGE
•
Current measurement:
smu.FUNC_DC_CURRENT
•
Ohms measurement:
smu.FUNC_RESISTANCE
Details
Set this command to the type of measurement you want to make.
Reading this attribute returns the function that is presently active.
When you select a function, settings for other commands that are related to the function become active. For
example, assume that:
•
You had selected resistance previously and set the math function set to reciprocal.
•
You changed to the voltage function and set the math function to percent.
If you return to the resistance function, the math function returns to reciprocal. If you then switch from the
resistance function to the voltage function, the math function returns to percent. All attributes that begin with
smu.measure.
will change settings based on the selected function unless otherwise indicated in the command
description.
Example
smu.measure.func = smu.FUNC_DC_VOLTAGE
smu.measure.math.format = smu.MATH_PERCENT
smu.measure.math.enable = smu.ON
smu.measure.func = smu.FUNC_RESISTANCE
smu.measure.math.format = smu.MATH_RECIPROCAL
smu.measure.math.enable = smu.ON
print(smu.measure.math.format)
smu.measure.func = smu.FUNC_DC_VOLTAGE
print(smu.measure.math.format)
Sets the instrument to measure voltage
and set the math format to percent and
enable the math functions.
Set the instrument to measure resistance
and set the math format to reciprocal and
enable the math functions.
Print the math format while the
resistance measurement function is
selected. The output is:
smu.MATH_RECIPROCAL
Change the function to voltage. Print the
math format. The output is:
smu.MATH_PERCENT
Also see
(on page 8-135)
(on page 8-140)