Model DMM7510 7½ Digit Multimeter User's Manual
Section 7: Sampling temperature at a set time interval
DMM7510-900-01 Rev. B / May 2015
7-5
Using TSP
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 makes a series of temperature measurements. 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 the default settings
reset()
--Establish variables to make a measurement every 60 seconds 1440 times (24 hours)
MeasCount = 1440
MeasInterval = 60
--Set to measure temperature
dmm.measure.func = dmm.FUNC_TEMPERATURE
--Configure to measure 4-wire RTD
dmm.measure.transducer = dmm.TRANS_FOURRTD
--Enable the detection of open leads
dmm.measure.opendetector = dmm.ON
--Select 4-wire RTD type to be a PT100 sensor
dmm.measure.fourrtd = dmm.RTD_PT100
--Set the number of power line cycles to 1
dmm.measure.nplc = 1
--Enable offset compensation for more accurate readings
dmm.measure.offsetcompensation.enable = dmm.ON
--Display the GRAPH swipe screen
display.changescreen(display.SCREEN_GRAPH_SWIPE)
--Set up timer 1
trigger.timer[1].reset()
--Timer delays each time the timer is triggered
trigger.timer[1].delay = MeasInterval
--Set the notify 1 event to trigger the start of timer
trigger.timer[1].start.stimulus = trigger.EVENT_NOTIFY1
--Generate the timer event once when the timer delay elapses
trigger.timer[1].start.generate = trigger.OFF
--Enable the timer to perform delay operation
trigger.timer[1].enable = trigger.ON
北京海洋兴业科技股份有限公司(证券代码:839145)
电话:010-62176775
网址:www.hyxyyq.com