Error Codes Description VI_ERROR_INV_SESSION The given session or object reference is invalid (both VI_ERROR_INV_OBJECT are the same value). VI_ERROR_NSUP_OPER The given does not support this operation. vi VI_ERROR_RSRC_LOCKED Specified operation could not be performed because the resource identified by has been locked for this vi kind of access. VI_ERROR_INV_SPACE Invalid address space specified. VI_ERROR_INV_OFFSET Invalid offset specified. (continues) Error Codes Description VI_ERROR_NSUP_OFFSET Specified region is not accessible from this hardware. VI_ERROR_INV_SIZE Invalid size of window specified. VI_ERROR_INV_ACC_MODE Invalid access mode. VI_ERROR_TMO could not acquire resource or viMapAddress() perform mapping before the timer expired. VI_ERROR_ALLOC Unable to allocate window of at least the requested size. VI_ERROR_WINDOW_MAPPED The specified session already contains a mapped window. VI_ERROR_INV_SETUP Unable to start operation because setup is invalid (due to attributes being set to an inconsistent state). Description This operation maps in a specified memory space. The memory space that is mapped is dependent on the type of interface specified by the parameter and the (refer to the following table) parameter. vi mapSpace The parameter returns the address in your process space where memory is mapped. address The following table lists the valid entries for the parameter. mapSpace Value Description VI_A16_SPACE Map the A16 address space of VXI/MXI bus. VI_A24_SPACE Map the A24 address space of VXI/MXI bus. VI_A32_SPACE Map the A32 address space of VXI/MXI bus. VI_A64_SPACE Map the A64 address space of VXI/MXI bus. Address the PCI configuration space. Address the specified PCI memory or I/O space. –
Error Codes Description VI_ERROR_INV_SESSION VI_ERROR_INV_OBJECT The given session or object reference is invalid (both are the same value). VI_ERROR_NSUP_OPER The given vi does not support this operation. VI_ERROR_RSRC_LOCKED Specified operation could not be performed because the resource identified by vi has been locked for this kind of access. VI_ERROR_INV_SPACE Invalid address space specified. VI_ERROR_INV_OFFSET Invalid offset specified. (continues) Error Codes Description VI_ERROR_NSUP_OFFSET Specified region is not accessible from this hardware. VI_ERROR_INV_SIZE Invalid size of window specified. VI_ERROR_INV_ACC_MODE Invalid access mode. VI_ERROR_TMO viMapAddress() could not acquire resource or perform mapping before the timer expired. VI_ERROR_ALLOC Unable to allocate window of at least the requested size. VI_ERROR_WINDOW_MAPPED The specified session already contains a mapped window. VI_ERROR_INV_SETUP Unable to start operation because setup is invalid (due to attributes being set to an inconsistent state). Description This operation maps in a specified memory space. The memory space that is mapped is dependent on the type of interface specified by the vi parameter and the mapSpace (refer to the following table) parameter. The address parameter returns the address in your process space where memory is mapped. The following table lists the valid entries for the mapSpace parameter. Value Description VI_A16_SPACE Map the A16 address space of VXI/MXI bus. VI_A24_SPACE Map the A24 address space of VXI/MXI bus. VI_A32_SPACE Map the A32 address space of VXI/MXI bus. VI_A64_SPACE Map the A64 address space of VXI/MXI bus. Address the PCI configuration space. – Address the specified PCI memory or I/O space.
vpp43_2016-02-26.docx