Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Using and Troubleshooting the GPIB-VXI/C

RREG?

Purpose: Read a 16-bit VXI configuration register from a device.

Query Syntax: RREG? <logical address>, <reg offset>

where <logical address> is the device to read from and <reg offset>

is the number of bytes to offset from the base of the VXI configuration registers (in the memory space C000-FFFE of the A16 address space) for that device.

Response: Program response:

<hex word value><CRLF>

Console response:

Value 0x<hex word value> (<word value>) read from Logical Address

<logical address>, Register offset 0x<reg offset><CRLF>

For example, if you want to read the Device Type register, which resides in offset 2 of the configuration space in the A16 address space, of a device with LA 19 you would type in IBIC:

Ibwrt "rreg? 19,2"

Ibrd 100

 


Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality?   Answered Your Question? 
  1 2 3 4 5
Please Provide Additional Feedback below
Please visit Request Support for product support inquiries. submit