Chapter 5 Command Reference
Serial-Port Command/Printer Interface
Operating and Programming Manual
105
Serial-Port Command/Printer Interface
The following paragraphs describe the operation of the serial-port command and
printer interface.
Mode Selection
The serial port may be connected either to a printer or to a device which issues
SCPI commands via RS-232C. The primary distinction is whether the instrument
generates text in response to internal events.
For example, the serial port may be configured so that the instrument sends text
only in response to SCPI commands. You may also configure it so that the serial
port announces all changes in the state of the instrument. This sort of
configuration is available on the front panel in the config/log screen. Set
DISABLED if you want the serial port to be mute unless requested to respond.
Set VERBOSE for detailed status and event reporting.
Pacing
The serial port supports both XON/XOFF (software) and DTR/DSR pacing.
Both pacing features are always enabled. The DSR input of the serial
port is pulled up by a resistor so that it is transparent if not connected.
Many RS-232C printers support this pacing arrangement. Some also
support XON/XOFF. XON/XOFF is also useful when using a terminal.
XOFF is the same as control-S, while XON is control-Q.
The Prompt
The SCPI program parser prints a prompt whenever ready for another command.
If no errors are in the queue, the prompt appears as: scpi>.
The prompt string ends with a space (ASCII 32).
If there are errors in the queue, the prompt reflects the number of the most recent
unread error in the queue. For example, E-100>.
You can read errors from the queue using the syst:err? query. This prints the
error number and a short description of the error, popping that message from the
queue. When the queue is clear, the prompt returns to its normal form. Note: you
can clear the queue without reading the messages using the IEEE common *CLS
command.
End-Of-Line Characters
The 5071A will receive lines terminated with CR (ASCII 13 decimal), LF
(ASCII 10 decimal), or one followed immediately by the other, in either order.
There is no support for IEEE 488 <EOI>. The instrument always terminates
formatted output lines with <CR> and <LF>. (See also Prompt above.)
NOTE
Содержание 5071A
Страница 2: ......
Страница 28: ...Preface xxvi Operating and Programming Manual ...
Страница 29: ...____________________________________________ Chapter 1 Getting Started Getting Started ...
Страница 32: ...Chapter 1 Getting Started The 5071A at a Glance 4 Operating and Programming Manual ...
Страница 33: ...Chapter 1 Getting Started The 5071A at a Glance Operating and Programming Manual 5 ...
Страница 34: ...Chapter 1 Getting Started The 5071A at a Glance 6 Operating and Programming Manual 48V OPTION REAR PANEL VIEW ...
Страница 40: ...Chapter 1 Getting Started Performing Basic Tasks 12 Operating and Programming Manual ...
Страница 41: ...____________________________________________ Chapter 2 Using the 5071A Using the 5071A ...
Страница 57: ...____________________________________________ Chapter 3 In Case of Difficulty In Case of Difficulty ...
Страница 97: ...____________________________________________ Chapter 5 Command Reference Command Reference ...
Страница 119: ...Chapter 5 Command Reference Description of SCPI Commands Operating and Programming Manual 91 ...
Страница 136: ...Chapter 5 Command Reference Error Messages Codes 108 Operating and Programming Manual ...
Страница 137: ...____________________________________________ Chapter 6 Specifications Specifications ...
Страница 145: ...____________________________________________ Chapter 7 Installation Installation ...
Страница 162: ...Chapter 7 Installation Cesium Beam Tube Replacement 134 Operating and Programming Manual ...
Страница 163: ...____________________________________________ Appendix A Performance Tests Performance Tests Verifying Specifications ...
Страница 186: ...Appendix A Performance Tests 5071A PERFORMANCE TEST 158 Operating and Programming Manual ...
Страница 187: ...____________________________________________ Appendix B Glossary Glossary ...
Страница 190: ...Appendix B Glossary 5071A Glossary 162 Operating and Programming Manual ...