Télécharger Imprimer la page

Keysight Technologies 3458A Guide D'utilisation page 128

Multimètre

Publicité

4
Making Measurements
Making single readings
The NRDGS command specifies the number of readings made per trigger event
and the sample event that initiates each reading. In the power-on, RESET, PRESET
NORM, or PRESET FAST state, the number of readings per trigger is set to 1 and
the sample event is AUTO (NRDGS 1,AUTO). In any of these states, you can
initiate a single reading by executing the TARM SGL or TRIG SGL command
(depending on which event, if any, is suspending readings). For example, the
following program resets the multimeter and suspends readings by setting the
trigger arm event to HOLD. The configuration is changed (lines 30-50) and line 60
initiates a single reading, which is transferred to the controller and displayed.
After the single reading, the trigger arm event becomes HOLD, which suspends
readings.
10 OUTPUT 722;"RESET"!RESET, ALL TRIGGERING EVENTS AUTO
20 OUTPUT 722;"TARM HOLD"!SUSPEND READINGS
30 OUTPUT 722;"DCV 10"!DC VOLTAGE, 10 V RANGE
40 OUTPUT 722;"NPLC 1"!1 PLC INTEGRATION TIME
50 OUTPUT 722;"AZERO OFF"!AUTOZERO OFF
60 OUTPUT 722;"TARM SGL"!TRIGGER 1 READING
70 ENTER 722;A!ENTER READING
80 PRINT A!PRINT READING
90 END
In the PRESET NORM state, readings are suspended because the trigger event is
set to SYN (the SYN event is discussed later in this chapter). In this state, you can
initiate a single reading using the TRIG SGL command. For example, in the
following program, line 10 suspends readings by setting the trigger event to SYN.
Line 20 initiates a single reading and the reading is transferred to the controller
and displayed. Following execution of the TRIG SGL command, the trigger event
becomes HOLD which suspends readings.
10 OUTPUT 722;"PRESET NORM"!TARM AUTO, TRIG SYN, NRDGS 1,AUTO
20 OUTPUT 722;"TRIG SGL"!GENERATE SINGLE TRIGGER
30 ENTER 722;A!ENTER READING
40 PRINT A!PRINT READING
50 END
128
Keysight 3458A User's Guide

Publicité

loading