Télécharger Imprimer la page

Keysight Technologies 3458A Guide D'utilisation page 400

Multimètre

Publicité

7
BASIC Language for the 3458A
Subprogram Command Types
The 3458AA's subprogram-related commands are used only within subprograms.
Subprogram definition and deletion commands deal with the storage. viewing,
and deletion of subprograms from internal memory. Execution commands control
execution of subprograms from inside or outside a subprogram.
Definition/Deletion commands
Subprogram definition and deletion commands identify the beginning and end of
subprograms, store and delete subprograms from memory, and list the
subprograms presently stored in internal memory.
The syntax statements for the subprogram definition and deletion commands are
shown below.
SUB sub_name
SUBEND
DELSUB sub_name
SCRATCH
CAT
LlST sub_name
COMPRESS sub_name
SUB/SUBEND
Every 3458AA subprogram must contain a SUB and SUBEND command. The SUB
command must be the first line in all 3458AA subprograms. It identifies where the
subprogram begins and assigns the name to the subprogram. When the SUB
command is executed, the 3458AA begins storing the subprogram in internal
memory.
The SUBEND command must be the last line in all 3458AA subprograms. It
identifies where the subprogram ends and also terminates the entry of the
subprogram. Commands listed between the SUB and SUBEND commands are
executed, in order, every time the subprogram is executed.
Only one SUB and one SUBEND command is allowed in any one subprogram.
Additional SUB or SUBEND commands will generate errors.
400
Keysight 3458A User's Guide

Publicité

loading