
Model 2461 Interactive SourceMeter® Instrument Reference Manual
Section 8: TSP command reference
2461-901-01 A/November 2015
8-169
Example
print(smu.measure.readwithtime())
Print the last measurement and time information in UTC format, which will look similar to:
-1.405293589829e-11 1400904629 0.1950935
Also see
(on page 8-143)
trigger.model.load() — SimpleLoop
(on page 8-270)
smu.measure.rel.acquire()
This function acquires a measurement and stores it 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 instrument to make a new measurement for the selected function. This
measurement is then stored as the new relative offset level.
When you send this command, the instrument does not apply any math, limit test, or filter settings to
the measurement, even if they are set. It is a measurement that is made as if these settings are
disabled.
If an error event occurs during the measurement,
nil
is returned and the relative offset level remains
at the last valid setting.
You must change to the function for which you want to acquire a value before sending this command.
The instrument must have relative offset enabled to use the acquired relative offset value.
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.
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-170)
(on page 8-171)