briansawyer Posted April 11, 2011 Share Posted April 11, 2011 I am using a power supply to control the power level of the device. As a safety, it has an enable pin that I am turning off when the power is too high. I have a PID loop running in parallel that continues to run. How do I turn off the PID loop via programming? I have the trigger event set but I can't find the code to turn off the PID loop. Link to comment Share on other sites More sharing options...
AzeoTech Posted April 12, 2011 Share Posted April 12, 2011 use: endpid(mypidloop) All the high level objects have begin/end functions: beginseq() / endseq() beginlogging() / endlogging() beginexport() / endexport() beginpid() / endpid() Note that all these functions take the name of the object (in your case the name of the pid loop) directly, not in quotes. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.