Addressing The Registers; Register Access With Logical Address; Register Access With Memory Mapping - Keysight E1459A User & Scpi Programming Manual

64-channel isolated input interrupt module
Table of Contents

Advertisement

Addressing the Registers

Addressing the Registers

Register Access with Logical Address

Register Access with Memory Mapping

Keysight E1459A/Z2404B User and SCPI Programming Guide
To read or write to specific registers you must address a particular
register within a module. The registers within a module are located
using a fixed offset. The module address is based upon the module's
logical address. There are two basic ways of accessing registers. One
method uses the logical address directly to access a particular card
using VXI:READ and VXI:WRITE commands through a command
module. The other method can be used with an embedded controller
that locates A16 data space within its memory map. The memory
mapping allows registers to be directly read or written with moves
to/from memory.
The factory setting of the logical address dip switch is 144 (90 hex).
This value is used in the following examples.
When using the Keysight E1406 Command Module to access registers
via VXI:READ and VXI:WRITE commands, the logical address is used
to determine which VXI module is being accessed.
Refer to the Keysight E1406 Command Module documentation for
usage of the VXI:READ and VXI:WRITE commands and other
related commands.
The following commands are sent to the Keysight E1406 Command
Module via the GPIB. The following example shows a portion of an
BASIC program. The controller could either be external or embedded
in the VXI Mainframe. This example shows the Status/Control Register
being accessed.
! Writes FFFF hex to Control Register
OUTPUT 70900;"VXI:WRITE 144,4,#HFFFF"
! Reads from Status Register
OUTPUT 70900;"VXI:READ? 144,4"
ENTER 70900;Status
When using an embedded controller VXI A16 address space is usually
mapped to some block of memory within the controllers addressable
memory space.
Keysight E1459A Register Definitions
85

Advertisement

Table of Contents
loading

This manual is also suitable for:

Z2404a

Table of Contents