Télécharger Imprimer la page

Keysight Technologies 3458A Guide D'utilisation page 402

Multimètre

Publicité

7
BASIC Language for the 3458A
system controller. The following program shows how to list the subprogram
DMM_CONF to your system controller.
10 DIM A$[100]
20 OUTPUT 722; "LIST DMM_CONF"
30 REPEAT
40
50
60 UNTIL A$="SUBEND"
70 END
COMPRESS
The COMPRESS command removes the text of the specified subprogram from
internal memory (the subprogram is no longer stored in non-volatile memory and
is lost when power is removed). This saves space in internal memory but
eliminates the ability to list (LIST command) the subprogram. The COMPRESS
command should be used only after the subprogram has been debugged and
tested.
Execution Commands
Subprogram execution commands control the execution of a subprogram. The
syntax statements for the subprogram execution commands are shown below.
CALL sub_name
PAUSE
CONT
Subprogram CALL
The CALL command executes the named subprogram and waits for completion
before executing other commands This means that no subsequent commands are
accepted (either from the GPIB interface or the front-panel keyboard) until the
subprogram finishes. The Ready Bit (bit 4 in the 3458AA Status Register) remains
"0" while the subprogram is executing. When the subprogram finishes execution,
the Ready Bit is set to "1" indicating that the 3458AA is ready to receive additional
commands.
The CALL command may also be used in a subprogram to call another
subprogram. This provides the expanded capability of "nested" subprograms.
When using nested subprograms, the calling subprogram is suspended so that
402
ENTER 722; A$
PRINT A$
Keysight 3458A User's Guide

Publicité

loading