NIDCPOWER_ATTR_CACHE

NI-DCPower Function Reference

NIDCPOWER_ATTR_CACHE

Specific Attribute

Data
type
Access Applies to Coercion High-Level Functions
ViBoolean R/W Device None niDCPower_InitWithOptions

Description

Specifies whether to cache the value of attributes. When caching is enabled, NI-DCPower records the current power supply settings and avoids sending redundant commands to the device. Enabling caching can significantly increase execution speed.

NI-DCPower might always cache or never cache particular attributes regardless of the setting of this attribute. The default value is VI_TRUE. Use the niDCPower_InitWithOptions function to override this value.