LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Model estimation

Hi, I'm trying to estimate the model of a system using Armax block, while running I can see 41201 error,could some one please help me how to solve it? I've attached the VI here.

0 Kudos
Message 1 of 6
(2,806 Views)

@RKN wrote:

I've attached the VI here.



You forgot to attach the VI..!!


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 2 of 6
(2,801 Views)

Also, is this:

41201 : System Identification Toolset:  At least one of the signal inputs is empty.

or

-41202: System Identification Toolset:  The signal length is too small for computation, or the stimulus and response signals are not of the same length.

 

The first is the input signal you provided has empty values. Please verify that your waveforms have the correct size. The second is related to the number of points of the waveform not being the same size. In general, you can use the waveform Graph to verify the signals you are applying to the function.

Barp - Control, Simulation, RTT and HIL - National Instruments
0 Kudos
Message 3 of 6
(2,751 Views)

Hi barp,

see the attached VI,stimulus and response signal are of same length.I have used the array size to measure both stimulus and response signal.

 

regards

NRK

0 Kudos
Message 4 of 6
(2,722 Views)

Hi,

see the attached VI now.

 

Regards

NRK

0 Kudos
Message 5 of 6
(2,720 Views)

You can't use those VIs inside the Simualtion Loop. You need to use the "SIM Collector" to obtain the whole response and, then, use that VI to estimate your models. Please see this shipping example to learn how to use the collector:

 

examples\Control and Simulation\Simulation\Utilities\SimEx collector.vi

 

Now, if you need to estimate every single simpling time, then you need to use the "Recursive" system identification VIs. Please see following reference as an example:

 

examples\System Identification\Getting Started\Recursive Estimation.llb\Online Model Estimation.vi

 

Hope this helps...

Barp - Control, Simulation, RTT and HIL - National Instruments
0 Kudos
Message 6 of 6
(2,699 Views)