12-04-2013 05:24 AM
ctrl A > ctrl U means clean up the block diagram??
Yes, I normally won't recommend it though in your case it's absolutely necessary for evaluating your vi.
12-04-2013 06:18 AM
As has been pointed out your VI is unreadable.
You have many array operations which are done very inefficiently. Not knowing what you are trying to do makes it difficult to suggest specific improvements, but you almost certainly have more copies than you need. You have repeated code which should be converted to subVIs.
If the arrays are large, you may not want to graph all the data. The graphs make extra copies of the data. Your graphs have plot areas 285 (aad 293) by 250 pixels. Since the Y data on many plots is a straight line, sending more than 250 data points to the Y-axis is useless as LV will reduce the data sent to 250 pixels.
A 180 KB file should not produce more data than your VI and OS can handle. You should be able to manage datasets well into the 10s of MB and probably > 100 MB with some care.
Lynn
12-04-2013 06:59 AM
You made my day..
Now this block diagram is printed on 2xA3 and its on our information wall in Testing Team room 😛
This vi is a killer!
12-04-2013 07:02 AM
ohhhh...
I made you people busy... sorry for that
Currently I am trying to make the sub VI and will see whether it is working or not.
12-04-2013 07:41 AM
It is not working after I made the sub VI.
The thing is that microsoft excel is able to do all this calculation. So why labview shouldn´t?
12-04-2013 07:48 AM
Labview is able to calculate it.
Though your vi isn't it's doing too many things double.
Are all calculations and loops necessary in your vi?
And like Lynn said maybe it's a good idea to delete the graph.
12-04-2013 08:02 AM
I need the slope value,intercept from the graph. But I do not need the graph on front panel.
So I just hide the indicator of graph.
And double means , are you talking about the representation ? If yes then I covert so many DBL into U8.
And if it is to much then I can precalculated some values and then put it in the loop.
12-04-2013 08:04 AM
And one more thing memory full error indicate in the beginning at the ``read from spreadsheet´´.
12-04-2013 08:23 AM
Are you reading in a loop? (i'll take a look at it when i get home) If so it's very possible you reread the file lots of times filling the memory, or somehow get an error 2, which is interpreted as Out of memory.
/Y
12-04-2013 08:24 AM
But, to go back to the beginning, what is it you're actually trying to do?
/Y