Model 2700 Multimeter/Switch System User’s Manual Basic DMM Operation 3-55
Basic measurement programming examples
Example #1 — continuous triggering
The following command sequence places the Model 2700 in a continuous trigger mode to
measure ACV. Whenever DATA? is sent, the last measured reading will be sent to the
computer when the Model 2700 is addressed to talk.
NOTE The following example can be run from the KE2700 Instrument Driver using the
example named “CTMMV” in
Table H-1 of Appendix H.
SYST:PRES ' Continuous measurement mode (INIT:CONT ON).
FUNC 'VOLT:AC' ' Select ACV function.
DATA? ' Request last measured reading.
Example #2 — one-shot triggering
The following command sequence places the Model 2700 in a one-shot trigger mode to
measure offset-compensated ohms. Whenever READ? is sent, a measurement will be
triggered, and the measured reading will be sent to the computer when the Model 2700 is
addressed to talk.
NOTE The following example can be run from the KE2700 Instrument Driver using the
example named “Ohmm” in
Table H-1 of Appendix H.
*RST ' One-shot measurement mode (INIT:CONT OFF).
FUNC 'FRES' ' Select Ω4 function.
FRES:RANG 1e3 ' Select 1kΩ range.
FRES:OCOM ON ' Enable offset-compensated ohms.
READ? ' Trigger and return one reading.
Example #3 — temperature measurement using Model 7700
The following command sequence places the Model 2700 in a one-shot trigger mode to
perform a thermocouple temperature measurement at channel 101 (Model 7700 switching
module installed in slot 1). With channel 101 closed, the INIT command triggers one
measurement, and the DATA? command sends the measured reading to the computer
when it is addressed to talk.
*RST ' One-shot measurement mode (INIT:CONT OFF).
FUNC 'TEMP' ' Select TEMP function.
UNIT:TEMP F ' Select °F TEMP units.
TEMP:TRAN TC ' Select thermocouple transducer.
TEMP:TC:TYPE J ' Select type J thermocouple.
TEMP:RJUN:RSEL SIM ' Select simulated reference junction.
TEMP:RJUN:SIM 32 ' Set reference temperature to 32°F (ice point).
ROUT:CLOS (@101) ' Close channel 101.
INIT ' Trigger one measurement.
DATA? ' Return measured reading.