06-07-2012 11:25 AM
This is to control an environmental chamber. Feature I am having trouble with will allow for the user to set a time to have the chamber turn on in the morning, hence saving power. My problem is the program works fine, until the computer sits over night. When I come in the next day the temperature on the Watlow F4 has changed (this means the VI ran, should eliminate sleep/hibernate issues) but the relay did not close. This is running on a PC with Windows XP. I have posted the project. Comms with the Watlow are through a USB to Serial adapted, the 9481 is connected to a cDAQ 9171.
Solved! Go to Solution.
06-08-2012 11:00 AM
Hi NotanNIguru, it seems like a memory leak in your program. What’s the memory size of your computer and what’s the OS?
There are a few changes you could make with your code:
There are a couple of articles talking how to improve LabVIEW performance:
Improving the Performance of Your LabVIEW Applications
Tips and Tricks to Improve LV Performance
06-08-2012 02:22 PM
Are you using the 9481 to apply power to the chamber?
If so, what is the voltage and current requirements of the chamber?
-AK2DM
06-11-2012 06:22 AM
I am not dirrectly powering the chamber, I am merely replicating the actions of the physical buttons to allow remote opperation.
I am passing 120VAC to a relay, the closure only needs to be made for a moment.
06-11-2012 06:33 AM
This is running on Windows XP with 2G of Ram.
I did have a memory waterfall, I found after I posted so here is the update:
1) Good call. I was not closing the DAQmx properly, fixing that seems to have controlled the leak mostly...
2) Good Idea, I will look into this. There is still an increased memory allocation of about 10K every minute or so, the coersion might be the culprit.
I ran the program over the weekend (After DAQmx being properly closed) and still no trigger. I will update the representation of th inputs into functions and try again tonight.
Thank you for all your help.