Parameters Name In/Out Type Description apiType IN ViInt16 An enum specifying the type of the API to be supported by the desired handler library. 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 OUT ViChar[] The GUID of the selected VISA library. conflictHandlerType OUT ViPInt16 An enum representing whether the resource was chosen by the Conflict Manager or specified by the user 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 Conflict Manager successfully supplied the VISA library for the given API type to be used for opening the resource. 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_RSRC_NFOUND No library was found for the given API type that was previously selected to open this resource. VI_ERROR_USER_BUF A buffer passed by the user was not valid. VI_ERROR_INV_PARAMETER An invalid apiType or conflictHandlerType parameter value was passed in by the user. Description This function is used to determine which installed VISA library for the given API type will be used to open the supplied resource. If no VISA library has previously opened the device for the given API type, and no user setting has been supplied, an error is returned.
Parameters Name In/Out Type Description apiType IN ViInt16 An enum specifying the type of the API to be supported by the desired handler library. 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 OUT ViChar[] The GUID of the selected VISA library. conflictHandlerType OUT ViPInt16 An enum representing whether the resource was chosen by the Conflict Manager or specified by the user 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 Conflict Manager successfully supplied the VISA library for the given API type to be used for opening the resource. 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_RSRC_NFOUND No library was found for the given API type that was previously selected to open this resource. VI_ERROR_USER_BUF A buffer passed by the user was not valid. VI_ERROR_INV_PARAMETER An invalid apiType or conflictHandlerType parameter value was passed in by the user. Description This function is used to determine which installed VISA library for the given API type will be used to open the supplied resource. If no VISA library has previously opened the device for the given API type, and no user setting has been supplied, an error is returned.
vpp435_2018-10-19.docx