Model 2450 Interactive SourceMeter® Instrument Reference Manual
Section 8: TSP command reference
2450-901-01 Rev. B/September 2013
8-121
smu.measure.rel.acquire()
This function acquires an internal measurement to store as the relative offset value.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
relativeValue
= smu.measure.rel.acquire()
relativeValue
The internal measurement acquired for the relative offset value
Details
This command triggers the Model 2450 to make a new measurement for the selected function. This
measurement is then stored as the new relative offset level setting.
When you send this command, the measurement is made without applying any math, limit test, or filter settings,
even if they are set. It is a reading as if these settings are disabled.
After executing this command, you can use the
smu.measure.rel.level
attribute to see the last relative level
value that was acquired or that was set.
If an error occurs during the measurement,
nil
is returned and the relative offset level remains at the last valid
setting.
Example
smu.measure.func = smu.FUNC_DC_VOLTAGE
rel_value = smu.measure.rel.acquire()
smu.measure.rel.enable = smu.ON
Acquires a relative offset level value for voltage
measurements and turns the relative offset
feature on.
Also see
(on page 8-121)
(on page 8-122)
smu.measure.rel.enable
This attribute enables or disables the relative offset value.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Restore configuration
Instrument reset
Power cycle
Measure configuration list
Function change
Configuration script
Measure configuration list
smu.OFF
Usage
relEnable
= smu.measure.rel.enable
smu.measure.rel.enable =
relEnable
relEnable
Relative measurement control:
•
Disable relative measurements:
smu.OFF
or 0
•
Enable relative measurements:
smu.ON
or
1