User manual

Table Of Contents
Part 6: IEEE 488.2 Command Reference
CMR?
Description
The CMR? query reads and clears the contents of the Command Error Register (refer to the following
table for details), which specifies the last syntax error type detected by your oscilloscope.
Query Syntax
CMR?
Response Format
CMR <code>
<code>:= 0 to 13
Example (GPIB)
The following instruction reads the contents of the CMR register:
CMD$="CMR?": CALL IBWRT(SCOPE%,CMD$):
CALL IBRD(SCOPE%,RSP$): PRINT RSP$
Related Commands
ALL_STATUS?, *CLS
CMR (Command Error) Status Register Structure
Code Message
1 Unrecognized command/query header.
2 Illegal header path.
3 Illegal number.
4 Illegal number suffix.
5 Unrecognized keyword.
6 String error.
7 GET embedded in another message.
10 Arbitrary data block expected.
11 Non-digit character in byte count field of arbitrary data block.
12 EOI detected during definite length data block transfer.
13 Extra bytes detected during definite length data block transfer.
6-127