09-03-2010 01:56 AM
hi
all
in my attached file the my .vi file (iam using labview 2009)
the problem is of x_u?
(Error in function x_u at line 45: The indexes are out of bounds for the variable you specified.)
basicly iam trying to get x_u through feedback node which is coming from output node x_ukp1 of my mathscript file.
is feedback node need any intialization of size or any thing else it needs??
my program is related to discrete sttaes
any one could help regarding that my problem?
thanks
tc
09-03-2010 02:17 AM
(You might get better help in the Mathscript forum.)
Sorry, I don't have your toolkit and loading your VI in LabVIEW 2010 crashed hard to the desktop. (It opens in 2009, though).
09-03-2010 02:23 AM
thnaks
09-07-2010 08:21 PM
Hey tc,
Inside the Control and Simulation Loop, we advise people to use the "Memory" function to allow a feedback loop. This is inside the "Simulation>>Utilities" palette.
We also filed a CAR number 247859 related to the problem reported by this thread.
09-07-2010 09:09 PM
tc,
One more thing. It looks like you are trying to do an adaptive control systems inside mathscript. Then, you probably want the feedback node to have some sampling time related to it. The Memory block can be configured to have a discrete sampling time that you can change it accordingly.
Also, you have to initialize the vector accordinly with the right size.
Hope this helps
09-11-2010 12:27 PM
thanks
barp i will try then will tell u tc