The Command And Parameter Registers - Agilent Technologies E1326B User Manual

5 1/2 digit multimeter
Hide thumbs Also See for E1326B:
Table of Contents

Advertisement

The Command and
Parameter Registers
Address
base + 08
Address
base + 0A
204
HP E1326B/E1411B Multimeter Register-Based Programming
Commands and their parameters are opcodes written to the Command and
Parameter Registers.
15 - 8
Not Used
16
15 - 8
Not Used
16
Command Structure. Multimeter commands consist of a command
opcode and a parameter opcode (which may be optional). The opcodes
must be in 2's complement binary format when written to the registers.
An example of how to write to the Command and Parameter Registers is
shown in the following statements. The statements set the multimeter
function (command opcode 4) to DC voltage (parameter opcode 0):
!Write command
iwpoke((unsigned short *)(base_addr_dmm + 0x08),4)
!Write parameter
iwpoke((unsigned short *)(base_addr_dmm + 0x0A),0)
When the command and parameter are received, the multimeter processor
checks for the proper syntax and range. If an error is found, the NOERR bit in
the Status Register is cleared (0), and operation continues (if it is possible).
Note
When you are writing (sending) commands and parameters, the multimeter
needs time to process the current command before the next command is sent.
7
6
5
Command Opcode
7
6
5
Parameter Opcode
4
3
2
4
3
2
Appendix C
1
0
1
0

Advertisement

Table of Contents
loading

This manual is also suitable for:

E1411b

Table of Contents