NIDCPOWER_ATTR_RANGE_CHECK

NI-DCPower Function Reference

NIDCPOWER_ATTR_RANGE_CHECK

Specific Attribute

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

Description

Specifies whether to validate attribute values and function parameters. If this attribute is enabled, NI-DCPower validates the parameter values that you pass to NI-DCPower functions. Range checking parameters is useful for debugging. After you validate your program, you can set this attribute to VI_FALSE to disable range checking and maximize performance.

The default value is VI_TRUE. Use the niDCPower_InitWithOptions function to override this value.