VI_ERROR_LIBRARY_NFOUND A code library required by VISA could not be located or loaded. Description This function must be called before any VISA operations can be invoked. The first call to this function initializes the VISA system, including the Default Resource Manager resource, and also returns a session to that resource. Subsequent calls to this function return unique sessions to the same Default Resource Manager resource. Related Items See also viOpen(), viFindRsrc(). Implementation Requirements RULE 4.3.10 The function SHALL be invoked before any operation in VISA. viOpenDefaultRM() RULE 4.3.11 Repetitive calls to the function SHALL return new and unique sessions to the viOpenDefaultRM() Default Resource Manager. RULE 4.3.12 IF the operation is invoked on a session returned from THEN all viClose() viOpenDefaultRM(), VISA sessions opened with the corresponding Default Resource Manager session SHALL be closed. RULE 4.3.13 IF the operation is invoked on a session returned from THEN all viClose() viOpenDefaultRM(), VISA system resources associated with the corresponding Default Resource Manager session SHALL be deallocated. RULE 4.3.14 For compatibility with earlier versions of this specification, a VISA system SHALL provide the function with the same signature and semantics as viGetDefaultRM() viOpenDefaultRM(). OBSERVATION 4.3.5 The function renders the function obsolete. The function viOpenDefaultRM() viGetDefaultRM() name has changed to match the semantics of the action that the function performs. 4.3.3.2 viOpen(sesn, rsrcName, accessMode, timeout, vi) Purpose Open a session to the specified device. Parameters Name Direction Type Description sesn IN ViSession Resource Manager session (should always be the Default Resource Manager for VISA returned from viOpenDefaultRM()). rsrcName IN ViConstRsrc Unique symbolic name of a resource.
VI_ERROR_LIBRARY_NFOUND A code library required by VISA could not be located or loaded. Description This function must be called before any VISA operations can be invoked. The first call to this function initializes the VISA system, including the Default Resource Manager resource, and also returns a session to that resource. Subsequent calls to this function return unique sessions to the same Default Resource Manager resource. Related Items See also viOpen(), viFindRsrc(). Implementation Requirements RULE 4.3.10 The viOpenDefaultRM() function SHALL be invoked before any operation in VISA. RULE 4.3.11 Repetitive calls to the viOpenDefaultRM() function SHALL return new and unique sessions to the Default Resource Manager. RULE 4.3.12 IF the viClose() operation is invoked on a session returned from viOpenDefaultRM(), THEN all VISA sessions opened with the corresponding Default Resource Manager session SHALL be closed. RULE 4.3.13 IF the viClose() operation is invoked on a session returned from viOpenDefaultRM(), THEN all VISA system resources associated with the corresponding Default Resource Manager session SHALL be deallocated. RULE 4.3.14 For compatibility with earlier versions of this specification, a VISA system SHALL provide the function viGetDefaultRM() with the same signature and semantics as viOpenDefaultRM(). OBSERVATION 4.3.5 The function viOpenDefaultRM() renders the viGetDefaultRM() function obsolete. The function name has changed to match the semantics of the action that the function performs. 4.3.3.2 viOpen(sesn, rsrcName, accessMode, timeout, vi) Purpose Open a session to the specified device. Parameters Name Direction Type Description sesn IN ViSession Resource Manager session (should always be the Default Resource Manager for VISA returned from viOpenDefaultRM()). rsrcName IN ViConstRsrc Unique symbolic name of a resource.