Section 4: Sampling temperature at a set time interval
Model DMM7510 7½ Digit Multimeter Application Manual
4-4
DMM7510-904-01 Rev. D March 2021
Using SCPI commands
This sequence of SCPI commands makes temperature readings 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-brown shaded code represents
pseudocode that will vary depending on the programming environment you use.
Ensure that the TERMINALS switch is set to REAR.
Send the commands in the following table to set up and run this example application.
Command
Description
*RST
▪
Reset the DMM7510.
MeasCount = 1440
MeasInterval = 60
▪
Define variables to make a measurement
every 60 seconds for 24 hours (1440
times).
:SENSe:FUNCtion "TEMPerature"
:SENSe:TEMPerature:TRANsducer FRTD
:SENSe:TEMPerature:RTD:FOUR PT100
:SENSe:TEMPerature:ODETector ON
:SENSe:TEMPerature:NPLCycles 1
:SENSe:TEMPerature:OCOMpensated ON
:DISPlay:SCReen GRAPh
:TRIGger:TIMer1:DELay MeasInterval
:TRIGger:TIMer1:STARt:STIMulus NOTify1
:TRIGger:TIMer1:STARt:GENerate OFF
:TRIGger:TIMer1:STATe ON
:TRIGger:BLOCk:WAIT 1, DISPlay
:TRIGger:BLOCk:NOTify 2, 1
:TRIGger:BLOCk:MDIGitize 3, "defbuffer1"
:TRIGger:BLOCk:WAIT 4, TIMer1
:TRIGger:BLOCk:BRANch:COUNter 5, MeasCount, 2
:INIT
▪
Set the instrument to measure
temperature.
▪
Set the transducer type to 4-wire RTD.
▪
Set the RTD to type PT100.
▪
Enable the detection of open leads.
▪
Set NPLC to 1.
▪
Enable offset compensation.
▪
Switch to the GRAPH swipe screen.
▪
Set up timer 1 with delay time of
MeasInterval
.
▪
Set the notify 1 event to trigger the start
of the timer.
▪
Generate a timer event once when the
timer delay elapses.
▪
Enable the timer.
▪
Set trigger model block 1 to wait for
front-panel TRIGGER key press.
▪
Set block 2 to send NOTIFY1 to start the
timer.
▪
Set block 3 to make a measurement and
store it in
defbuffer1
.
▪
Set block 4 to wait for the timer 1 event
after the delay elapses.
▪
Set block 5 to go to block 2
MeasCount
times.
▪
Initiate the trigger model.