8: TSP command reference Model 2461 Interactive SourceMeter® Instrument
8-150 2461-901-01 A/November 2015
When the moving average filter is selected, the measurements are added to the stack continuously
on a first-in, first-out basis. As each measurement is made, the oldest measurement is removed from
the stack. A new averaged sample is produced using the new measurement and the data that is now
in the stack.
When the moving average filter is first selected, the stack is empty. When the first measurement is
made, it is copied into all the stack locations to fill the stack. A true average is not produced until the
stack is filled with new measurements. The size of the stack is determined by the filter count setting.
The repeating average filter produces slower results, but produces more stable results than the
moving average filter. For either method, the greater the number of measurements that are averaged,
the slower the averaged sample rate, but the lower the noise error. Trade-offs between speed and
noise are normally required to tailor the instrumentation to your measurement application.
Example
smu.measure.func = smu.FUNC_DC_CURRENT
smu.measure.filter.count = 10
smu.measure.filter.type = smu.FILTER_MOVING_AVG
smu.measure.filter.enable = smu.ON
Set the measurement function to
current.
Set the averaging filter type to moving
average, with a filter count of 10.
Enable the averaging filter.
Also see
Filtering measurement data (on page 4-23)
smu.measure.filter.count (on page 8-148)
smu.measure.filter.enable (on page 8-148)
smu.measure.func
This attribute selects the active measure function.
Type TSP-Link accessible Affected by Where saved Default value
Instrument reset
Power cycle
Measure configuration list
Measure configuration list
Usage
mFunction = smu.measure.func
smu.measure.func = mFunction
The measurement function:
• Voltage measurement: smu.FUNC_DC_VOLTAGE
• Current measurement: smu.FUNC_DC_CURRENT
• Ohms measurement: smu.FUNC_RESISTANCE
• No measure function selected (read only):