Chapter 4 Remote Operation and Programming
Batch Processing for the Program Commands
60
Operating and Programming Manual
SCPI Considerations For HP BASIC
You can also use an HP 9000 Series 200/300 Instrument Controller with HP
BASIC to operate the 5071A remotely. The following considerations require
your attention as you attempt to utilize SCPI commands that follow protocols
optimized for GP-IB or IEEE-488 bus parallel data transfer, status reporting, and
SRQ polling.
SCPI on RS-232C
The SCPI protocol has been adapted to fit the communication requirements of the
5071A. On one hand this facilitates extremely convenient programming, as a
serial terminal can be used. On the other hand, some complexities arise since
full-duplex communication is usually required, data is in serial form, and no
control lines are available. The most important features added to the SCPI
protocol for serial operation are as follows:
• Each character in the command string sent to the instrument is echoed back
to the sender immediately.
• Any command must be terminated with suitable characters.
• Following the execution of any command, the instrument outputs a prompt
sequence, indicating that it is ready for more commands.
• The prompt sequence indicates whether an operational or communication
error has occurred while attempting to execute the command.
• The error prompt is removed by reading the error.
• If the command sent to the instrument generates a response, the response is
emitted as soon as it is ready.
More details of the serial protocol can be found in Chapter 5, ―Serial-Port
Command/Printer Interface.‖
An IEEE-488.2 to RS232 converter can also be used to drive the 5071A from an
IEEE-488.2 interface. The converter must provide buffering for the incoming
serial data since the serial port of the 5071A uses full-duplex operation.
Full-Duplex Communication
The normal mode of serial communication for the 5071A is full-duplex.
The instrument echoes the command sequence, thus emitting
characters while others are being received. If an instrument
controller is to be used to control the 5071A, it must buffer incoming
data while sending data. If the loss of data-rate is acceptable, it is
possible to suppress full-duplex operation using the XON/XOFF
protocol. In the following example, full-duplex operation is assumed.
Содержание 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 ...