Agilent Technologies E1465A Automobile Parts User Manual


 
Register-Based Programming 83Appendix B
Appendix B
Register-Based Programming
About This Appendix
This appendix contains information you can use for register-based
programming of the E1465A, E1466A, and E1467A Relay Matrix Switch
modules. The contents include:
Register Programming vs. SCPI Programming . . . . . . . . . . . .83
Addressing the Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .83
Register Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .86
Programming Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .90
Register Programming vs. SCPI Programming
The E1465A Relay Matrix Switch modules are register-based modules that
do not support the VXIbus word serial protocol. When a SCPI command is
sent to the module, the E1406 Command Module parses the command and
programs the switch at the register level.
NOTE If SCPI is used to control this module, register programming is not
recommended. The SCPI driver maintains an image of the card state.
The driver will be unaware of changes to the card state if you alter the
card state by using register writes.
Register-based programming is a series of reads and writes directly to
the module registers. This increases throughput speed since it eliminates
command parsing and allows the use of an embedded controller. Also, if
slot 0, the resource manager, and the computer GPIB interface are provided
by other devices, a C-size system can be downsized by removing the
command module.
Addressing the Registers
Register addresses for register-based devices are located in the upper
25% of VXI A16 address space. Every VXI device (up to 256 devices) is
allocated a 32-word (64-byte) block of addresses. With 19 registers, the
E1465A/E1466A/E1467A modules each use 19 of the 64 addresses
allocated.