Command Reference
6
Example
10 OUTPUT 722;"SUB OHMAC1" !STORES SUBPROGRAM NAMED OHMAC1
20 OUTPUT 722;"PRESET NORM" !SUSPENDS TRIGGERING, PRESET
30 OUTPUT 722;"MEM FIFO" !ENABLES READING MEMORY, FIFO MODE
40 OUTPUT 722;"OHM" !SELECTS 2-WIRE OHMS MEASUREMENTS
50 OUTPUT 722;"NRDGS 5" !SELECTS 5 READINGS PER TRIGGER
60 OUTPUT 722;"TRIG SGL" !GENERATES A SINGLE TRIGGER
70 OUTPUT 722;"PAUSE" !SUSPENDS PROGRAM EXECUTION
80 OUTPUT 722;"ACV" !SELECTS AC VOLTAGE MEASUREMENTS
90 OUTPUT 722;"NRDGS 10" !SELECTS 10 READINGS PER TRIGGER
100 OUTPUT 722;"TRIG SGL" !GENERATES A SINGLE TRIGGER
110 OUTPUT 722;"SUBEND" !SIGNIFIES THE END OF THE SUBPROGRAM
120 END
When you call the above subprogram, the multimeter executes the subprogram
line by line. Lines 20 through 60 cause the multimeter to make five 2-wire ohms
readings and place them in reading memory. When line 70 is encountered,
subprogram execution ceases. A subsequent CONT command or Group Execute
Trigger resumes program execution. Lines 80 through 100 then cause the
multimeter to make 10 AC voltage readings and place them in reading memory.
When the subprogram is finished, a total of 15 readings are in memory. To call the
above subprogram, send:
OUTPUT 722;"CALL OHMAC1"
After the five 2-wire ohms readings are complete, connect an AC voltage source
to the multimeter. Subprogram execution is resumed by sending the CONT
command or by executing (on the controller):
TRIGGER 7
Keysight 3458A User's Guide
315