Instructions
Table Of Contents
- Model DMM6500 6½-Digit Multimeter User's Manual
- 1 Introduction
- 2 Front-panel overview
- 3 Using a remote interface
- 4 Making basic front-panel measurements
- 5 Measuring DC voltage with high accuracy
- 6 Measuring 4-wire resistance with offset compensation
- 7 Scanning temperature at a set time interval
- 8 Grading and binning resistors
- 9 Measuring power using digitizing and TSP-Link
- 10 Troubleshooting FAQs
- About this section
- Where can I find updated drivers?
- Is there any software to help me get started?
- Why did my settings change?
- Why can't the DMM6500 read my USB flash drive?
- How do I upgrade the firmware?
- How do I change the command set?
- How do I save the present state of the instrument?
- How do I save what is displayed on the screen?
- What is the ethernet port number?
- 11 Next steps
- Contact information
Model DMM6500
6½ Digit Multimeter User's Manual Section 7:
Scanning temperature at a set time interval
DMM6500-900-01 Rev. B / August 2019 7-7
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.
Make sure the TERMINALS switch is set to REAR.
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).
local scanCnt = 24 * 60 -- 1440 minutes = 24 hours
local chanCnt = 10
local totalRdgs = scanCnt * chanCnt
-- Empty the buffer and set it to the capacity calculated by totalRdgs.
defbuffer1.clear()
defbuffer1.capacity = totalRdgs
-- Set up the channels to measure temperature using type K thermocouples using internal
reference junction.
channel.setdmm("1:10", dmm.ATTR_MEAS_FUNCTION, dmm.FUNC_TEMPERATURE)
channel.setdmm("1:10", dmm.ATTR_MEAS_UNIT, dmm.UNIT_CELSIUS)
channel.setdmm("1:10", dmm.ATTR_MEAS_NPLC, 1)
channel.setdmm("1:10", dmm.ATTR_MEAS_DIGITS, dmm.DIGITS_5_5)
channel.setdmm("1", dmm.ATTR_MEAS_TRANSDUCER, dmm.TRANS_CJC2001)
channel.setdmm("2:10", dmm.ATTR_MEAS_TRANSDUCER, dmm.TRANS_THERMOCOUPLE)
channel.setdmm("2:10", dmm.ATTR_MEAS_THERMOCOUPLE, dmm.THERMOCOUPLE_K)
channel.setdmm("2:10", dmm.ATTR_MEAS_REF_JUNCTION, dmm.REFJUNCT_EXTERNAL)
-- Set up the scan; channel 2 is first available channel on a 2001-TCSCAN card.
scan.create("2:10")
scan.scancount = scanCnt
-- Set the amount of time for each scan.
scan.scaninterval = 60.0
-- Write the data to a USB flash drive at the end of the scan.
scan.export("/usb1/scan24hr", scan.WRITE_AFTER_SCAN, buffer.COL_ALL)
-- Enable scan restart on power loss
scan.restart = scan.ON
-- Start the scan.
trigger.model.initiate()
waitcomplete()
-- Get the data.
printbuffer(1, defbuffer1.n, defbuffer1)










