03-26-2010 01:05 PM
Just I want turn on the heater if the temperature is below 0.
Attached is the just part of the huge program. In this case the heater is just turn on for while and turn it off even the temperature is below 0C. How can I keep it on, while waiting on this case for 4 hrs.
Without waiting period is just working fine.
Please let me know you gus need more info.
I am using labview 8.2
Thanks for your time
Solved! Go to Solution.
03-26-2010 01:14 PM
03-26-2010 01:31 PM
I am actuating the switchs every four hrs. Temperature Chamber is running sepeartely it temperature varies from -40C to 85 C.
The fixture is not able to run properly in cold temp without heater...
03-26-2010 01:47 PM
03-26-2010 02:00 PM
03-26-2010 03:17 PM - edited 03-26-2010 03:19 PM
I shouldn't do your homework for you but you had so many errors and bad coding that I decided you could learn from this example.
Hmmm, code snipit stuck in property node for the Actual Temp local variable. Disregard the DigNum property node and its reference. What sets the Actual Temp? The OR function serves no purpose.
03-29-2010 08:45 AM
Thank you very much for your help and the feed back. The Actual temp local variable and or function not useful as you mentioned.
I am working on your code, and found it reads the temperature at once and hold it for specifed hours(4 hours). My temperaure is variable only need to turn on when it below zero.
If I am wrong correct me.
Thanks for your time.
Jey
03-29-2010 08:48 AM
The temperature should monoitored all the time..on that loop..
Thanks
Jey
03-29-2010 10:36 AM
Attached vi is look like working, Please advise any if there are any suggestions or need some improvements.
Thanks for your help
03-29-2010 11:39 AM
Your loop will run every 100 milliseconds. When the elapsed time is 4 hours, the loop will stop. But while running, the subvi to measure temperature will execute. If the actual temperature goes below 0, the DAQ vi will run, causing your digital outputs to turn on. Is this what you intended? This vi will run for 4 hours then stop. What if your temperature goes below 0 in two hours? Do you want your vi to keep running for another 2 hours? Please give more detail on what you want to do. If this suits your purpose, then the vi is fine like it is. Only one suggestion. If the temperature reading subvi gives an error, you may want to stop your loop. Use unbundle function to get the status from the error out. Wire the status into another OR function and combine it with the other OR to stop the loop.