From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
10-27-2011 12:45 PM
I have a general question about computers. I am using Labview to control how a reactor opens and closes valves to deposit gaseous materials on a surface. The labview program runs fine in the first few minutes (first 20) but as I repeat the number of deposition cycles, the whole program freezes and I always have to restart the computer. I think this is a computer related problem not Labview's fault. Any ideas on how I can fix that? Thanks a lot.
Sicelo
10-27-2011 12:48 PM
Use the Windows Task manager to monitor the CPU and memory usage while you code runs.
What you should loof for is;
Is memory usage increasing?
Is CPU usage increasing?
After you know what is happening post your code and what you found to get more hints.
Ben
10-27-2011 12:56 PM
After you do as Ben suggests. look through your code for:
10-27-2011 01:02 PM
The program is currently running. I closed off everything else on the computer.
CPU usage:10-14%
Memory usage: 1.13 GB
Both of these are not increasing but I know that after 20 minutes the program freezes anf does not respond anymore.
Thanks.
-Sicelo
10-27-2011 01:08 PM
@Sicelo wrote:
The program is currently running. I closed off everything else on the computer.
CPU usage:10-14%
Memory usage: 1.13 GB
Both of these are not increasing but I know that after 20 minutes the program freezes anf does not respond anymore.
Thanks.
-Sicelo
Check it again after 19 minute 30 seconds.
Ben
10-27-2011 01:08 PM
then its probably unnecessary re-creation of DAQ Tasks or re-itnitialization of instruments