NI-FGEN C Function Reference

NIFGEN_ATTR_RANGE_CHECK

  • Updated2023-02-21
  • 1 minute(s) read

Specific Attribute

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

Description

Specifies whether to validate attribute values and function parameters. If enabled, NI-FGEN validates the parameter values that you pass to NI-FGEN 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.

Use the niFgen_InitWithOptions function to override the default value.

Defined Values

VI_TRUEEnables range checking.
VI_FALSEDisables range checking.

Default Value: VI_TRUE

Log in to get a better experience