Program Timing And Execution - HP E1563A User Manual

Table of Contents

Advertisement

Program Timing and Execution

System
Configuration
Programming
Example
130 HP E1563A and E1564A Register-Based Programming
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.
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.
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.
Appendix B

Advertisement

Table of Contents
loading

This manual is also suitable for:

E1564a

Table of Contents