
9.5 Communication Methods
108
Compound Command Header Omission
When several commands having a common header are combined to form a compound com-
mand (e.g.,
:CALCulate:LIMit:REFerence
and
:CALCulate:LIMit:PERCent
),
if they are written together in sequence, the common portion (here,
:CALCulate:LIMit:
)
can be omitted after its initial occurrence.
This common portion is called the “current path” (analogous to the path concept in computer
file storage), and until it is cleared, the interpretation of subsequent commands presumes that
they share the same common portion.
This usage of the current path is shown in the following example:
Full expression
:CALCulate:LIMit:REFerence
1.0E+3;:CALCulate:LIMit:PERCent 1.0,-1.5
Compacted expression
:CALCulate:LIMit:REFerence 1.0E+3;PERCent 1.0,-1.5
The current path is cleared when the power is turned on, when reset by key input, by a colon
“:” at the start of a command, and when a message terminator is detected.
Standard command messages can be executed regardless of the current path.
They have no effect upon the current path.
A colon “:” is not required at the start of the header of a Simple or Compound command. How-
ever, to avoid confusion with abbreviated forms and operating mistakes, we recommend
always placing a colon at the start of a header.
Output Queue
Response messages are stored in the output queue until read by the controller. The output
queue is also cleared in the following circumstances:
• Power on
• Device clear
• Query Error
The output queue capacity of the instrument is 64 bytes. If response messages overflow the
buffer, a query error is generated and the output queue is cleared.
Also, with GP-IB, if a new message is received while data remains in the output queue, the
output queue is cleared and a query error is generated.
Input Buffer
The input buffer capacity of the instrument is 256 bytes.
If 256 bytes are allowed to accumulate in this buffer so that it becomes full, the GP-IB inter-
face bus enters the waiting state until space is cleared in the buffer.
The RS-232C interface will not accept data beyond 256 bytes.
This portion becomes the current path, and can be omitted from the messages immedi-
ately following.
Output Queue and Input Buffer
Ensure that the no command ever exceeds 256 bytes.
Содержание RM3542
Страница 2: ......
Страница 6: ...Contents iv ...
Страница 16: ...Operating Precautions 10 ...
Страница 26: ...1 3 Screen Organization 20 ...
Страница 32: ...2 3 Turning the Power On and Off 26 ...
Страница 46: ...3 8 Confirming Faulty Measurements 40 ...
Страница 64: ...4 12 Compensating for Thermal EMF Offset Offset Voltage Compensation OVC 58 ...
Страница 84: ...6 4 Auto Exporting Measured Values at End of Measurement Data Output Function 78 ...
Страница 90: ...7 3 Printing 84 ...
Страница 172: ...9 10 Device Compliance Statement 166 ...
Страница 190: ...11 4 Disposing of the Instrument 184 ...
Страница 200: ...Appendix 5 Dimensional Diagram A10 Appendix 5 Dimensional Diagram ...
Страница 214: ...Index Index 4 ...
Страница 215: ......
Страница 216: ......
Страница 217: ......
Страница 218: ......