LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to increase the memory of VI?

Hello everyone,

 

I made a huge VI... Please find it in attachement.

I had given 3 file path, In raw data file path I have to attached the 165 kb file. And in remaining 2 file path I have to attached 1 kb file.

 

During running my VI the VI stops and showed the error that` VI memory is full ´´ and ``VI stops at Fract/String to Number on block diagram´´...

I eliminate unneccesory indicators but still the error is same, so I dont know how to overcome with this problem.

 

Thank You,

0 Kudos
Message 1 of 42
(3,957 Views)
Hi mrdesai88,

-I couldn't open the vi, can you please save it in LV12.
-These kind of errors occur due to the infinite while loops or if the array/data you are loading is more than your system capabilities.
-With the file sizes you have i don't think this would be problem with system config.
-But. to make sure ,Please provide your system configuration also
Thanks
uday
0 Kudos
Message 2 of 42
(3,937 Views)

Hi,

 

My system RAM is 4 GB(in which 3.21 is usable) and I am using windows 7 with 32 bit operating system.

I made this VI in labview 13, I dont have the Lab view 12 so i cant save it in that. Sorry for that.

 

 

0 Kudos
Message 3 of 42
(3,931 Views)
Go to FIle>>Save for Previous version and save it to LV12 version.
So, System shouldn't have any problem with that config.
Thanks
uday
0 Kudos
Message 4 of 42
(3,927 Views)
0 Kudos
Message 5 of 42
(3,921 Views)

Wohhhhhhh 😛

-This is the craziest vi after this example http://www.ni.com/newsletter/51735/en/ 
-You can't increase your memory of vi, if you try like this I'm sure.
-Use for loops properly and Follow data flow model.
-Debugging this vi is very difficult and Suggestions in this pdf might be helpuful to u
http://www.labviewpro.net/all-in-one/download/2.Imporve_LabVIEW_Performance.pdf
-And this http://digital.ni.com/public.nsf/allkb/771AC793114A5CB986256CAB00079F57 

Thanks
uday
0 Kudos
Message 6 of 42
(3,914 Views)

Yes I know this is the crazy VI.

My PC specifications are ok? 

And this is my project work I have to run this, I dont have any optionSmiley Sad ... and I tried this VI with 60 kb file and it was working quite easily in less time.

 

But my company has the big file until 180 kb.

 

Is it possible to increase the memory by making the sub VI?

0 Kudos
Message 7 of 42
(3,908 Views)

wow that vi.

Try ctrl+A > ctrl+U. 

Aren't you able to process the data in chunks of 60kb?

---

UnCertified LabVIEW Student
Mistakes are for learning, that's why suggestions are always welcome!
0 Kudos
Message 8 of 42
(3,900 Views)
Yes, Your PC is Ok in general, but not with this code.
-Making Sub VI's might improve memory, but still you need to clear unnecessary loops and multiple copies of arrays.
Thanks
uday
0 Kudos
Message 9 of 42
(3,897 Views)

I can able to run this VI with the raw data file uptil 60kb.

 

But prob is my company has most of the file around 150-180 kb.... so that kind of file I am not able to run it.

 

ctrl A > ctrl U means clean up the block diagram??

0 Kudos
Message 10 of 42
(3,888 Views)