Advanced Analysis Library Error Codes
- Updated2023-02-21
- 7 minute(s) read
Advanced Analysis Library Error Codes
The Analysis and Advanced Analysis Library functions return negative values when they detect errors. The following table lists the error codes, defined constants, and error messages associated with functions in the the LabWindows/CVI Advanced Analysis Library.
Use the GetAnalysisErrorString function to convert the error code, returned in the status parameter of Advanced Analysis Library functions, into meaningful error messages.
The function panel help contains error codes. Additionally, error codes are defined in the analysis.h file, which is located in the ProgramData\National Instruments\CVIversion\include directory.
Code | Defined Constant | Error Message |
---|---|---|
20031 | MaxOrderAnlysWarn | Warning: The maximum allowable order has been exceeded. |
20030 | MatrixInfNanAnlysWarn | Warning: The input matrix has at least one element with a value of Inf or NaN. |
20012 | EmptyPolyAnlysWarn | Warning: The input polynomial is empty. |
20011 | InvStdDevAnlysWarn | Warning: The input standard deviation is invalid. |
20010 | ArraySizeAnlysWarn | Warning: The sizes of the input arrays do not meet the specified conditions. |
20006 | AccuracyAnlysWarn | Warning: The computation result might be inaccurate. |
20005 | ReorderAnlysWarn | Warning: Reordering cannot be performed. |
20004 | SameSizeAnlysWarn | Warning: Matrices or vectors do not have the same size. |
20003 | SingularMatrixAnlysWarn | Warning: The matrix is singular. |
20002 | SamplesGTZeroAnlysWarn | Warning: The number of samples must be greater than zero. |
20001 | RankDeficient | Warning: The matrix is rank deficient. |
0 | NoAnlysErr | The call was successful. |
-20001 | OutOfMemAnlysErr | There is not enough memory to perform the specified routine. |
-20002 | EqSamplesAnlysErr | The input sequences must be the same size. |
-20003 | SamplesGTZeroAnlysErr | The number of samples must be > 0. |
-20004 | SamplesGEZeroAnlysErr | The number of samples must be ≥ 0. |
-20005 | SamplesGEOneAnlysErr | The number of samples must be ≥ 1. |
-20006 | SamplesGETwoAnlysErr | The number of samples must be ≥ 2. |
-20007 | SamplesGEThreeAnlysErr | The number of samples must be ≥ 3. |
-20008 | ArraySizeAnlysErr | The input arrays do not contain the correct number of data values for this function. |
-20009 | PowerOfTwoAnlysErr | The size of the input array must be a power of two: size = 2m, 0 < m < 23. |
-20010 | MaxXformSizeAnlysErr | The maximum allowable transform size has been exceeded. |
-20011 | DutyCycleAnlysErr | The duty cycle must be equal to or fall between 0 and 100: 0 ≤ duty cycle ≤ 100. |
-20012 | CyclesAnlysErr | The number of cycles must be > 0 and ≤ the number of samples. |
-20013 | WidthLTSamplesAnlysErr | The width must meet: 0 < width < samples. |
-20014 | DelayWidthAnlysErr | The following conditions must be met: 0 ≤ (delay + width) < samples. |
-20015 | DtGEZeroAnlysErr | dt must be ≥ 0. |
-20016 | DtGTZeroAnlysErr | dt must be > 0. |
-20017 | IndexLTSamplesAnlysErr | The following condition must be met: 0 ≤ index < samples. |
-20018 | IndexLengthAnlysErr | The following condition must be met: 0 ≤ (index + length) < samples. |
-20019 | UpperGELowerAnlysErr | The upper value must be ≥ the lower value. |
-20020 | NyquistAnlysErr | The cut-off frequency, fc, must meet: 0 ≤ fc ≤ fs/2. |
-20021 | OrderGTZeroAnlysErr | The order must be > 0. |
-20022 | DecFactAnlysErr | The decimating factor must meet: 0 < decimating factor ≤ samples. |
-20023 | BandSpecAnlysErr | The following conditions must be met: 0 < f_low ≤ f_high ≤ fs/2. |
-20024 | RippleGTZeroAnlysErr | The ripple amplitude must be > 0. |
-20025 | AttenGTZeroAnlysErr | The attenuation must be > 0. |
-20026 | WidthGTZeroAnlysErr | The width must be > 0. |
-20027 | FinalGTZeroAnlysErr | The final value must be > 0. |
-20028 | AttenGTRippleAnlysErr | The attenuation value must be greater than the ripple amplitude. |
-20029 | StepSizeAnlysErr | The step-size, μ, must meet: 0 ≤ μ ≤ 0.1. |
-20030 | LeakAnlysErr | The leakage coefficient, leak, and the step-size parameter, μ, must meet: 0 ≤ leak ≤ μ. |
-20031 | EqRplDesignAnlysErr | The filter cannot be designed with the specified input parameters. |
-20032 | RankAnlysErr | The rank of the filter must meet: 1 ≤ (2*rank + 1) ≤ size. |
-20033 | EvenSizeAnlysErr | The number of coefficients must be odd for this filter. |
-20034 | OddSizeAnlysErr | The number of coefficients must be even for this filter. |
-20035 | StdDevAnlysErr | The standard deviation must be greater than zero for normalization. |
-20036 | MixedSignAnlysErr | The elements of the y values array must be nonzero and either all positive or all negative. |
-20037 | SizeGTOrderAnlysErr | The number of data points in the y values array must be greater than the order. |
-20038 | IntervalsAnlysErr | The number of intervals must be > 0. |
-20039 | MatrixMulAnlysErr | The number of columns in the first matrix is not equal to the number of rows in the second matrix or vector. |
-20040 | SquareMatrixAnlysErr | The input matrix must be a square matrix. |
-20041 | SingularMatrixAnlysErr | The system of equations cannot be solved because the input matrix is singular. |
-20042 | LevelsAnlysErr | The number of levels is out of range. |
-20043 | FactorAnlysErr | The level of factors is outside the allowable range of some data. |
-20044 | ObservationsAnlysErr | Zero observations were made at some level of a factor. |
-20045 | DataAnlysErr | The total number of data points must be equal to the product of levels/each factor * observations/cell. |
-20046 | OverflowAnlysErr | There is an overflow in the calculation. |
-20047 | BalanceAnlysErr | The data is unbalanced. All cells must contain the same number of observations. |
-20048 | ModelAnlysErr | The Random Effect model was requested when the Fixed Effect model is required. |
-20049 | DistinctAnlysErr | The x-values must be distinct. |
-20050 | PoleAnlysErr | The interpolating function has a pole at the requested value. |
-20051 | ColumnAnlysErr | All values in the first column of X matrix must be one. |
-20052 | FreedomAnlysErr | The degree of freedom must be greater than zero and less than the length of the input sequence. |
-20053 | ProbabilityAnlysErr | The probability must be between zero and one. |
-20054 | InvProbAnlysErr | The probability must be greater than or equal to zero and less than one. |
-20055 | CategoryAnlysErr | The number of categories or samples must be greater than one. |
-20056 | TableAnlysErr | The contingency table has a negative number. |
-20057 | BetaFuncAnlysErr | The parameter to the beta function should be 0 < p < 1. |
-20058 | DimensionAnlysErr | Invalid number of dimensions or dependent variables. |
-20059 | NegNumAnlysErr | Negative number error. |
-20060 | DivByZeroAnlysErr | Divide by zero error. |
-20061 | InvSelectionAnlysErr | The selection is invalid. |
-20062 | MaxIterAnlysErr | The maximum number of iterations was exceeded. |
-20063 | PolyAnlysErr | The coefficients of the polynomial are invalid. |
-20064 | InitStateAnlysErr | The internal memory state of this function was not initialized correctly. |
-20065 | ZeroVectorAnlysErr | The internal memory of this function was not initialized correctly. |
-20066 | IIRFilterInfoAnlysErr | The information in the IIR filter structure is not correct. |
-20067 | FFSRInvalidAnlysErr | The input fundamental frequency or sampling rate is equal to zero. |
-20068 | InvalidDoubleAnlysErr | Input parameters has at least one element that is Inf, NaN, DBL_MAX, or DBL_MIN. |
-20068 | MatrixInfNanAnlysErr | Input parameter has at least one element that is Inf or NaN or DBL_MIN or DBL_MAX. |
-20069 | SamplesGEFourAnlysErr | The number of samples must be greater than or equal to four. |
-20070 | SameSizeAnlysErr | Matrices must have the same size. |
-20071 | PosDefAnlysErr | The input matrix is not positive definite. |
-20072 | MatrixLnAnlysErr | The logarithm of the input matrix cannot be computed. |
-20073 | CloseEgnValAnlysErr | The eigenvalues cannot be reordered because some of them are too close. |
-20074 | EgnValChgedAnlysErr | Reordering eigenvalues changed some complex ones. |
-20075 | FltBuffOvflowAnlysErr | The filter buffer overflows. |
-20076 | RsmplBydInputAnlysErr | The resample point cannot be calculated with the signal behind that of the input. |
-20077 | TimeNotAscendAnlysErr | The time points are not in ascending order. |
-20078 | NotSupportedAnlysErr | This functionality is not supported on this platform. |
-20101 | BaseGETopAnlysErr | Parameter must meet the condition Top > Base. |
-20102 | ShiftRangeAnlysErr | The shifts must meet: |shifts| < samples. |
-20103 | OrderGEZeroAnlysErr | The order must be greater than or equal to zero. |
-20104 | InputNaNAnlysErr | Input parameters have at least one NaN element. |
-20111 | ZeroPolyAnlysErr | The input polynomial coefficients are all zeros. |
-20112 | StartIsRootAnlysErr | Poly real zeros counter: start is a root. |
-20113 | EndIsRootAnlysErr | Poly real zeros counter: end is a root. |
-20114 | StartGTEndAnlysErr | The start value of the poly real zeros counter is greater than the end value. |
-20115 | FFTSizeGTZeroAnlysErr | The FFT size must be greater than zero. |
-20116 | NoFeasibleSolAnlysErr | Feasible solution not found. |
-20117 | LossOfSignificAnlysErr | Loss of Significance. |
-20118 | AbsGTOneAnlysErr | The input is greater than 1 or less than -1. |
-20119 | SamplesNEThreeAnlysErr | The number of samples is not equal to three. |
-20120 | PoolSizeSetAnlysErr | The size of analysis workspace has already been set. |
-20121 | PoolEnableAnlysErr | The analysis workspace has already been enabled. |
-20122 | PoolEmptyAnlysErr | The analysis workspace is empty. |
-20123 | PoolNotEmptyAnlysErr | The analysis workspace is not empty. |
-20124 | PoolLockedAnlysErr | The analysis workspace has been locked. |
-20125 | PoolUnlockAnlysErr | The analysis workspace can not be unlocked. |
-20126 | PoolOutOfMemAnlysErr | There is not enough space left to perform the specified routine in the analysis workspace. |
-20140 | NegZeroNumAnlysErr | The number is negative or zero. |
-20141 | ZeroNumAnlysErr | The number is zero. |
-20308 | NotEnoughCrossPointsAnlysErr | Not enough crosspoints and cycles meet the measurement requirement. |
-20309 | ZeroAmpAnlysErr | The waveform amplitude is zero. |
-20310 | NotEnoughEdgesAnlysErr | Not enough edge times and cycles meet the measurement requirement. |
-20311 | MemFullAnlysErr | There is not enough space left to perform the specified routine. |
-20312 | ZeroWfmSizeAnlysErr and NullWfmPointerAnlysErr | No waveform input. |
-20313 | RefLevelsAnlysErr | Expected high reference level >= middle reference level >= low reference level. |
-20314 | RefUnitsAnlysErr | The reference unit must be either absolute(0) or percent(1). |
-20315 | DeltaTimeAnlysErr | The dt of waveform <= 0.0. |
-20316 | PercentMethodAnlysErr | The method must be either histogram(0) or peak(1) or autoselect(2). |
-20317 | HistSizeAnlysErr | The histogram size <= 0. |
-20318 | UndefinedResultAnlysErr | The parameter is undefined. |
-20319 | PeriodTooShortAnlysErr | The period of waveform is too short. |
-20320 | ResultNotAvailableAnlysErr | The result is not available. |
-20321 | InvalidSessionAnlysErr | Invalid session. |
-20322 | InvalidAttributeAnlysErr | Invalid attribute input. |
-20323 | BadNumEdgesAnlysErr | Invalid number of edge times. |
-20324 | DuplicateMeasIdAnlysErr | Duplicate measurement ID. |
-20325 | InvalidMeasNumAnlysErr | Invalid measurement number. |
-20326 | InfiniteSlewRateAnlysErr | The slope is infinite. |
-20327 | ExceptionAnlysErr | An exception has occurred. |
-20328 | CrictSectAnlysErr | Wrong section. |
-20329 | NullCursorStructPtrAnlysErr | The cursor structure pointer is NULL. |
-20330 | NullResultPtrAnlysErr | The result pointer is NULL. |
-20331 | NullParamPtrAnlysErr | The reference levels or the percent level settings are NULL. |
-20332 | InvalidNumThreadsAnlysErr | Invalid number of threads. |
-20999 | InternalAnlysErr | Serious algorithm failure. Call National Instruments support. |
-5093 | LibraryNotFoundAnlysErr | The analysis library DLL was not found or could not be loaded. |
-5094 | FunctionNotFoundAnlysErr | The function was not found in the analysis library DLL. |