NI-FGEN Error Codes

NI Signal Generator

NI-FGEN Error Codes

When the NI-FGEN driver encounters an error, it returns an error code. This code value can be in hexadecimal, decimal, or text depending on your application. To understand the error code, you need to read the error description.

For example, the error "-1074135039" or "(0xBFFA0001 - Instrument Specific error)" encompasses many different error cases. To better understand the error specific to your application, you need to read the error description.

Reading Error Descriptions in LabVIEW

LabVIEW users can read the error description by creating an error indicator from one of the NI-FGEN VIs as shown in the following figure.

Reading Error Descriptions in CVI and C

CVI and C users can read the error description by calling the niFgen_GetError function.