Pause - Agilent Technologies 3458A User Manual

Hide thumbs Also See for 3458A:
Table of Contents

Advertisement

PAUSE

Syntax
Remarks
Example
Suspends subprogram execution. The subprogram can be resumed using the
CONT command or by executing the GPIB Group Execute Trigger command.

PAUSE

The PAUSE command is allowed only within a subprogram.
Only one subprogram will be preserved in a suspended state. If a subprogram
is paused and another is run which also becomes paused, the first will be
terminated and the second will remain suspended.
With the input buffer off (INBUF OFF command), the GPIB bus is normally
held by the multimeter until a called subprogram is completely executed. If a
PAUSE command is encountered in a subprogram, the GPIB bus is released
immediately.
Nested PAUSE commands are not allowed; that is, when a subprogram is called
from another subprogram, the called subprogram cannot contain a PAUSE
command.
Query Command. The PAUSE? query command returns a response indicating
whether a subprogram is currently paused. The possible responses are YES
(numeric query equiv. = 1) indicating a subprogram is paused, or NO (numeric
query equiv. = 0).
Related Commands: CALL, COMPRESS, CONT, DELSUB, TRIGGER
(GPIB command), SCRATCH, SUB, SUBEND
10 OUTPUT 722;"SUB OHMAC1"
20 OUTPUT 722;"PRESET NORM"
30 OUTPUT 722;"MEM FIFO"
40 OUTPUT 722;"OHM"
50 OUTPUT 722;"NRDGS 5"
60 OUTPUT 722;"TRIG SGL"
70 OUTPUT 722;"PAUSE"
80 OUTPUT 722;"ACV"
90 OUTPUT 722;"NRDGS 1O"
100 OUTPUT 722;"TRIG SGL"
110 OUTPUT 722;"SUBEND"
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.
!STORES SUBPROGRAM NAMED OHMAC1
!SUSPENDS TRIGGERING, PRESET
!ENABLES READING MEMORY, FIFO MODE
!SELECTS 2-WIRE OHMS MEASUREMENTS
!SELECTS 5 READINGS PER TRIGGER
!GENERATES A SINGLE TRIGGER
!SUSPENDS PROGRAM EXECUTION
!SELECTS AC VOLTAGE MEASUREMENTS
!SELECTS 10 READINGS PER TRIGGER
!GENERATES A SINGLE TRIGGER
!SIGNIFIES THE END OF THE SUBPROGRAM
Chapter 6 Command Reference
PAUSE
215

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents