Télécharger Imprimer la page

Keysight Technologies 3458A Guide D'utilisation page 305

Multimètre

Publicité

Command Reference
6
50 OUTPUT 722;"TRIG AUTO" !AUTO TRIGGER MODE
60 ENTER 722;A(*) !ENTER READINGS
70 PRINT A(*) !PRINT READINGS
80 END
In the following example, SYN is specified for the trigger arm, trigger, and sample
events. Five readings per trigger are specified. A single occurrence of the SYN
event (line 60) satisfies the trigger arm, trigger, and the first sample event and
initiates the first reading. Four more SYN events (one for each reading) are then
required to initiate the remaining four readings.
10 OPTION BASE 1 !COMPUTER ARRAY NUMBERING STARTS AT 1
20 DIM Rdgs(5) !DIMENSION ARRAY FOR READINGS
30 OUTPUT 722;"PRESET NORM" !SYN TRIGGER EVENT, DCV, NPLC 1, MEM OFF
40 OUTPUT 722;"TARM SYN" !SYN TRIGGER ARM EVENT
50 OUTPUT 722;"NRDGS 5, SYN" !5 READINGS/TRIGGER, SYN SAMPLE EVENT
60 ENTER 722;Rdgs(*) !SYN EVENT, ENTER READINGS
70 PRINT Rdgs(*) !PRINT READINGS
80 END
TIMER
The following program makes 4 readings in response to the synchronous trigger
(line 60). The first reading is made immediately after the preprogrammed default
delay; the remaining 3 have a 200 ms interval between them.
10 OPTION BASE 1 !COMPUTER ARRAY NUMBERING STARTS AT 1
20 DIM Rdgs(4) !DIMENSION ARRAY FOR READINGS
30 OUTPUT 722;"PRESET NORM" !TARM AUTO,TRIG SYN,DCV AUTORANGE
40 OUTPUT 722;"TIMER 200E-3" !SETS TIMER INTERVAL TO 200 m SECONDS
50 OUTPUT 722;"NRDGS 4,TIMER" !SELECTS 4 READINGS/TRIGGER & TIMER
60 ENTER 722;Rdgs(*) !TRIGGER AND ENTER READINGS
70 PRINT Rdgs(*) !PRINT READINGS
80 END
Keysight 3458A User's Guide
305

Publicité

loading