Télécharger Imprimer la page

Keysight Technologies 3458A Guide D'utilisation page 112

Multimètre

Publicité

3
Configuring for Measurements
60 OUTPUT 722;"TRIG SGL"
70 OUTPUT 722; "SUBEND"
80 END
If you create a new subprogram using the same name as an existing subprogram,
the new subprogram overwrites the old subprogram.
Executing a subprogram
To execute a stored subprogram, issue the CALL command along with the
subprogram's name. For example, to execute the preceding subprogram, send:
OUTPUT 722;"CALL DCCUR1"
When the input buffer (discussed later in this chapter) is off, the multimeter
NOTE
does not release the GPIB until the completion of the subprogram or a PAUSE
command (discussed below) is encountered. Refer to
later in this chapter for information on how to release the bus immediately after
calling a subprogram. To abort subprogram execution, send the GPIB Device
Clear command.
From the front panel, you can view all stored subprogram names by accessing the
CALL command and pressing the up or down arrow key. Once you have found the
correct subprogram, press the Enter key to execute the subprogram.
Suspending subprogram execution
You can temporarily suspend subprogram execution by including the PAUSE
command in the stored subprogram. The multimeter executes subprograms on a
command-by-command basis. When it encounters the PAUSE command,
subprogram execution is suspended and, if the subprogram was called from
remote, the GPIB bus is released. For example, the following program has a
PAUSE command in line 60.
10 OUTPUT 722; "SUB 2"
20 OUTPUT 722;"MEM FIFO"
30 OUTPUT 722;"TRIG HOLD"
40 OUTPUT 722;"DCV 10"
112
Using the Input
Buffer,
Keysight 3458A User's Guide

Publicité

loading