25
────────────────────────────────────────────────────
6.8 Abbreviation of Compound Commands
────────────────────────────────────────────────────
This becomes the current path, and can be
curtailed from the following commands.
6.8 Abbreviation of Compound Commands
When several compound commands have a common head portion (for example,
:CONFigure:CURRent and :CONFigure:RUPPer, etc.), then, when and only
when writing them directly following on from one another, this common
portion (:CONFigure in this example) can be omitted from each command
except for the first one.
This common portion is called "the current path", by analogy with the general
concept of the current directory in the directory structure of UNIX or MSDOS,
and until it is cleared the analysis of following commands is performed by
deeming them to be preceded by the current path which has been curtailed in
the interests of brevity. This manner of using the current path is shown in
the following example:
Normal expression
:CONFigure:CURRent
_
25.0;:CONFigure:RUPPer
_
0.100
Abbreviated expression
:CONFigure:CURRent
_
25.0;RUPPer
_
0.100
The current path is cleared when the power is turned on, when a colon (:)
appears at the start of a command, and when a delimiter is detected.
Messages with particular headers can be executed without relation to the
current path. Further, they have no effect upon the current path.
With the 3157, there are 4 possible current paths:
:CONFigure:
:MEASure:
:MEMory:
:SYSTem:
Содержание 9593-02
Страница 2: ......
Страница 6: ...ii Introduction...
Страница 16: ...10 2 3 Specifications...
Страница 76: ...70 8 1 Sample program Flowchart...
Страница 86: ...80 8 2 Sample programs...
Страница 88: ...82...
Страница 89: ......
Страница 90: ......
Страница 91: ......
Страница 92: ......