In step 2 you calculate when the experiment is finisched, in step 3 when a sub experiment starts and in step 4 you set the course of temperature. The temperature value will be sent for example by serial port controller to the heating unit.