NIFGEN_ATTR_PRIMARY_ERROR

NI-FGEN C Function

NIFGEN_ATTR_PRIMARY_ERROR

Specific Attribute

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

Description

Provides a code that describes the first error that occurred since the last call to the niFgen_GetError function on the session. The value follows the VXI plug&play completion code conventions. A negative value describes an error condition. A positive value describes a warning condition and indicates that no error occurred. A zero indicates that no error or warning occurred. The error and warning values can be status codes defined by IVI, VISA, class drivers, or specific drivers.