Table Of Contents

Map Address (G Dataflow)

Version:
    Last Modified: March 3, 2017

    Maps a memory space.

    The memory space that this function maps depends on the type of interface specified by session in and address space. After the window is mapped, VISA keeps track of the window that is mapped. VISA can map only one window for each VISA session.

    connector_pane_image
    datatype_icon

    address space

    The address space.

    The following table lists the valid entries for specifying address space:

    Name Value Description
    VXI/VME A16 1 The A16 address space of a VXI or VME device.
    VXI/VME A24 2 The A24 address space of a VXI or VME device.
    VXI/VME A32 3 The A32 address space of a VXI or VME device.
    VXI/VME A64 4 The A64 address space of a VXI or VME device.
    PXI Memory Allocations 9 A physical, locally allocated address space.
    PXI Configuration 10 The PXI configuration address space.
    PXI BAR0 - PXI BAR5 11-16 PXI memory or I/O address space 0 through 5.

    Default: VXI/VME A16

    datatype_icon

    session in

    The resource to be used.

    datatype_icon

    error in

    Error conditions that occur before this node runs.

    The node responds to this input according to standard error behavior.

    Standard Error Behavior

    Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

    error in does not contain an error error in contains an error
    If no error occurred before the node runs, the node begins execution normally.

    If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

    If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

    Default: No error

    datatype_icon

    map base

    The offset, in bytes, of the memory to be mapped.

    The type of resource determines how map base specifies the offset.

    INSTR Specific Details

    The map base specified in Map Address for an INSTR resource is the offset address relative to the device's allocated address base for the corresponding address space you specified. For example, if address space specifies VXI/VME A16, map base specifies the offset from the logical address base address of the specified device. If address space specifies VXI/VME A24, VXI/VME A32, or VXI/VME A64, map base specifies the offset from the base address of the VXI device's memory space allocated by the VXI Resource Manager within VXI/VME A24, A32, or A64 space.

    MEMACC Specific Details

    For a MEMACC resource, map base specifies an absolute address.

    Default: 0

    datatype_icon

    map size

    The amount of memory to map.

    datatype_icon

    session out

    The resource to which a VISA session is opened.

    This output also includes the class for the session, which matches that of session in.

    datatype_icon

    error out

    Error information.

    The node produces this output according to standard error behavior.

    Standard Error Behavior

    Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

    error in does not contain an error error in contains an error
    If no error occurred before the node runs, the node begins execution normally.

    If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

    If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: Not supported


    Recently Viewed Topics