Section 8: Grading and binning resistors
Model DMM7510 7½ Digit Multimeter User's Manual
8-6
DMM7510-900-01 Rev. B / May 2015
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
.
This sequence of TSP commands will grade resistors into established bins of accuracy. After the
code executes, the data is displayed in the Instrument Console of Test Script Builder.
Send the following commands for this example application:
-- Reset the instrument to default settings
reset()
-- Create a user-defined reading buffer that can store up to 1 million readings
bufferVar = buffer.make(1000000)
bufferVar.clear()
--Set the measure function to 4-wire resistance
dmm.measure.func = dmm.FUNC_4W_RESISTANCE
-- Set the number of power line cycles 1 PLC
dmm.measure.nplc = 1
-- Immediately update autozero reference measurements and then disable the autozero
function
dmm.measure.autozero.once()
-- Enable offset compensation for more accurate resistance reading
dmm.measure.offsetcompensation.enable = dmm.ON
-- Configure digital I/O lines 1 through 4 as digital outputs. These I/O lines are
used to output binning code to component handler
digio.line[1].mode = digio.MODE_DIGITAL_OUT
digio.line[2].mode = digio.MODE_DIGITAL_OUT
digio.line[3].mode = digio.MODE_DIGITAL_OUT
digio.line[4].mode = digio.MODE_DIGITAL_OUT
-- Clear digital I/O lines to 0
digio.line[1].state = digio.STATE_LOW
digio.line[2].state = digio.STATE_LOW
digio.line[3].state = digio.STATE_LOW
digio.line[4].state = digio.STATE_LOW
-- Configure digital I/0 line 5 as a trigger input used to detect
-- the start-of-test trigger from the component handler
digio.line[5].mode = digio.MODE_TRIGGER_IN
-- Set trigger detector to detect falling edge
trigger.digin[5].edge = trigger.EDGE_FALLING
-- Configure digital I/0 line 6 as a trigger output used to send
北京海洋兴业科技股份有限公司(证券代码:839145)
电话:010-62176775
网址:www.hyxyyq.com