03-18-2024 06:04 AM
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
03-18-2024 06:40 AM
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…
03-18-2024 07:59 AM
I need to sav 10 s of data in 1 file, I can't save it more often
03-18-2024 08:21 AM
@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.