Name Direction Type Description vi ViSession IN Unique logical identifier to a session. Return Values Type This is the operational return status. It returns either a ViStatus completion code or an error code as follows. Completion Code Description VI_SUCCESS Operation completed successfully. 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_WINDOW_NMAPPED The specified session is not currently mapped. Description This operation unmaps the region previously mapped by the operation. viMapAddress() Related Items See the INSTR and MEMACC resource descriptions. Also see viMapAddress(). Implementation Requirements RULE 6.3.49 IF a call to succeeds, THEN the value of for the given viUnmapAddress() VI_ATTR_WIN_ACCESS vi SHALL be set to VI_NMAPPED. 6.3.32 viPeek8(vi, addr, val8) 6.3.33 viPeek16(vi, addr, val16) 6.3.34 viPeek32(vi, addr, val32) 6.3.35 viPeek64(vi, addr, val64) Purpose Read an 8-bit, 16-bit, 32-bit, or 64-bit value from the specified address. Parameters Name Direction Type Description vi ViSession IN Unique logical identifier to a session. addr IN ViAddr Specifies the source address to read the value. OUT Data read from bus (8 bits for val8, val16, ViUInt8, viPeek8(), or 16 bits for bits for val32, ViUInt16, viPeek16(),32 or and 64 bits for val64 ViUInt32, viPeek32(), viPeek64()). ViUInt64 Return Values
Name Direction Type Description vi IN ViSession Unique logical identifier to a session. Return Values Type ViStatus This is the operational return status. It returns either a completion code or an error code as follows. Completion Code Description VI_SUCCESS Operation completed successfully. 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_WINDOW_NMAPPED The specified session is not currently mapped. Description This operation unmaps the region previously mapped by the viMapAddress() operation. Related Items See the INSTR and MEMACC resource descriptions. Also see viMapAddress(). Implementation Requirements RULE 6.3.49 IF a call to viUnmapAddress() succeeds, THEN the value of VI_ATTR_WIN_ACCESS for the given vi SHALL be set to VI_NMAPPED. 6.3.32 viPeek8(vi, addr, val8) 6.3.33 viPeek16(vi, addr, val16) 6.3.34 viPeek32(vi, addr, val32) 6.3.35 viPeek64(vi, addr, val64) Purpose Read an 8-bit, 16-bit, 32-bit, or 64-bit value from the specified address. Parameters Name Direction Type Description vi IN ViSession Unique logical identifier to a session. addr IN ViAddr Specifies the source address to read the value. val8, val16, val32, or val64 OUT ViUInt8, ViUInt16, ViUInt32, or ViUInt64 Data read from bus (8 bits for viPeek8(), 16 bits for viPeek16(),32 bits for viPeek32(), and 64 bits for viPeek64()). Return Values