FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

Free memory in fieldpoint 20xx

Is there an esay way to check the free �ram� memory of my fp20xx module? I can see the memory consumption of my vi�s but I don�t know how much LabVIEW and webserver uses?

The main problem is that my vi�s stop running when consuming to much memory and I do not know how much to much is�

Kind regards,

Jonas
0 Kudos
Message 1 of 3
(3,623 Views)
Add the following line to the labview.ini file on your host computer and restart LabVIEW:

targetmeminfo=true

Then, when you select Operate>RT Engine Info from the LabVIEW menu (having the FP Controller selected as the target), the memory usage of the RT Engine will be displayed. You will see the Total Memory, and the Free Memory.

If your VI stops after a while, it might be due to a memory leak. A typical memory leak generated by a FP application happens when you put the FP Create Tag in a while loop. Remember, the FP Create Tag, FP Open and FP Close have to be out of the while loop.

Also there are some documents on the NI web pages that talk about memory management.Look for them, they might help (go to www.ni.com/zone).

There is one that might be help
ful in the URL below:
http://zone.ni.com/devzone/conceptd.nsf/2d17d611efb58b22862567a9006ffe76/adde63e507afe8ad86256acb005def2f

I hope this helps.

VG
Message 2 of 3
(3,623 Views)
VG, thanks for your very valuable answer.
The ini tag was exactly what I needed.
0 Kudos
Message 3 of 3
(3,623 Views)