
130
HP E1563A and E1564A Register-Based Programming
Appendix B
Program Timing and Execution
This section contains generalized flowcharts and comments for performing
these and other procedures. The flowcharts identify the registers used and
the status bits monitored to ensure execution of the program.
System
Configuration
The following C language example programs were developed on an HP
RADI-EPC7 VXI embedded computer using Microsoft® Visual C++
programming language and using HP VISA I/O calls. You can also use an
HP Vectra (IBM PC compatible) computer connected via HP-IB to the HP
E1406A slot 0 Command Module. The command module simply provides
direct access to the VXI backplane.
If you use the HP E1406A with SCPI commands, you would use the
HPE1563A/E1564A SCPI driver which you installed in the HP E1406A
firmware and register programming would not be necessary. Chapter 3
describes the SCPI commands for the digitizer’s driver.
Programming
Example
The example program in this section demonstrates how to direct register
program the digitizer. The following example program contains segments
that:
1. Read the ID and Device Type Registers.
2. Read the Status Register.
3. Make digitizer measurements.
4. Retrieve the last readings from each channel’s CVT register.
5. Retrieve all the readings from the two cache registers.
6. Reset the module.
Summary of Contents for E1563A
Page 8: ......
Page 24: ...24 Digitizer Module Set up ...
Page 84: ...84 Digitizer Command Reference ...
Page 110: ...110 ...
Page 138: ...138 HP E1563A and E1564A Register Based Programming Appendix B ...
Page 156: ...156 HP E1563A and E1564A Verification Tests ...