# Advanced Analysis Library Error Codes

This help topic contains error codes that the Advanced Analysis Library functions return. If an error condition occurs during a call to any of the functions in the LabWindows/CVI Advanced Analysis Library, the return value status contains the returned error code. This code is a value that specifies the type of error that occurred. Call GetAnalysisErrorString to convert the error number an Analysis Library function returns into a meaningful error message. The following table, Advanced Analysis Library Error Codes, Sorted Alphabetically, lists the error codes alphabetically by symbolic name. For your convenience, the Advanced Analysis Library Error Codes, Sorted Numerically table lists the error codes in numeric order.

## Advanced Analysis Library Error Codes, Sorted Alphabetically

Symbolic Name | Code | Error Message
AccuracyAnlysWarn | 20006 | Warning: The computation result might be inaccurate.
ArraySizeAnlysErr | -20008 | The input arrays do not contain the correct number of data values for this function.
ArraySizeAnlysWarn | 20010 | Warning: The sizes of the input arrays do not meet the specified conditions.
AttenGTRippleAnlysErr | -20028 | The attenuation value must be greater than the ripple amplitude.
AttenGTZeroAnlysErr | -20025 | The attenuation must be > 0.
BalanceAnlysErr | -20047 | The data is unbalanced. All cells must contain the same number of observations.
BandSpecAnlysErr | -20023 | The following conditions must be met: 0 < f_low ≤ f_high ≤ fs/2.
BaseGETopAnlysErr | -20101 | Parameter must meet the condition Top > Base.
BetaFuncAnlysErr | -20057 | The parameter to the beta function should be 0 < p < 1.
CategoryAnlysErr | -20055 | The number of categories or samples must be greater than one.
CloseEgnValAnlysErr | -20073 | The eigenvalues cannot be reordered because some of them are too close.
ColumnAnlysErr | -20051 | All values in the first column of X matrix must be one.
CyclesAnlysErr | -20012 | The number of cycles must be > 0 and ≤ the number of samples.
DataAnlysErr | -20045 | The total number of data points must be equal to the product of levels/each factor * observations/cell.
DecFactAnlysErr | -20022 | The decimating factor must meet: 0 < decimating factor ≤ samples.
DelayWidthAnlysErr | -20014 | The following conditions must be met: 0 ≤ (delay + width) < samples.
DimensionAnlysErr | -20058 | Invalid number of dimensions or dependent variables.
DistinctAnlysErr | -20049 | The x-values must be distinct.
DivByZeroAnlysErr | -20060 | Divide by zero error.
DtGEZeroAnlysErr | -20015 | dt must be ≥ 0.
DtGTZeroAnlysErr | -20016 | dt must be > 0.
DutyCycleAnlysErr | -20011 | The duty cycle must be equal to or fall between 0 and 100: 0 ≤ duty cycle ≤ 100.
EgnValChgedAnlysErr | -20074 | Reordering eigenvalues changed some complex ones.
EmptyPolyAnlysWarn | 20012 | Warning: The input polynomial is empty.
EqRplDesignAnlysErr | -20031 | The filter cannot be designed with the specified input parameters.
EqSamplesAnlysErr | -20002 | The input sequences must be the same size.
EvenSizeAnlysErr | -20033 | The number of coefficients must be odd for this filter.
FactorAnlysErr | -20043 | The level of factors is outside the allowable range of some data.
FFSRInvalidAnlysErr | -20067 | The input fundamental frequency or sampling rate is equal to zero.
FFTSizeGTZeroAnlysErr | -20115 | The FFT size must be greater than zero.
FinalGTZeroAnlysErr | -20027 | The final value must be > 0.
FltBuffOvflowAnlysErr | -20075 | The filter buffer overflows.
FreedomAnlysErr | -20052 | The degree of freedom must be greater than zero and less than the length of the input sequence.
IIRFilterInfoAnlysErr | -20066 | The information in the IIR filter structure is not correct.
IndexLengthAnlysErr | -20018 | The index and length must meet the condition 0 ≤ (index + length) < samples.
IndexLTSamplesAnlysErr | -20017 | The following condition must be met: 0 ≤ index < samples.
InitStateAnlysErr | -20064 | The internal memory state of this function was not initialized correctly.
InputNaNAnlysErr | -20104 | Input parameters have at least one NaN element.
IntervalsAnlysErr | -20038 | The number of intervals must be > 0.
InvalidDoubleAnlysErr | -20068 | Input parameters has at least one element that is Inf, NaN, DBL_MAX, or DBL_MIN.
InvProbAnlysErr | -20054 | The probability must be greater than or equal to zero and less than one.
InvSelectionAnlysErr | -20061 | The selection is invalid.
InvStdDevAnlysWarn | 20011 | Warning: The input standard deviation is invalid.
LeakAnlysErr | -20030 | The leakage coefficient, leak, and the step-size parameter, μ, must meet: 0 ≤ leak ≤ μ.
LevelsAnlysErr | -20042 | The number of levels is out of range.
MatrixInfNanAnlysErr | -20068 | Input parameter has at least one element that is Inf or NaN or DBL_MIN or DBL_MAX.
MatrixInfNanAnlysWarn | 20030 | Warning: The input matrix has at least one element with a value of Inf or NaN.
MatrixLnAnlysErr | -20072 | The logarithm of the input matrix cannot be computed.
MatrixMulAnlysErr | -20039 | The number of columns in the first matrix is not equal to the number of rows in the second matrix or vector.
MaxIterAnlysErr | -20062 | The maximum number of iterations was exceeded.
MaxXformSizeAnlysErr | -20010 | The maximum allowable transform size has been exceeded.
MixedSignAnlysErr | -20036 | The elements of the y values array must be nonzero and either all positive or all negative.
ModelAnlysErr | -20048 | The Random Effect model was requested when the Fixed Effect model is required.
NegNumAnlysErr | -20059 | Negative number error.
NegZeroNumAnlysErr | -20140 | The number is negative or zero.
NoAnlysErr | 0 | The call was successful.
NotSupportedAnlysErr | -20078 | This functionality is not supported on this platform.
NyquistAnlysErr | -20020 | The cut-off frequency, fc, must meet: 0 ≤ fc ≤ fs/2.
ObservationsAnlysErr | -20044 | Zero observations were made at some level of a factor.
OddSizeAnlysErr | -20034 | The number of coefficients must be even for this filter.
OrderGEZeroAnlysErr | -20103 | The order must be greater than or equal to zero.
OrderGTZeroAnlysErr | -20021 | The order must be > 0.
OutOfMemAnlysErr | -20001 | There is not enough memory to perform the specified routine.
OverflowAnlysErr | -20046 | There is an overflow in the calculation.
PoleAnlysErr | -20050 | The interpolating function has a pole at the requested value.
PolyAnlysErr | -20063 | The coefficients of the polynomial are invalid.
PosDefAnlysErr | -20071 | The input matrix is not positive definite.
PowerOfTwoAnlysErr | -20009 | The size of the input array must be a power of two: size = 2m, 0 < m < 23.
ProbabilityAnlysErr | -20053 | The probability must be between zero and one.
RankAnlysErr | -20032 | The rank of the filter must meet 1 ≤ (2 rank +1) ≤ size.
RankDeficient | 20001 | Warning: The matrix is rank deficient.
ReorderAnlysWarn | 20005 | Warning: Reordering cannot be performed.
RippleGTZeroAnlysErr | -20024 | The ripple amplitude must be > 0.
RsmplBydInputAnlysErr | -20076 | The resample point cannot be calculated with the signal behind that of the input.
SameSizeAnlysErr | -20070 | Matrices must have the same size.
SameSizeAnlysWarn | 20004 | Warning: Matrices or vectors do not have the same size.
SamplesGEFourAnlysErr | -20069 | The number of samples must be greater than or equal to four.
SamplesGEOneAnlysErr | -20005 | The number of samples must be ≥ 1.
SamplesGEThreeAnlysErr | -20007 | The number of samples must be ≥ 3.
SamplesGETwoAnlysErr | -20006 | The number of samples must be ≥ 2.
SamplesGEZeroAnlysErr | -20004 | Number of samples must be greater than or equal to zero.
SamplesGTZeroAnlysErr | -20003 | The number of samples must be > 0.
SamplesGTZeroAnlysWarn | 20002 | Warning: The number of samples must be greater than zero.
ShiftRangeAnlysErr | -20102 | The shifts must meet: |shifts| < samples.
SingularMatrixAnlysErr | -20041 | The system of equations cannot be solved because the input matrix is singular.
SingularMatrixAnlysWarn | 20003 | Warning: The matrix is singular.
SizeGTOrderAnlysErr | -20037 | The number of data points in the y values array must be greater than the order.
SquareMatrixAnlysErr | -20040 | The input matrix must be a square matrix.
StdDevAnlysErr | -20035 | The standard deviation must be greater than zero for normalization.
StepSizeAnlysErr | -20029 | The step-size, μ, must meet: 0 ≤ μ ≤ 0.1.
TableAnlysErr | -20056 | The contingency table has a negative number.
TimeNotAscendAnlysErr | -20077 | The time points are not in ascending order.
UpperGELowerAnlysErr | -20019 | The upper value must be ≥ the lower value.
WidthGTZeroAnlysErr | -20026 | The width must be > 0.
WidthLTSamplesAnlysErr | -20013 | The width must meet: 0 < width < samples.
ZeroNumAnlysErr | -20141 | The number is zero.
ZeroPolyAnlysErr | -20111 | The input polynomial coefficients are all zeros.
ZeroVectorAnlysErr | -20065 | The internal memory of this function was not initialized correctly.

## Advanced Analysis Library Error Codes, Sorted Numerically

Code | Symbolic Name | Error Message
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.
-20115 | FFTSizeGTZeroAnlysErr | The FFT size must be greater than zero.
-20140 | NegZeroNumAnlysErr | The number is negative or zero.
-20141 | ZeroNumAnlysErr | The number is zero.