VI_ATTR_WIN_ACCESS

NI-VISA

VI_ATTR_WIN_ACCESS

Resource Classes

FireWire INSTR, GPIB-VXI INSTR, GPIB-VXI MEMACC, PXI INSTR, PXI MEMACC, VXI INSTR, VXI MEMACC

Attribute Information

Access Privilege Data Type Range Default

Read Only
Local

ViUInt16

VI_NMAPPED (1)
VI_USE_OPERS (2)
VI_DEREF_ADDR (3)

VI_NMAPPED

Description

VI_ATTR_WIN_ACCESS specifies the modes in which the current window may be accessed.

  • If VI_NMAPPED, the window is not currently mapped.
  • If VI_USE_OPERS, the window is accessible through the viPeekXX() and viPokeXX() operations only.
  • If VI_DEREF_ADDR, you can either use operations or directly dereference the mapped address as a pointer.


Related Topics

INSTR Resource

MEMACC Resource

VI_ATTR_WIN_ACCESS_PRIV

VI_ATTR_WIN_BASE_ADDR/VI_ATTR_WIN_BASE_ADDR_32/VI_ATTR_WIN_BASE_ADDR_64

VI_ATTR_WIN_BYTE_ORDER

VI_ATTR_WIN_SIZE/VI_ATTR_WIN_SIZE_32/VI_ATTR_WIN_SIZE_64

viMapAddress/viMapAddressEx

viPeek8/viPeek16/viPeek32/viPeek64

viPoke8/viPoke16/viPoke32/viPoke64