LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to increase the memory of VI?


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.

---

UnCertified LabVIEW Student
Mistakes are for learning, that's why suggestions are always welcome!
0 Kudos
Message 11 of 42
(1,326 Views)

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

0 Kudos
Message 12 of 42
(1,316 Views)

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!

http://www.krzysztofszewczyk.net
0 Kudos
Message 13 of 42
(1,304 Views)

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.

0 Kudos
Message 14 of 42
(1,299 Views)

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?

 

0 Kudos
Message 15 of 42
(1,283 Views)

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.

---

UnCertified LabVIEW Student
Mistakes are for learning, that's why suggestions are always welcome!
0 Kudos
Message 16 of 42
(1,277 Views)

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.  

0 Kudos
Message 17 of 42
(1,266 Views)

And one more thing memory full error indicate in the beginning at the ``read from spreadsheet´´.

 

0 Kudos
Message 18 of 42
(1,265 Views)

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

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
Message 19 of 42
(1,254 Views)

But, to go back to the beginning, what is it you're actually trying to do?

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 20 of 42
(1,252 Views)