Error and Status Codes

NI Tuner

Error and Status Codes

Error Code Meaning CVI Defines
0 Successful execution NITUNER_ERROR_SUCCESS
Positive Values Warnings
27009 Unable to load calibration settings NITUNER_WARN_CALIBRATIONLOADFAIL
27022 Requested attenuation levels have been coerced to fit within the 0 to 80 dB range NITUNER_WARN_ATTENUATIONCOERCED
27027 The specified mixer level does not fall between the reference level and the reference level minus 50 dBm. The mixer level setting is coerced to the nearest of these two bounds. NITUNER_WARN_BAD_MIXER_RANGE
27028 The reference level cannot exceed 50 dBm. The reference level setting is coerced to 50 dBm. NITUNER_WARN_BAD_REFERENCE_RANGE
27029 Input frequencies above 2.7 GHz are outside specification and may return invalid data. NITUNER_WARN_MAX_SPEC
27030 Mixer level cannot exceed 0 dBm. The mixer level setting is coerced to 0 dBm. NITUNER_WARN_MIXER_ABOVE_ZERO
27031 A mixer level less than -30 dBm produces an IF output below the nominal level of 0 dBm.  See your NI–TUNER Reference Help. NITUNER_WARN_BAD_IF_RANGE
Negative Values Errors
-27026 The specified ready pulse length is out of range NITUNER_ERROR_INVALID_PULSE_LENGTH
-27025 Signal polarities may be only ACTIVE HIGH or ACTIVE LOW NITUNER_ERROR_INVALID_SIGNAL_POLARITY
-27024 An unknown signal type was specified NITUNER_ERROR_INVALID_SIGNAL_TYPE
-27023 An unknown signal path was specified NITUNER_ERROR_INVALID_SIGNAL_PATH
-27021 The requested attribute is not used in this function NITUNER_ERROR_INVALIDATTRIBUTE
-27020 The FPGA download failed NITUNER_ERROR_FPGADOWNLOADFAILED
-27019 The FPGA programming chip failed to initialize NITUNER_ERROR_CPLDREJECT
-27018 One of the parameters was NULL, making it unusable. Allocate memory for the parameter. NITUNER_ERROR_NULLPOINTER
-27017 This setting attempts to send signals in two different directions at the same time NITUNER_ERROR_CLOCKCONFLICT
-27016 Unknown PLL NITUNER_ERROR_UNKNOWNPLL
-27015 Invalid RTSI setting NITUNER_ERROR_INVALIDRTSIVALUE
-27014 Initialize the PXI-5600 downconverter before calling this function NITUNER_ERROR_INITNOTCALLED
-27013 Reset the PXI-5600 downconverter before calling this function NITUNER_ERROR_RESETNOTCALLED
-27012 Value is out of range NITUNER_ERROR_RANGEERROR
-27011 The span must be between 0 and 20 MHz inclusive NITUNER_ERROR_BADSPAN
-27010 Array size must be greater than 0 NITUNER_ERROR_INVALIDARRAYSIZE
-27008 Unable to write data to the EEPROM: verification of written data failed NITUNER_ERROR_EEPROMWRITERFAIL
-27007 Unable to obtain a direct link to the PXI-5600 downconverter registers NITUNER_ERROR_DEVICEPOINTER
-27006 Unable to complete DMA transfer NITUNER_ERROR_INFINTELOOP
-27005 The attenuation relay is busy. This is a hardware problem. NITUNER_ERROR_RELAYBUSY
-27004 The downconverter is busy. Its internal state machine may be locked up. NITUNER_ERROR_DOWNCONVERTERBUSY
-27003 Frequency counter timed out NITUNER_ERROR_FREQCOUNTTIMEOUT
-27002 Unable to allocate memory NITUNER_ERROR_ALLOCATEMEMORY
-27001 A bit size too large was specified for this serial chain. This is an internal driver issue. NITUNER_ERROR_INVALIDSERIALCHAINSIZE