7½ Digit Multimeter User's Manual Section 6: Measuring 4-
wire resistance with offset compensation
DMM7510-900-01 Rev. B / May 2015 6-5
Using TSP commands
The following TSP code is designed to be run from Keithley Instruments Test Script Builder (TSB).
TSB is a software tool that is available from the Keithley Instruments website. You can install and
use TSB to write code and develop scripts for TSP-enabled instruments. Information about how to
use TSB is in the online help for TSB and in the “Introduction to TSP operation” section of the Model
DMM7510 Reference Manual.
To use other programming environments, you may need to make changes to the example TSP code.
By default, the Model DMM7510 is configured to use the SCPI command set. You must select the
TSP command set before sending TSP commands to the instrument.
To enable TSP commands:
1. Press the MENU key.
2. Under System, select Settings.
3. For Command Set, select TSP.
4. At the prompt to reboot, select Yes.
In this example, the Model DMM7510 makes one resistance reading. After the code is executed, the
data is displayed in the Instrument Console of Test Script Builder.
Send the following commands for this example application:
--Reset the Model DMM7510 to the default settings
reset()
--Set the measure function to 4-wire resistance
dmm.measure.func = dmm.FUNC_4W_RESISTANCE
--Enable autozero (set to dmm.OFF to disable)
dmm.measure.autozero.enable = dmm.ON
--Enable offset compensation (set to dmm.OFF to disable)
dmm.measure.offsetcompensation.enable = dmm.ON
--Set the number of power line cycles to 1
dmm.measure.nplc = 1
--Read the resistance value
print(dmm.measure.read())
Test results
The results of a low-resistance measurement test using a 20 Ω resistor are shown in the table below.
For example, if the resistor specification a tolerance of ±0.1 % and a temperature coefficient of
±15 ppm/°C, a compliant resistor measures between 19.97 Ω and 20.03 Ω.
Offset compensation Resistance
Ω
北京海洋兴业科技股份有限公司(证券代码:839145)