Reads a 16-bit value from the address location specified by offset.

You must use the VISA Map Address function to map the address before you call this function. The address must be a valid memory address in the current process.


icon

Inputs/Outputs

  • cvsrn.png VISA resource name

    VISA resource name specifies the resource to be opened. The VISA resource name control also specifies the session and class.

  • cu32.png offset (0)

    offset contains the offset, in bytes, from the register location originally mapped in the mapped memory space.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • ivsrn.png VISA resource name out

    VISA resource name out is a copy of the VISA resource name that VISA functions return.

  • iu16.png value

    value contains the read data.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.

  • If you use NI I/O Trace to debug this function, enable the Force peek/poke calls to appear in NI I/O Trace option in Measurement & Automation Explorer (Windows), visaconf (Linux), or NI-VISA Configuration (Mac OS X). If you do not enable this function, NI I/O Trace might not log this function.