NIFGEN_ATTR_CACHE

NI-FGEN C Function

NIFGEN_ATTR_CACHE

Specific Attribute

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

Description

Specifies whether to cache the value of attributes. When caching is enabled, NI-FGEN keeps track of the current device settings and avoids sending redundant commands to the device. Thus, you can significantly increase execution speed.

NI-FGEN can choose to always cache or to never cache particular attributes regardless of the setting of this attribute. Use the niFgen_InitWithOptions function to override the default value.

Default Value: VI_TRUE