Smu.digitize.math.enable - Keithley 2461 Reference Manual

1kw pulse mode interactive sourcemeter instrument
Table of Contents

Advertisement

Model 2461 Interactive SourceMeter® Instrument Reference Manual

smu.digitize.math.enable

This attribute enables or disables math operations on measurements for the selected digitize function.
Type
TSP-Link accessible
Attribute (RW)
Yes
Usage
value = smu.digitize.math.enable
smu.digitize.math.enable = value
value
Details
When this command is set to on, the math operation specified by the math format command is
performed before completing a measurement.
Example
smu.digitize.func = smu.FUNC_DIGITIZE_VOLTAGE
smu.digitize.math.format = smu.MATH_PERCENT
smu.digitize.count = 1
smu.digitize.math.percent = smu.digitize.read()
smu.digitize.math.enable = smu.ON
smu.digitize.count = 5
MathBuffer = buffer.make(100)
smu.digitize.read(MathBuffer)
printbuffer(1, MathBuffer.n, MathBuffer.formattedreadings)
smu.digitize.count = 1
for x = 1, 3 do
print(smu.digitize.read(MathBuffer))
end
Configure the instrument for digitize voltage.
Set math format to percent.
Acquire 1 reading to use as the relative percent value.
Take 5 readings with percent math enabled and store them in a buffer called MathBuffer that can store 100
readings.
Take three additional readings.
Sample output assuming no load was connected to the instrument:
-100.00 %, -100.00 %, -100.00 %, -100.00 %, -100.00 %
-100.00058257
-99.999126228
-99.998932056
Also see
Calculations that you can apply to measurements
smu.digitize.math.format
2461-901-01 A/November 2015
Affected by
Restore configuration
Instrument reset
Power cycle
Measure configuration list
The math enable setting:
Disable: smu.OFF
Enable: smu.ON
(on page 3-82)
(on page 8-120)
Section 8: TSP command reference
Where saved
Configuration script
Measure configuration list
Default value
smu.OFF
8-119

Advertisement

Table of Contents
loading

Table of Contents