When you look up a query in this programmer’s reference, you’ll find a
paragraph labeled "Returned Format" under the one labeled "Query." The
syntax definition by "Returned Format" will always show the instruction
header in square brackets, like
[:SYSTem:MENU]
, which means the text
between the brackets is optional. It is also a quick way to see what the
header looks like.
White Space
White space is used to separate the instruction header from the instruction
parameters. If the instruction does not use any parameters, white space
does not need to be included. White space is defined as one or more spaces.
ASCII defines a space to be a character, represented by a byte, that has a
decimal value of 32. Tabs can be used only if your controller first converts
them to space characters before sending the string to the system.
Instruction Parameters
Instruction parameters are used to clarify the meaning of the command or
query. They provide necessary data, such as whether a function should be on
or off, which waveform is to be displayed, or which pattern is to be looked
for. Each instruction’s syntax definition shows the parameters, as well as the
range of acceptable values they accept. This chapter’s "Parameter Data
Types" section has all of the general rules about acceptable values.
When there is more than one parameter, they are separated by commas (,).
White space surrounding the commas is optional.
Instruction Terminator
An instruction is executed after the instruction terminator is received. The
terminator is the NL (New Line) character. The NL character is an ASCII
linefeed character (decimal 10).
The NL (New Line) terminator has the same function as an EOS (End Of
String) and EOT (End Of Text) terminator.
Introduction to Programming
Instruction Terminator
1–8
Содержание 16501A LOGIC
Страница 2: ...ii ...
Страница 12: ...Contents 8 ...
Страница 14: ......
Страница 15: ...1 Introduction to Programming ...
Страница 38: ...1 24 ...
Страница 39: ...2 Programming Over HP IB ...
Страница 45: ...3 Programming Over RS 232 C ...
Страница 55: ...4 Programming Over LAN ...
Страница 68: ...4 14 ...
Страница 69: ...5 Programming and Documentation Conventions ...
Страница 75: ...Figure 5 1 HP 16500C Command Tree Programming and Documentation Conventions The Command Tree 5 7 ...
Страница 81: ...6 Message Communication and System Functions ...
Страница 86: ...Figure 6 1 Example syntax diagram Message Communication and System Functions Syntax Diagrams 6 6 ...
Страница 88: ...Figure 6 2 program message Parse Tree Message Communication and System Functions Syntax Overview 6 8 ...
Страница 91: ...7 Status Reporting ...
Страница 93: ...Figure 7 1 Status Byte Structures and Concepts Status Reporting 7 3 ...
Страница 97: ...Figure 7 2 Service Request Enabling Status Reporting Key Features 7 7 ...
Страница 100: ...Figure 7 3 Parallel Poll Data Structure Status Reporting Parallel Poll 7 10 ...
Страница 105: ...8 Error Messages ...
Страница 106: ...Introduction This chapter lists the error messages that relate to the HP 16500C Logic Analysis System 8 2 ...
Страница 110: ...8 6 ...
Страница 112: ......
Страница 113: ...9 Common Commands ...
Страница 116: ...Figure 9 1 Common Commands Syntax Diagram Common Commands 9 4 ...
Страница 122: ...Figure 9 2 IST Data Structure Common Commands IST Individual Status 9 10 ...
Страница 132: ...9 20 ...
Страница 133: ...10 Mainframe Commands ...
Страница 135: ...Figure 10 1 Mainframe Commands Syntax Diagram Mainframe Commands 10 3 ...
Страница 136: ...Figure 10 1 continued Mainframe Commands Syntax Diagram continued Mainframe Commands 10 4 ...
Страница 154: ...Figure 10 2 Select Command Tree Only available when an HP 16501A is connected Mainframe Commands SELect 10 22 ...
Страница 159: ...11 SYSTem Subsystem ...
Страница 161: ...Figure 11 1 System Subsystem Commands Syntax Diagram SYSTem Subsystem 11 3 ...
Страница 172: ...11 14 ...
Страница 173: ...12 MMEMory Subsystem ...
Страница 175: ...Figure 12 1 MMEMory Subsystem Commands Syntax Diagram MMEMory Subsystem 12 3 ...
Страница 176: ...Figure 12 1 Continued MMEMory Subsystem Commands Syntax Diagram Continued MMEMory Subsystem 12 4 ...
Страница 177: ...Figure 12 1 Continued MMEMory Subsystem Commands Syntax Diagram Continued MMEMory Subsystem 12 5 ...
Страница 198: ...12 26 ...
Страница 199: ...13 INTermodule Subsystem ...
Страница 201: ...Figure 13 1 Intermodule Subsystem Commands Syntax Diagram INTermodule Subsystem 13 3 ...
Страница 202: ...Figure 13 1 continued Intermodule Subsystem Commands Syntax Diagram continued INTermodule Subsystem 13 4 ...
Страница 216: ...13 18 ...
Страница 217: ...14 TGTctrl Subsystem ...
Страница 219: ...Figure 14 1 Targetcontrol Subsystem Commands Syntax Diagram TGTctrl Subsystem 14 3 ...
Страница 220: ...Figure 14 1 continued Targetcontrol Subsystem Commands Syntax Diagram TGTctrl Subsystem 14 4 ...
Страница 233: ...Part 3 15 Programming Examples 15 1 Programming Examples ...
Страница 234: ......
Страница 235: ...15 Programming Examples ...