LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

why some programs of Labview slows down when it is kept running?

I used this program to acquire some data and record down to a file. For your information, the file size in the end of the program is about 100kB. But, the system memory used by Labview is consumed 20MB more in the end than in the begining of the program and obviously it takes much longer to get one single data. I initially thought that is because I used loops and the size of the resulting arrays become larger, however I used indicators to check the size, which doesn't change much. Is that because Labview never free up the memory used in one program? And has anyone met that program?
0 Kudos
Message 1 of 3
(2,495 Views)
Please post your code for us to look at.

The memory usage you have reported may be due to indicators. LV will allocate memory for the data contained in idicators and controls.

If you have a large data structure returned by a sub-VI and the FP of the Sub-VI is open, storage will be allocated there as well.

Please post something for us to look at so we can be of greater assistance.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 3
(2,495 Views)
Alright, thanks. I have found the error which is due to some mistakes in the process of making an array. Many thanks for your answer.
0 Kudos
Message 3 of 3
(2,495 Views)