DMM6500 6½ Digit Multimeter User's Manual
Section 6: Measuring 4-wire resistance with offset compensation
DMM6500-900-01Rev. A / April 2018
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
. 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 DMM6500
Reference Manual
.
To use other programming environments, you may need to make changes to the example TSP code.
By default, the DMM6500 uses 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. Set the Command Set to
TSP
.
4. At the prompt to reboot, select
Yes
.
This sequence of TSP commands initiates 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 DMM6500 to the default settings.
reset()
--Set the measure function to 4-wire resistance.
dmm.measure.func = dmm.FUNC_4W_RESISTANCE
--Enable autorange.
dmm.measure.autorange = dmm.ON
--Enable autozero.
dmm.measure.autozero.enable = dmm.ON
--Enable offset compensation.
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())