InterchangeCheck

IVI Library

Ivi_InterchangeCheck

Usage

ViBoolean = Ivi_InterchangeCheck(ViSession vi);

Purpose

This function returns the current value of the IVI_ATTR_INTERCHANGE_CHECK attribute for the session you specify.

Use Ivi_InterchangeCheck in the high-level functions in class instrument drivers. Ivi_InterchangeCheck provides fast, convenient access to the IVI_ATTR_INTERCHANGE_CHECK attribute because it does no error checking and does not lock the session.

Note  Do not call this function unless you have already locked the session.

Parameters

Name Type Description
vi ViSession

The ViSession handle that you obtain from Ivi_SpecificDriverNew. The handle identifies a particular IVI session.

Return Value

Returns the value of the IVI_ATTR_INTERCHANGE_CHECK attribute. This attribute determines whether class drivers perform interchangeability checking. The specification for each instrument class defines the rules for interchangeability checking for that class.

Values:

VI_TRUE (1)Interchange checking on
VI_FALSE (0)Interchange checking off

If you pass an invalid session handle to the function, this parameter returns VI_FALSE.

Related Topic

IVI Status Codes