Reading and Writing to to 16-bit Words to Registers (High Level Register Access)

Publish Date: Sep 06, 2006 | 1 Ratings | 1.00 out of 5 | Print | Submit your review
This example reads in the 16-bit register at the offset specified with the Offset to Read control from the specified address space. The offset is relative to the base of the memory set for the VXI or VME device specified in the Resource Name. VISA does not use absolute addressing unless you use a session to a MEMACC resource.

This example also moves in 4 16-bit words starting at the same Offset to Read. Alternatively, there are functions to perform 8 and 32-bit accesses. Some instruments will only allow register accesses of certain widths and will return bus errors if the correct width is not used.

Back to Top

Bookmark & Share


Downloads

Attachments:

visa.llb

Requirements


Ratings

Rate this document

Answered Your Question?
Yes No

Submit