02-03-2009 02:20 PM
Hello,
I've written a program that does a linear temperature ramp on sample substrates under UHV. Right now, the program just ramps the current of a power supply(which heats the sample by radiative heating), reads the temperature from a thermocouple, and using a feedback formula adjust the current accordingly so that the ramp stays linear. All of this is done in a while loop. I now need the program to be able to ramp to a certain temperature, and hold at that temperature for a time period. I already have the feedback formula written in order to do this, but how do I tell my program to use my new loop once the old loop reaches a certain temperature? I was thinking maybe an event structure, but still not sure on how to use it. Your help is greatly appreciated, thank you.
02-03-2009 02:44 PM
You need a state machine (or action engine). You can create one, from the Labview templates.
see here
An easier way is to stop the loop and continiou with a new loop. Of cource this option is "one way".
02-03-2009 03:49 PM