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. Description This function sets whether the Conflict Manager stores only conflicts in the table or the results of all resource openings. Saving all of the results from opening results in a larger table, but prevents the VISA Router from repeating the conflict arbitration algorithm on every open. VISACM_SetVisaEnabled2(apiType, guid_SRM, enabled) Purpose Enables or disables a specified VISA library. Parameters Name In/Out Type Description apiType IN ViInt16 An enum specifying the type of the API for which to enable or disable the specified VISA library. guid_SRM IN ViConstString The GUID of the VISA library to enable or disable. The GUID should be provided in format. enabled IN ViBoolean Specifies whether the VISA library should be enabled or disabled. 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 VISA library was successfully disabled. Error Codes Description VI_ERROR_ALLOC The Conflict Manager could not allocate needed memory for the new setting. 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 specified GUID was not valid. VI_ERROR_USER_BUF A buffer passed by the user was not valid.
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. Description This function sets whether the Conflict Manager stores only conflicts in the table or the results of all resource openings. Saving all of the results from opening results in a larger table, but prevents the VISA Router from repeating the conflict arbitration algorithm on every open. VISACM_SetVisaEnabled2(apiType, guid_SRM, enabled) Purpose Enables or disables a specified VISA library. Parameters Name In/Out Type Description apiType IN ViInt16 An enum specifying the type of the API for which to enable or disable the specified VISA library. guid_SRM IN ViConstString The GUID of the VISA library to enable or disable. The GUID should be provided in format. enabled IN ViBoolean Specifies whether the VISA library should be enabled or disabled. 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 VISA library was successfully disabled. Error Codes Description VI_ERROR_ALLOC The Conflict Manager could not allocate needed memory for the new setting. 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 specified GUID was not valid. VI_ERROR_USER_BUF A buffer passed by the user was not valid.
vpp435_2015-08-06.docx