LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview stops working over night

Solved!
Go to solution

Hi,

 

I have a big problem with my labview program.

The program should work over night to record data. The Problem is it stops working in the night.

It always happens at different times and in different positions of the program.

I already tried both, to lock the comuper over night (would be better) and to keep it unlocked.

The energy settings are turned off and the computer is not connected to any network.

I am out of ideas what the reason could be.

 

I am happy about any suggestions

 

Yours Scherni

0 Kudos
Message 1 of 32
(3,407 Views)

It could be a memory issue. Do you get an error when it stops? Are you collecting any data and are you using arrays? It could be that you run out of memory. 

Regards,
Even
_________________________________
Certified LabVIEW Associate Developer

Automated Test Developer
Topro AS
Norway
0 Kudos
Message 2 of 32
(3,397 Views)

I don't get any errors....that's my big problem. So I don't know what the reason is for the stop.

What I forgot to say is that when I click on the labview program (or unlock the computer) the program continues working.

 

I use some array, but not for data acquisition. In the arrays there are only some data stored.

0 Kudos
Message 3 of 32
(3,392 Views)

You should post some code.

 

I've never seen a program simply "standing by" on its own. So either there are some segments of code blocking execution or you have a really, really odd "feature".

 

Also you should give some figures on your system like:

OS?

LV version?

Did you log system parameters using Windows Performance Monitor?

...

 

thanks,

Norbert 

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 4 of 32
(3,373 Views)

Thanks,

 

I attached the main vi. If you need the SUBVI's too, please let me know.

The code is programmed with labview 2011.

At the moment it is running on an 30 day evaluation version of LV2012. When I'm done programming I will create an EXE or an installer.

OS is Windows XP, CPU=Pentium 4 (2,8GHz), RAM=4GB

 

I didn't log system parameters using Windows Performance Monitor.

But I will try doing this tonight.

 

Scherni

0 Kudos
Message 5 of 32
(3,368 Views)

For German readers: there's some more information already known...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 6 of 32
(3,366 Views)

Sry..only 1GB of RAM is in the PC.

0 Kudos
Message 7 of 32
(3,340 Views)

That leaves you 500-600 MB left.. Which could be an issue if your software is not optimal.

Regards,
Even
_________________________________
Certified LabVIEW Associate Developer

Automated Test Developer
Topro AS
Norway
0 Kudos
Message 8 of 32
(3,326 Views)

It is running at the moment and the tast manager tells me that 600MB are in use at the moment.

So it seems to me as if there is enough free space?!?

0 Kudos
Message 9 of 32
(3,320 Views)

well, you got almost 400MB left. If you run your program, do you see any increasing memory useage? 

Regards,
Even
_________________________________
Certified LabVIEW Associate Developer

Automated Test Developer
Topro AS
Norway
0 Kudos
Message 10 of 32
(3,315 Views)