Agilent Technologies E1300B Computer Hardware User Manual


 
:WRITe VXI:WRITe < logical_addr>,<register_addr>,<data> allows access to the
entire 64 byte A16 register address space for the device specified by
logical_addr. Since the VXIbus system is byte-addressed, while the registers are
16 bits wide, registers are specified by even addresses only. This method of
identifying registers follows the VXIbus standard format.
Parameters Parameter
Name
Parameter
Type
Range of
Values
Default
Units
logical_addr decimal
numeric
Must round to 0 through 255 none
register_addr numeric must round to an even value
from 0 through 62 (3E
h
)
none
data numeric must round to -32768 to 32767
(0 to FFFF
h
)
none
Comments Specifying an odd register address will cause an error 2003,"Invalid word
address".
Specifying a logical address not currently in use in the system will cause
an error 2005,"No card at logical address".
Logical_addr must be specified in decimal. Register_addr and data may
be specified in decimal, hex (# H), octal (# Q), or binary (# B).
This command has been retained for compatibility with existing
programs. For new programs you should use the VXI:REG:WRIT
command.
Accesses are 16-bit non-privileged data accesses.
Related Commands: VXI:READ?, VXI:REG:WRIT
Example Write a value into a device’s device dependent register.
VXI:WRIT 8,24,# H4200 write hex 4200 (16,896
decimal) to register 24 of device
at Logical Address 8
VXI:WRITe
7-64 System Instrument Command Reference