VISACM_DeleteHandler( interfaceType, interfaceNumber, sessionType, guid_SRM) Purpose Deletes a setting corresponding to both a specific VISA library and a specific resource. Parameters Name In/Out Type Description interfaceType IN ViUInt16 The target resource’s interface type. This is identical to the VI_ATTR_INTF_TYPE specified by the VISA specification. interfaceNumber IN ViUInt16 The target resource’s interface number. This is identical to the VI_ATTR_INTF_NUM specified by the VISA specification. sessionType IN ViConstString The type of resource being opened. For example, GPIB has both INSTR and BACKPLANE resources. This parameter would hold that type. guid_SRM IN ViConstString The GUID of the calling VISA library. The GUID should be passed in the format 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 The record either does not exist or was successfully cleared. Error Codes Description VI_ERROR_INV_OBJECT The Conflict Manager Library has not been properly initialized. Ensure that VISACM_Initialize () has been called before attempting to configure Conflict Manager Settings. VI_ERROR_INV_RSRC_NAME The GUID string passed by the user was not a valid GUID string. VI_ERROR_INV_SETUP The current Conflict Manager settings are incompatible with the desired setting. For example, the new record’s VISA is a disabled VISA which cannot have any stored records. VI_ERROR_USER_BUF A buffer passed by the user was not a valid buffer. Description
VISACM_DeleteHandler( interfaceType, interfaceNumber, sessionType, guid_SRM) Purpose Deletes a setting corresponding to both a specific VISA library and a specific resource. Parameters Name In/Out Type Description interfaceType IN ViUInt16 The target resource’s interface type. This is identical to the VI_ATTR_INTF_TYPE specified by the VISA specification. interfaceNumber IN ViUInt16 The target resource’s interface number. This is identical to the VI_ATTR_INTF_NUM specified by the VISA specification. sessionType IN ViConstString The type of resource being opened. For example, GPIB has both INSTR and BACKPLANE resources. This parameter would hold that type. guid_SRM IN ViConstString The GUID of the calling VISA library. The GUID should be passed in the format 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 The record either does not exist or was successfully cleared. Error Codes Description VI_ERROR_INV_OBJECT The Conflict Manager Library has not been properly initialized. Ensure that VISACM_Initialize () has been called before attempting to configure Conflict Manager Settings. VI_ERROR_INV_RSRC_NAME The GUID string passed by the user was not a valid GUID string. VI_ERROR_INV_SETUP The current Conflict Manager settings are incompatible with the desired setting. For example, the new record’s VISA is a disabled VISA which cannot have any stored records. VI_ERROR_USER_BUF A buffer passed by the user was not a valid buffer. Description
vpp435_2013-03-06.docx