CLASSPREFIX_ATTR_INTERCHANGE_CHECK

CVI/LabWindows IVI Class Driver

CLASSPREFIX_ATTR_INTERCHANGE_CHECK

To form the CLASSPREFIX_ of the attribute name, use the prefix of the class driver with which you are working. For example, if you are working with the IviDmm class driver, use the prefix IVIDMM_ to create the correct attribute name, IVIDMM_ATTR_INTERCHANGE_CHECK.

Inherent Attribute

Data Type Access Applies to Coercion High Level Functions
ViBoolean R/W N/A None None

Description

Specifies whether the driver performs interchangeability checking. When this attribute is enabled, the class driver keeps a list of the interchangeability warnings it encounters. You view the interchangeability warnings with NI Spy. Alternatively, you can call ClassPrefix_GetNextInterchangeWarning to extract and delete the oldest record from the list.

Note  If CLASSPREFIX_INTERCHANGE_CHECK is set to VI_TRUE and you are not using NI Spy, the interchange check queue is cleared by calling ClassPrefix_GetNextInterchangeWarning. If you do not clear the queue, the resulting list build-up appears as a memory leak.

The default value is VI_FALSE. You can override this value by specifying a value in MAX or by initializing the IVI session with the ClassPrefix_InitWithOptions function.

Related Topic

Interchangeability Checking