The Control Design VIs can return the following error codes. Refer to the KnowledgeBase for more information about correcting errors in LabVIEW.

Code | Description |
---|---|

−41813 | The set of interior points within the stable set of PID gains is empty. The PID problem might include linear inequalities that cannot be solved, or the numerical search might lack sufficient resolution. Consider increasing the value of Num K Grid Points to better resolve the search region. |

−41812 | The interior points of the stable set of PID gains are infeasible. This VI computes the interior points by sampling the stable set of PID gains and testing for the minimum gain and minimum phase margins. Consider increasing the value of Num K Grid Points and Num Search Points to better resolve the search region. |

−41811 | The stable set of PID gains is empty because the K3 interval is infeasible. This VI calculates the stable set of PID gains as a set of planar polygons parameterized by the augmented gain variable K3. No feasible K3 interval exists for the input system(s). |

−41804 | The input model must be proper. |

−41803 | The input state-space models must be SISO. This VI computes the stable set for a family of SISO models. MIMO state-space models converted to this form yield meaningless results. Therefore, invoke this VI one SISO channel at a time. |

−41802 | The inputs of this VI must be discrete models without time delays. Incorporate delays within the model instead. |

−41801 | The inputs of this VI must be discrete models without time delays. Convert the input models to discrete form. |

−41706 | The number of inputs and outputs of the first model do not match the number of inputs and outputs of the second model. |

−41705 | The parallel interconnection with a transfer function model must have the same transport delay. |

−41704 | The number of inputs (columns) of the first model is not equal to the number of outputs (rows) of the second model. |

−41703 | The denominator of the transfer function cannot equal zero. |

−41702 | At least one delay is less than zero. |

−41701 | The denominator must have one element. You did not specify the denominator in the transfer function. There must be at least one element in the denominator. |

−41700 | The numerator must have one element. You did not specify the numerator in the transfer function. There must be at least one element in the numerator. |

−41699 | Matrix R was not provided. |

−41698 | The dimension of w is not consistent with the dimensions of the stochastic state-space model. |

−41697 | The dimension of v is not consistent with the dimensions of the stochastic state-space model. |

−41695 | The cross-covariance matrix is not valid. The compound auto-covariance and cross-covariance matrices must be positive semi-definite. |

−41694 | The number of rows of E{v} is not of proper dimensions. The dimension of E{v} should equal the number of outputs. |

−41693 | The number of rows of E{w} is not of proper dimensions. The dimension of E{w} should equal the number of columns of G. |

−41692 | The dimensions of the covariance matrix are improper. |

−41691 | The covariance matrix is not positive semi-definite. |

−41690 | N is not valid. The matrix [Q N; N' R] must be positive semi-definite. |

−41689 | The pair (Ahat, B) cannot be stabilized. |

−41688 | The dimensions of the R matrix are not equal to the number of inputs/number of columns of the B matrix. |

−41687 | The R matrix is not positive definite. |

−41686 | The R matrix is not symmetric. |

−41685 | The Q matrix is not symmetric. |

−41684 | The covariance matrix is not symmetric. |

−41681 | The number of rows of the gain do not equal the number of outputs of the system model. |

−41680 | The number of columns of the gain do not equal the number of inputs of the system. |

−41679 | The system model does not have an input. |

−41678 | The index specified in the input, output, or state vector is greater than the maximum system dimension. |

−41677 | The required system matrix D was not provided. |

−41676 | The required system matrix C was not provided. |

−41675 | The required system matrix B was not provided. |

−41674 | The required system matrix A was not provided. |

−41673 | The number of columns for matrices R and Q must be identical in the Lyapunov equation. |

−41672 | The number of rows for matrices P and Q must be identical in the Lyapunov equation. |

−41671 | Matrix R is not square in the Lyapunov equation. |

−41670 | Matrix P is not square in the Lyapunov equation. |

−41669 | Ackermann is valid for single-output system models only. For Observer Gain, C must have one row. |

−41668 | The system model is not single-output. |

−41667 | The system model is not single-input. |

−41666 | The number of rows in D is not equal to the number of outputs. |

−41665 | The number of columns in D is not equal to the number of inputs |

−41664 | The number of columns in the regulator gain K does not equal the number of states. |

−41663 | The number of rows in the regulator gain K does not equal the number of inputs. |

−41662 | The number of rows in N is not equal to the dimension of the noise vector w (Nw). |

−41661 | The number of columns in N is not equal to the number of outputs. |

−41660 | The dimensions of R are not equal to number of outputs in the system model. |

−41659 | The number of rows in N is not equal to the number of outputs. The number of rows in N is the number of outputs that the cost function weights. |

−41658 | A is ill-conditioned. You cannot calculate its inverse. |

−41657 | The system model is marginally stable. Calculations require a stable system model. |

−41656 | The system model is not stable. Calculations require a stable system model. |

−41655 | The pair [A B] or [A C] is not controllable or observable. |

−41654 | The number of rows in H is not equal to the number of outputs. |

−41653 | The number of rows in G does not equal the number of states in the system model. |

−41652 | The number of columns in G and H must be equal. |

−41651 | The dimensions of Q are not equal to the dimension of the process noise. Matrix Q must be square with dimensions identical to the dimension of the noise vector w. |

−41650 | The dimensions of Q do not equal the number of outputs. Matrix Q must be square with a dimension equal to the number of outputs. |

−41649 | The compound noise covariance matrix, [G O; H I]*[Q N; N' R]*[G O; H I], is not positive semi-definite. |

−41648 | The noise covariance matrix is not positive definite. |

−41647 | The number of columns of the Kalman gain, L, is not equal to the number of outputs in the system model. |

−41646 | The number of rows of the Kalman gain, L, is not equal to the number of states in the system model. |

−41645 | The sampling time number is not the same. Both system models must be continuous or have the same sampling time. |

−41644 | The Hamiltonian matrix is not square. The Hamiltonian matrix must be a square of dimension 2n x 2n, where n is the number of states. |

−41643 | The system model is not observable so you cannot calculate the matrix transformation T. |

−41642 | The number of columns in N is not equal to the number of inputs/number of columns of B. |

−41641 | The number of rows in N is not equal to the number of states/dimensions of A. |

−41640 | Matrix R is not square. |

−41639 | The control weighting matrix R must be positive definite and have dimensions equal to the number of inputs. |

−41638 | Matrix Q is not square. |

−41637 | The dimensions of Q are not equal to the dimensions of A, which also are the number of states. |

−41636 | The number of columns in C is not equal to the number of states. |

−41635 | Matrix A is not square. The matrix A must be square. |

−41634 | The system model is not controllable so you cannot calculate the matrix transformation T. |

−41633 | The number of closed-loop poles does not equal the number of columns in matrix A. |

−41632 | Ackermann is valid for single-input system models only. For controller gain, B must have one column. |

−41631 | The number of rows in B is not equal to the dimensions of A, which also are the number of states. |

−41630 | One or more complex numbers does not have its complex conjugate. |

−41629 | Matrix Q was not provided. You must specify the required matrix Q. |

−41628 | The pair (Ahat, B1) cannot be stabilized. |

−41627 | The pair (C1, Ahat) is not detectable. |

−41626 | Nbar is not valid because the matrix [Qbar - Nbar.inv(Rbar).Nbar'] is not positive semi-definite. |

−41625 | Rbar is not positive definite. |

−41624 | The R matrix is not positive semi-definite. |

−41623 | The transformation matrix is not invertible. |

−41578 | The number of final constraints does not match the number of constrained variables. |

−41577 | The number of initial constraints does not match the number of constrained variables. |

−41576 | The size of a weight factor vector does not match the size of the corresponding weight matrix. |

−41575 | At least one of the weight matrices in the cost function is not square. |

−41574 | The size of the input change weight matrix in the cost function does not match the number of inputs in the controller model. |

−41573 | The size of the input weight matrix in the cost function does not match the number of inputs in the controller model. |

−41572 | The size of the output weight matrix in the cost function does not match the number of outputs in the controller model. |

−41571 | The initial conditions used to initialize the model predictive controller do not match the dimensions of the model system matrices in the controller. |

−41570 | The input frequency vector must be greater than zero. |

−41569 | The closed-loop transfer function cannot be calculated. The output Y is not a function of the input U when a feedback connection is implemented. Therefore, the closed-loop transfer function cannot be calculated. |

−41568 | The number of elements in the initial condition vector does not match the number of outputs in the system model. |

−41567 | The size of the time vector is too large. The given initial time (t0), final time (tf), or time step (dt) require the size of the time vector to be greater than the maximum allowable size. |

−41566 | The initial frequency is greater than the final frequency. The initial frequency must be less than the final frequency. |

−41565 | The initial gain must be less than the final gain. The initial gain you entered is greater than the final gain you entered. The initial gain must be less than the final gain. |

−41564 | dB drop has to be negative. For a bandwidth calculation, the db drop has to be a negative number. |

−41563 | The size of the frequencies vector and response vector is not equal. |

−41562 | The interpolation frequency does not lie within the range of the frequencies. The interpolation frequency does not lie within the range of frequencies specified by the frequencies vector. |

−41561 | The Gaussian White Noise matrix must be a positive semi-definite matrix and must have the same number of rows as the number of inputs to the system. |

−41560 | The system model has infinite covariance due to direct feedthrough. The system model has direct feedthrough, which means the matrix D is not zero. Continuous system models with direct feedthrough have infinite covariance. |

−41559 | The number of inputs applied to the system model does not equal the number of inputs in the system model. The columns of matrices B and D in a state-space model or the columns in transfer function or zero-pole-gain arrays must equal the number of applied inputs. |

−41558 | The number of applied inputs does not match the number of inputs in the system model. Columns of matrices B and D in a state-space model or columns in transfer function or zero-pole-gain arrays must equal the number of applied inputs. |

−41557 | The number of initial states does not match the number of states of the system model. |

−41556 | All waveforms must have the same dt and t0. All the input waveforms must have the same sampling time, dt, and initial time, t0. |

−41555 | The time step (dt) and sampling time of the discrete system model must be equal. |

−41554 | The time step (dt) must be less than the final time (tf). |

−41553 | The time step (dt) must be greater than zero. |

−41552 | The initial time (t0) must be greater than or equal to zero. |

−41551 | The final time (tf) must be greater than the initial time (t0). |

−41550 | Input system model must be a single-input single-output (SISO) model. |

−41529 | Sampling time cannot be undefined (–1). |

−41528 | The matrix exponential calculation overflowed. |

−41527 | The model has discrete poles at zero. |

−41526 | The model has a pole at 1 with multiplicity greater than 6. |

−41525 | The model has a negative real pole with multiplicity greater than 2. |

−41524 | The sampling time must be greater than zero. |

−41523 | There is a repeated connection between interconnected models. |

−41522 | The system model must be proper to perform this function. |

−41521 | The system model has a delay. This VI does not support system models with delays. |

−41520 | The system model has a transport delay. This VI does not support system models with transport delays. |

−41519 | The system model has an output delay. This VI does not support system models with output delays. |

−41518 | The system model has an input delay. This VI does not support system models with input delays. |

−41517 | The system model must be a second order system model. |

−41516 | The system model is not square. The number of inputs does not equal the number of outputs. |

−41515 | All variable names must begin with alphabetical letters. |

−41514 | The sampling time for this transformation produces an ill-conditioned system model. |

−41513 | The frequency must be greater than zero. |

−41512 | The order of the polynomial must be greater than zero. |

−41511 | The system model must be continuous. To use this VI, the sampling time of the system model must equal to zero. |

−41510 | The system model must be discrete. To use this VI, the sampling time of the system model must not equal zero. |

−41509 | The dimension of output delay vector does not equal the number of outputs of the system model. |

−41508 | The dimension of the input delay does not equal the number of inputs of the system model. |

−41507 | The dimensions of the input/output delay matrices must equal the number of inputs and outputs of the system model. |

−41506 | The delay in the discrete system model must be an integer. The delay in discrete system model must be an integer multiple of the sampling time. |

−41505 | The number of inputs or outputs exceeds the total inputs or outputs of system model. |

−41504 | The number of outputs of the existing system model does not equal the number of outputs of the supplied system model. Dimensions of matrices C and D of each system model must be compatible. |

−41503 | The number of inputs of the existing system model does not equal the number of inputs of the new system model. Dimensions of matrices B and D of each system model must be compatible. |

−41502 | The number of states of the existing system model does not equal the number of states of the supplied system model. Dimensions of the matrix A of each model must be compatible. |

−41501 | The system model is discrete. The input system model needs to be a continuous system so you can convert it into its discrete equivalent. However the input system model is already discrete. |

−41500 | Sampling time cannot be negative. The sampling time must be greater than or equal to zero, but the value you supplied is negative. |

41500 | This VI does not support system models with delays. The delay information was ignored. |

41501 | The system model has a transport delay. This VI does not support system models with transport delays. The transport delay was ignored. |

41502 | The system model has an input delay. This VI does not support system models with input delays. The input delay was ignored. |

41503 | The system model has an output delay. This VI does not support system models with output delays. The output delay was ignored. |

41504 | The delay information was ignored. |

41505 | The system model is not proper. The order of the numerator polynomial is greater than the order of the denominator polynomial. |

41506 | Fractional delays in the discretization process were ignored. |

41507 | The second connector is ignored as the second system model is undefined. |

41508 | The components of the transport delay matrix could not all be distributed. The residual transport delay matrix contains nonzero elements. |

41509 | The converted model has a low conditioning index, which could indicate an inaccurate conversion by this method. Consider using another conversion method. |

41510 | The conversion of the stable continuous model resulted in an unstable discrete-equivalent model. The matching frequency must be less than pi/T for the stable continuous model to convert to a stable discrete-equivalent. |

41511 | The conversion of the stable discrete model resulted in an unstable continuous-equivalent model. The matching frequency must be less than pi/T for the stable discrete model to convert to a stable continuous-equivalent. |

41550 | The phase margin is infinite. The gain does not cross 0 dB; therefore, the phase margin is infinite. |

41551 | The gain margin is infinite. The phase does not cross -180 degrees; therefore, the gain margin is infinite. |

41552 | Magnitude does not drop below given dB value. The bandwidth cannot be determined because the magnitude does not drop below the given dB value. |

41553 | The actual final time (tf) is different from the supplied value. The values of the time step (dt) and the initial time (t0) cause the actual value of final time (tf) to be different from the supplied value. |

41554 | The 2-norm is infinite because the system model is not stable. |

41555 | The infinity norm is infinite because the system model is marginally stable. The continuous system model has poles on an imaginary axis, or the discrete system model has poles on the unit circle. |

41556 | This VI did not plot the closed-loop roots for large gain values. |

41557 | The final frequency was reduced to equal the Nyquist frequency of the discrete system model. |

41558 | The given time step (dt) and vector size limitations caused a reduction in the final time from its ideal value. |

41559 | The time step (dt) is not ideal. The time step (dt) is not ideal because of the large final time needed to show the complete dynamics of response. |

41560 | Initial conditions were ignored. The outputs are linearly dependent. The matrix C of the system model is not full row rank. |

41561 | Initial conditions were ignored. Initial conditions were ignored because the system model is not strictly proper. |

41562 | The system model has infinite covariance due to direct feedthrough. The system model has direct feedthrough, which means the matrix D is not zero. Continuous system models with direct feedthrough have infinite covariance. |

41630 | The matrices Q and/or R are close to zero norm. |

41631 | The system model has no specified states. |

41632 | The system model has no specified inputs. |

41633 | The system model has no specified outputs. |

41634 | Measured outputs and known/manipulated inputs ignored. When in stand-alone configuration, the measured outputs, known inputs, and manipulated inputs are ignored. |

41635 | The user-defined threshold has been surpassed. The Control Design and Simulation Module could not place the poles in the requested location. |

41729 | This VI changed the denominator to one because the numerator is zero. |

41799 | Invalid inputs or outputs were ignored in producing the plots. The inputs or outputs/states that exceeded the total number of input or outputs/states of the system model were ignored in producing the plots. |

The Simulation VIs and functions can return the following error codes. Refer to the KnowledgeBase for more information about correcting errors in LabVIEW.

Code | Description |
---|---|

–2391 | Failed to write the model parameter. |

–2390 | Failed to read the model parameter. |

–2389 | Cannot read from or write to the specified model parameter because its source is a wired terminal. To read or write the parameter, change its source to Configuration Dialog Box or remove the wire to the terminal. |

–2388 | No parameter exists at the path you specified. Make sure you specify a valid path to a parameter. |

–2387 | The VI that contains the simulation diagram must be either running or reserved for execution. Otherwise, the Access Model Hierarchy function cannot access parameters. |

–2386 | The Access Model Hierarchy function is not supported on the current target. |

–2385 | The dimension of the constraint input vector does not match the dimension of the implicit output vector. |

−2384 | The dimensions of the initial states vector and the initial derivatives vector do not match. |

−2383 | The shared library for the custom ODE solver is missing a callback function. |

−2382 | The LabVIEW Control Design and Simulation Module cannot load the shared library for the custom ODE solver. |

−2381 | The polynomial order of both the numerator and the denominator of the linear time-invariant (LTI) model must be greater than zero. |

−2380 | The dimension of the multiple-input multiple-output (MIMO) linear time-invariant (LTI) model must be greater than zero. |

−2379 | The final time of the simulation cannot be equal to NaN. |

−2378 | The delay must be greater than or equal to zero. |

−2377 | The LabVIEW Control Design and Simulation Module ignores delay properties you specify in a state-space, transfer function, or zero-pole-gain model data type. |

−2376 | The transport delay is configured in a non-deterministic manner. If determinism is required, consider choosing a finite value for either the final time of the simulation or for the maximum delay of the transport delay block. |

−2375 | The Auto Period checkbox on the Timing Parameters page of the Configure Simulation Parameters dialog box contains a checkmark. However, the step size is not a multiple of the period of the source clock. |

−2374 | The negative slew rate must be less than or equal to the positive slew rate. |

−2373 | The version of LabVIEW you installed for this embedded device supports only the 1 kHz timing source of the Control & Simulation Loop. To achieve loop rates other than 1 kHz, you must specify an external timing source. |

−2372 | The index table for a lookup table (LUT) must be non-decreasing. |

−2371 | The discrete sample period of each discrete function must be an integer multiple of the overall discrete step size of the simulation. |

−2370 | A single-input single-output (SISO) state-space model requires a B matrix with only one column, a C matrix with only one row, and a D matrix with only one element. |

−2369 | The model you specified requires direct feedthrough. Open the configuration dialog box of this function and set the Feedthrough parameter to Direct. |

−2367 | The shared library corresponding to the external model returned an error. |

−2366 | The External Model function returned an error. |

−2365 | The order of the linear time-invariant (LTI) model must remain the same from the previous iteration. |

−2364 | The dimension of the multiple-input multiple-output (MIMO) linear time-invariant (LTI) model must remain the same from the previous iteration. |

−2363 | A state-space model with indirect feedthrough requires an empty or zero D matrix. |

−2362 | The number of channels must match the number of inequality constraints. |

−2361 | Insufficient number of user-defined reference points. Ensure that any user-defined reference points are equally spaced according to the Initial Time, Final Time, and Step Size subparameters of the Solver Parameters parameter. |

−2360 | To use the Discrete States Only ODE solver, the simulation diagram must not contain any continuous functions. |

−2359 | The discrete step size must be an integer multiple of the continuous step size. Set the discrete step size to an integer multiple of the continuous step size. If you are using Auto Discrete Time, ensure that all discrete functions on the simulation diagram have a sample period (s) that is an integer multiple of the continuous step size. |

−2358 | A discrete function cannot accept a continuous model. |

−2357 | A continuous function cannot accept a discrete model. |

−2356 | The sample period (sec) must be either –1 or positive. If the sample period (sec) is positive, the sample skew (sec) must be greater than or equal to 0 and less than the sample period (sec). |

−2355 | The value of the Decimation parameter for the Collector function must be greater than or equal to 1. |

−2354 | The number of elements in the input array does not equal the number of columns in the gain matrix. |

−2353 | You cannot change the maximum delay while the simulation is running. |

−2352 | The delay must be less than or equal to the specified maximum delay. |

−2351 | The specified parameter is a vector. Enter a vector value. |

−2350 | The specified parameter is a scalar. Enter a scalar value. |

−2349 | The parameter name is not in the specified parameter list. |

−2348 | The given State Derivatives parameter is incompatible with the specified subsystem. |

−2347 | The given Outputs parameter is incompatible with the specified subsystem. |

−2346 | The given Inputs parameter is incompatible with the specified subsystem. |

−2345 | The given States parameter is incompatible with the specified subsystem. |

−2344 | The given Outputs parameter is incompatible with the specified subsystem. |

−2343 | The given Inputs parameter is incompatible with the specified subsystem. |

−2342 | The given States parameter is incompatible with the specified subsystem. |

−2341 | The initial time of the simulation cannot be greater than or equal to the final time. |

−2340 | The linearizer detected an internal error. |

−2339 | Selected solver cannot handle implicit functions. The solver you have specified does not support differential algebraic equations (DAEs). Use the Configure Simulation Parameters dialog box to select a different solver. |

−2338 | The ODE solver detected an internal error. |

−2337 | You can linearize only simulation subsystems. |

−2336 | The simulation diagram returned NaN to the ODE solver. |

−2335 | The simulation diagram returned Inf to the ODE solver. |

−2334 | An overflow occurred in the ODE solver. |

−2333 | The step size must be between the minimum and maximum step size. |

−2332 | The minimum step size must be less than or equal to the maximum step size. |

−2331 | The absolute tolerance and relative tolerance cannot both be zero. |

−2330 | The discrete step size must be an integer multiple of the step size. |

−2329 | The simulation step size cannot be zero. |

−2328 | You can use the Linearize Subsystem dialog box only on simulation subsystems. |

−2327 | You can use the Linearize Subsystem dialog box only if you have created a VI under My Computer in the Project Explorer. |

−2326 | An internal error has occurred within the LabVIEW Control Design and Simulation Module. If the problem persists, contact National Instruments technical support. |

−2325 | The ODE solver did not converge at the minimum step size. |

−2324 | The ODE solver cannot meet the error tolerance using the minimum step size. |

−2323 | The simulation step size must be greater than zero. |

−2322 | The discrete delay must be greater than zero and less than or equal to the maximum delay. If the maximum delay is –1, then the delay at the start of the simulation is used as the maximum delay during the simulation. |

−2319 | The dimensions of the arrays for the lookup table are inconsistent. |

−2318 | The dimensions of the parameter vectors of this function do not match. |

−2317 | You selected a feedthrough behavior that is inconsistent with the specified discrete integration method. Launch the configuration dialog box for this function and change the Feedthrough or Discrete Integrator parameter. |

−2316 | The order of the numerator must be less than or equal to the order of the denominator. |

−2315 | You must match complex entries in the Zero-Pole-Gain function with complex conjugates. |

−2314 | For a transfer function with indirect feedthrough behavior, the order of the numerator must be strictly less than the order of the denominator. |

−2313 | The size of the initial condition vector is incorrect. |

−2312 | The size of the input vector is incorrect for the MIMO system. |

−2311 | The order of the model must not change from the previous iteration of the Control & Simulation Loop. |

−2310 | The dimensions of matrices A, B, C, and D are not consistent with each other. |

−2309 | The period for this function must be greater than zero. |

−2308 | The duty cycle must be between 0% and 100%. |

−2306 | The frequency for this function must be greater than zero. |

−2305 | The target time for the Chirp Signal function must be greater than the simulation initial time. |

−2304 | The upper limit for the Saturation function must be greater than or equal to the lower limit. |

−2303 | The switch-on point for the Relay function must be greater than or equal to the switch-off point. |

−2302 | The quantization interval for the Quantizer function must be greater than zero. |

−2301 | The Simulation Model Converter failed to properly convert an expression. |

2345 | The Trim function could not meet a specific constraint applied to the variable. |