VXI:REGister:WRITe

:REGister:WRITe VXI:REG:WRITe? < register> ,< data> writes to the specified 16 bit register at the selected logical address (see VXI:SELect). The data is a 16 bit value specified as a numeric value in the range of -32768 to 32767 or 0 to 65535. The register is specified as the byte address of the desired register or optionally as the register name.

Parameters

Parameter

Parameter

Range of

Default

 

Name

Type

Values

Units

 

 

 

 

 

 

register

numeric

even numbers from 0 to 62 or

none

 

 

 

register name (see below)

 

 

 

 

 

 

 

data

numeric

-32768 to 65535

none

Comments

• The register parameter can be all even numbers from 0 to 62 inclusive (as

 

a < numeric_value> ) or the following (optional) words:

 

CONTrol: Control Register (4)

DEXTended: Data Extended register (10)

DHIGh: Data High register (12)

DLOW: Data Low register (14)

ICONtrol: Interrupt Control register (28)

MODid: MODID register (8)

LADDress: Logical Address register (0)

OFFSet: Offset register (6)

SIGNal: Signal register (8)

Related Commands: VXI:SEL, VXI:REG:READ?

Example Write to a register on the currently selected device

VXI:REG:WRIT? DHIG,64

writes "64’ to the Data High

 

register

Reset? VXI:RESET? resets the selected logical address. SYSFAIL generation is inhibited while the device is in the self test state. The command waits for 5 seconds or until the selected device has indicated passed (whichever occurs first). If the device passes its self test SYSFAIL generation is re-enabled. If the device fails its self test SYSFAIL generation remains inhibited. The return value from this command is the state of the selected device after it has been reset. The command returns an integer encoded as followed.

0 = FAIL

2 = PASS

3 = READY

The state of the A24/A32 enable bit is not altered by this command

Comments

Related Commands: VXI:SEL

7-62 System Instrument Command Reference

Page 190
Image 190
Agilent Technologies E1300B, E1301B, 75000 SERIES B user manual VXIREGisterWRITe, Related Commands Vxisel