04-11-2010 07:18 AM - edited 04-11-2010 07:26 AM
Hi,
I am trying to write my own Model predictive controller in labview for my thesis. It works for a SISO-system, but when I give in a 2x2-MIMO system, it gives memory is full on a block initialize array (and the size of that array is 0 or 1 here). I don't know anything about memory usage in labview, only that you can't store big arrays, but I don't have big arrays I think. The code looks like a big mess, but maybe there is a simple reason for the error. The main VI is testMPCLS, all the settings are ok to test, you only need to press MPC? button to true to let the MPC start. There is one button you have to adjust to see the error; # Rijen matrix transferfunctie x # Kolommen matrix transferfunctie, if you set this to 1 x 1, it works (SISO), but if you change it to 2 x 2, you get the error, 2 x 1 doesn't give an error though. It's labview 2009.
Regards,
KF_
04-11-2010 07:20 AM
04-11-2010 08:25 AM
04-11-2010 09:03 AM - edited 04-11-2010 09:05 AM
Thanks for your reply,
I was just checking some more and it turns out i was feeding NaN to some parts because the order of clusters which connect some subvi's didn't match and that caused the error. I converted to labview 8.6, I hope it works, I'll probably will encounter some more problems along the way 🙂 . You also need control design and simulation toolkit btw.
04-11-2010 09:04 AM
04-11-2010 03:39 PM
I dont have control toolkit installed. Maybe another control gurus or application engineers can help you out. This looks like a monster program.
Have you tried on a faster machine?