
Programming the Enhanced Monitor
47
Chapter 3
Linking
Commands
Linking IEEE 488.2 Common Commands with SCPI Commands. Use a
semicolon (;) between the commands. For example:
*RST;
SYSTem:VERSion?
or
SYSTem:VERSion?
;*RST
Linking Multiple SCPI Commands. Use both a semicolon (;)and a colon (:)
between the commands. For example:
SYST:COMM:SER:BAUD 19200;:SYST:COMM:SER:BITS 8
Programming Examples
This section contains SCPI program examples that demonstrate how to read history
data from the enhanced monitor, perform the self test, set and verify limit warnings.
The program examples are written in ANSI C language with HP VISA extensions.
To run one of these programs you must have the HP SICL Library, the HP VISA
library, an HP-IB interface module installed in an external PC, an HP E1406
Command Module, and the enhanced monitor in either the HP E8402A or E8404A
VXI mainframe.
The following program examples are developed with the ANSI C language using the
HP VISA extensions. The program was written and tested in Microsoft Visual C++
®
but can be compiled under any standard ANSI C compiler.
A more complete Enhanced Monitor setup example is provided on the HP Universal
Instrument Drivers CD ROM in the directories:
\examples\hpe8402
\examples\hpe8404
Summary of Contents for E8402A
Page 8: ...10 Contents ...
Page 12: ...14 Notes ...
Page 14: ......
Page 26: ...28 Getting Started Chapter 1 ...
Page 42: ...44 Using the Enhanced Monitor Chapter 2 ...
Page 214: ...216 Servicing Your Mainframe Chapter 5 ...
Page 226: ...228 HP E8402 E8404A Product Specifications Appendix A ...