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

Using and Troubleshooting the GPIB-VXI/C

WREG?

Purpose: Write a 16-bit VXI configuration register on a particular device.

Query Syntax: WREG <logical address>, <reg offset>, <value>

where <logical address> is the device to write, <reg offset> is the register offset from the base of the VXI configuration registers ( in the memory space C000-FFFE of the A16 address space ) to write to, and <value> is the 16-bit value to write.

Action: Write <value> to <logical address>, register offset <reg offset>.

For example, if you want to write the Data Low register for a logical address 19 with the value 65535, you would type in IBIC:

Note: When the console data mode is enabled, you can see the result of the operation by doing issuing a GPIB read command.



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