02-16-2011 03:59 PM
I am new to Labview and am trying to do something that I think should be simple. It is a control loop to perform a temperature control process. Two setpoints are entered and the loop turns on the appropriate function to either heat or cool to that first setpoint. Then it holds that temperature for a preset time and switches to the second setpoint (haven't gotten that far yet.) It then turns on the heater or cooler to get to that next setpoint. Once there it holds for a preset time. My thought was to used the timed loop counter, feed the counter to an indicator while the it was not at temp, then once at temp store that counter value. Once the difference between the stored value and the current counter was at a preset value switch the temperature set point.
The attachment is under the heading testing case statements, that is kind of the way it turned out.
I am currently learning on Labview 7.1.
I have attached my current code: Be gentle.
DrLarry
02-16-2011 05:39 PM
I cleaned up your code some, but i cant post it as 7.1, i'll post it as 2010 and a picture. You were close.
/Y
02-17-2011 08:04 AM
Thank you Yamaeda, I appreciate the effort.
02-17-2011 10:59 AM
Hey DrLarry,
If you are already done, then disregard this message. A cleaner way to implement this code would be to use a case structure-here is a tutorial (the two follow-up lessons are in the related links on the right). Good luck!
Cheers,
Kellis
02-17-2011 12:16 PM
Hi Kellis,
I appreciate it and will take a look.