I have made a block of code that controls a heater. This block of code works fine on its own, but when I try to copy it into my main program I get Error 50103. I know that this is because I have the DAQ Assistant acquiring data as well as the heater code, but I'm having trouble combining them together. I can't get the heater control to work with a temperature acquired through the DAQ Assistant. How can I successfully add this heater control to my main program? I've attached a copy of my program below.
CJones581