LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Not enough memory when recording data in LabVIEW

Hello. When I am recording some data from a motor, such as current, voltage etc., I have an error [Not enough memory]. If I press pk the LabVIEW stops the program. I have to restarts the LabVIEW and pc and then it can run again. What can be the problem and how it can be fixed? Thank you 

0 Kudos
Message 1 of 4
(173 Views)

Hi samchuk,

 


samchuk.lili@gmail.com wrote:

What can be the problem and how it can be fixed?


Problem: You are recording too many data and run out of memory…

(Possible) solution: don't collect so many data, save more often/earlier…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(153 Views)

I need to sav 10 s of data in 1 file, I can't save it more often

0 Kudos
Message 3 of 4
(120 Views)

samchuk.lili@gmail.com wrote:

I need to sav 10 s of data in 1 file, I can't save it more often


Who says you have to save it all at once?  Open/Create the file before the loop. Inside the loop, collect 100ms of data (for example) and save it to the file.  After the loop, close the file.  If you find your code still struggling to keep up with the acquisition, look to a Producer/Consumer setup.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 4
(113 Views)