Solved! Go to Solution.
I don't have time to modify any code now. Plus I don't have your subVI's.
What your code is missing is a case structure. The inner while loop with F wired to the Run terminal is useless. It just runs once and basically just provides a shift register for you which you could acually move out to the outer loop.
Store your temperature in the shift register (much like you are doing now the Temp3). IF temp is greater than 26, then in the case structure do your subtraction from the shift register to start lowering the temperature. Your loop rate and how much you subtract will all depend on how fast you want to lower it. In your False case of the, then do whatever it is you want. Right now it just looks like you are randomly generating other numbers in your outer For loop but I'm not sure why. Perhaps that should be moved into the False case. Or whatever you want the temperature to do when it is not above 26.