16
────────────────────────────────────────────────────
4.8 Abbreviation of Compound Commands
────────────────────────────────────────────────────
This becomes the current path, and can be
curtailed from the following commands.
4.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 message terminator is
detected.
Messages of standard command form can be executed without relation to the
current path. Further, they have no effect upon the current path.
It is not necessary to prefix a colon (:) at the start of headers of simple
commands and compound commands. However, in order to prevent confusion
with abbreviated forms and mistakes in operation, it is recommended practice
always to prefix ":" to headers.
With the 3157, there are 4 possible current paths:
:CONFigure:
:MEASure:
:MEMory:
:SYSTem:
Summary of Contents for 9518-02
Page 1: ...GP IB INTERFACE INSTRUCTION MANUAL 9518 02 3157 AC GROUNDING HiTESTER...
Page 2: ......
Page 6: ...ii Introduction...
Page 74: ...68 5 6 Initialization Items...
Page 84: ...78...