Télécharger Imprimer la page

Keysight Technologies 3458A Guide D'utilisation page 360

Multimètre

Publicité

6
Command Reference
– Any subprogram named 0 will be automatically executed whenever the
– Subprograms are stored in continuous memory (not lost when power is
– Related commands: CALL, COMPRESS, CONT, DELSUB, PAUSE, SCRATCH,
Examples
10 OPTION BASE 1 !COMPUTER ARRAY NUMBERING STARTS AT 1
20 DIM RDGS(5) !DIMENSION ARRAY FOR 5 READINGS
30 OUTPUT 722;"SUB DCCUR2" !STORES FOLLOWING LINES NAMED DCCUR2
40 OUTPUT 722;"PRESET NORM" !PRESETS
50 OUTPUT 722;"MEM FIFO" !ENABLES FIFO MODE OF READING MEMORY
60 OUTPUT 722;"DCV, 10, .01" !DC VOLTAGE, 10 V RANGE, .01% RESOLUTION
70 OUTPUT 722; "NRDGS,5,AUTO" !5 READINGS PER TRIGGER, AUTO EVENT
80 OUTPUT 722;"TRIG SGL" !SPECIFIES THE SINGLE TRIGGER MODE
90 OUTPUT 722; "SUBEND" !SIGNALS THE END OF SUBPROGRAM STORAGE
100 OUTPUT 722;"DISP MSG 'CALLING SUBPROGRAM'"
110 OUTPUT 722; "CALL DCCUR2"
120 ENTER 722;Rdgs(*)
130 PRINT Rdgs(*)
140 END
When the following subprogram is called (CALL EXTPACE), the multimeter
executes it line-by-line until it encounters TARM EXT (line 70). Subprogram
execution then ceases until an external trigger occurs. This allows you to
synchronize subprogram execution to some external event. After the first external
trigger is received, subprogram execution resumes. When the next line is
encountered (TRIG SGL), subprogram execution ceases until the 1000 readings
are taken. After the readings are taken, the subprogram changes the
measurement function to 2-wire ohms and the number of readings to 100. When
the second TARM EXT command is encountered (line 100), subprogram execution
360
multimeter has finished its power-on sequence. This is useful to recall the
multimeter's previous state (RSTATE 0) following a power failure.
removed). If you compress a subprogram, however, (COMPRESS command)
the subprogram is removed from continuous memory and will be destroyed
when power is removed.
SUBEND
Keysight 3458A User's Guide

Publicité

loading