Example
Send a Message to a Message-Based Device at Logical Address 16
VXI:SEND 16,"MEAS:VOLT:DC?"
Send command to message-based
multimeter (last by is sent with
END bit set).
VXI:REC? 16
Retrieve voltage measurement.
: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
Error
+2003,
"Invalid
word
address"
.
•
Specifying a logical address not currently in use in the system will
cause
Error
+2005,
"No
card
at
logical
address"
.
•
If the command module is the resource manager, it can write to any
device within the mainframe. If the command module is not the
resource manager, it can only write to those devices within its
servant area.
•
<
logical_addr
>
must be specified in decimal.
<
register_addr
>
and
<
data
>
may be specified in decimal, hex (
#H
), octal (
#Q
),
or binary (
#B
) format.
•
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:REGister:WRITe
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.
Chapter 5
Agilent E1406A Command Reference 213
Содержание E1406A
Страница 2: ......
Страница 14: ...Notes 12 Agilent E1406A Command Module User s Manual ...
Страница 15: ...Notes Agilent E1406A Command Module User s Manual 13 ...
Страница 16: ...Notes 14 Agilent E1406A Command Module User s Manual ...
Страница 90: ......
Страница 91: ......
Страница 92: ......
Страница 93: ......
Страница 94: ......
Страница 95: ......
Страница 96: ......
Страница 97: ......
Страница 98: ......
Страница 99: ......
Страница 100: ......
Страница 101: ......
Страница 102: ......
Страница 120: ...Notes 118 Triggering and System Status Chapter 4 ...
Страница 179: ... DIAG BOOT COLD will set PARity to NONE Chapter 5 Agilent E1406A Command Reference 177 ...
Страница 240: ...Notes 238 Agilent E1406A Command Reference Chapter 5 ...
Страница 252: ...Notes 248 Agilent E1406A Specifications and General Information Appendix A ...