The Command and
Parameter Registers
Address
base + 08
16
Address
base + 0A
16
Note
204
HP E1326B/E1411B Multimeter Register-Based Programming
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Commands and their parameters are opcodes written to the Command and
Parameter Registers.
15 - 8
7
6
Not Used
15 - 8
7
6
Not Used
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).
When you are writing (sending) commands and parameters, the multimeter
needs time to process the current command before the next command is sent.
5
4
3
2
Command Opcode
5
4
3
2
Parameter Opcode
1
0
1
0
Appendix C