This widget could not be displayed.
This widget could not be displayed.

LabVIEW

This widget could not be displayed.
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 

This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 1 of 4
(715 Views)

Hi samchuk,

 


@Lily3000 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
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 2 of 4
(695 Views)

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

This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 3 of 4
(662 Views)

@Lily3000 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.



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
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 4 of 4
(655 Views)