VXI :REGister:READ?

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

Example Read from one of a device’s configuration registers

VXI:READ? 8,0

read ID register on device at

 

Logical Address 8

enter statement

enter value from device register

:REGister:READ? VXI:REG:READ? < register> returns the contents of the specified 16 bit register at the selected logical address as an integer (see VXI:SELect). 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)

 

 

 

 

 

 

Comments

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

 

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

 

A24Low: A24 Pointer Low register (18)

A24High: A24 Pointer High register (16)

A32Low: A32 Pointer Low register (22)

A32High: A32 Pointer High register (20)

ATTRibute: Attribute register (8)

DHIGh: Data High register (12)

DLOW: Data Low register (14)

DTYPe: Device Type register (2)

ICONtrol: Interrupt control register (28)

ID: ID register (0)

ISTatus: Interrupt Status register (26)

MODid: MODID register (8)

OFFSet: Offset register (6)

PROTocol: Protocol register (8)

RESPonse: Response register (10)

SNHigh: Serial Number High register (10)

SNLow: Serial Number Low register (12)

STATus: Status register (4)

SUBClass: Subclass register (30)

VNUMber: Version Number register (14)

Related Commands: VXI:SEL, VXI:REG:WRIT

Example Read from a register on the currently selected device

VXI:READ? CONT

Read from the control register

 

of the currently seected device

System Instrument Command Reference 7-61

Page 189
Image 189
Agilent Technologies E1301B, E1300B VXI REGisterREAD?, Example Read from one of a device’s configuration registers