6½ Digit Multimeter User's Manual Section 7:
Scanning temperature at a set time interval
DMM6500-900-01Rev. A / April 2018 7-5
Using SCPI commands
This sequence of SCPI commands executes a thermocouple-based temperature scan every minute
for 24 hours.
You may need to make changes so that this code will run in your programming environment. In the
table, the SCPI commands have a light gray background. The light green shaded code represents
pseudocode that will vary depending on the programming environment you use.
Make sure the TERMINALS switch is set to REAR.
Send the following commands for this example application:
The scan count is 24 * 60; the channel count (chanCount) is 9; total number of readings (totalRdgs)
is scanCount * chanCount
Commands Descriptions
TRAC:POIN totalRdgs,
"defbuffer1"
Set the scan count to 12,960
Set the function to temperature
Set up all channels to use degrees celsius
Set up channel 1 reference junction
Set the transducer type to thermocouple
Set thermocouple type to K
TEMP:TC:RJUN:RSEL EXT, (@2:10)
Set the reference junction to external
Set the scan-to-scan delay to 60 sec
ROUT:SCAN:COUN:SCAN 12960
Set the scan count to 12,960 (24hrs * 60s * 9chan)
ROUT:SCAN:EXP "/usb1/scan24hr",
EACH, ALL
Prepare the scan to export the buffer to USB after each
Enable restart on power loss
TRAC:DATA? 1, totalRdgs,
"defbuffer1\", READ
Read out all data after scan completes