LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why does my data logging program slow down after a while?

A data logging program created with Labview 5.1. Slows down after a few weeks and creates files in the Temp. directory.Computer is Siemens Scenic pro 124 MB ram and AT-MIO-16XE50 Data acquisition board. Also using Solartron Dig. probes and Fieldpoint units.
0 Kudos
Message 1 of 7
(3,388 Views)
This depends on your program code and files saving technique.
1. During program run, data, stored in memory, may fill it up to the memory end. This needs to be analysed how large your data become after some time.
2. Your logging files may grow as well, slowing down program significantly. Try to avoid very large files. Divide them for reasonable parts.
Sergey
0 Kudos
Message 2 of 7
(3,388 Views)
Freek schrieb:

> A data logging program created with Labview 5.1. Slows down after a
> few weeks and creates files in the Temp. directory.Computer is Siemens
> Scenic pro 124 MB ram and AT-MIO-16XE50 Data acquisition board. Also
> using Solartron Dig. probes and Fieldpoint units.

Make sure that you don't have any arrays, that become larger and larger
with datas you don't need any more. Yust empty them if datas are not
needed anymore.
Niko
0 Kudos
Message 3 of 7
(3,388 Views)
1) how do you know that your array's are growing?
2) Do you empty them each new loop?
Freek
0 Kudos
Message 6 of 7
(3,388 Views)
Any chance that you are using Win 95/88/ME? Those OS's have well documented
memory leaks which will consume all your available memory if an application
is run long enough. Also there are some issues of memory management within
LabView in the allocation of memory.

The solution to the first is to switch to WinNT/2K. The second will be much
more difficult.

On Thu, 22 Feb 2001 03:19:12 -0800 (PST), Freek wrote:

>A data logging program created with Labview 5.1. Slows down after a
>few weeks and creates files in the Temp. directory.Computer is Siemens
>Scenic pro 124 MB ram and AT-MIO-16XE50 Data acquisition board. Also
>using Solartron Dig. probes and Fieldpoint units.

===========================================================================
SolidW
orks Research Partner National Instruments Alliance Member

Christopher Dubea Phone: (504) 847-2280
Vice President of Engineering Fax: (504) 847-2282
Moving Parts L.L.C. email: cdubea@movingpart.com
P. O. Box 6117 URL: http://www.movingpart.com
Slidell, LA 70469-6117
0 Kudos
Message 4 of 7
(3,388 Views)
No I am running with Windows NT
0 Kudos
Message 5 of 7
(3,388 Views)
The problem was in the open/close communication subVI. The close comm. was not inserted and this led to a graduately slowing down of the programm.
0 Kudos
Message 7 of 7
(3,388 Views)