Hello:
I have an application that has:
* a queue driven state machine (main while loop)
* an event loop in a separate while loop to catch a user's menu selection, button down, etc. This will put states on the queue for the state machine.
One of my states measures voltage from RTDs. I used the SimplePID.vi to calculate the error and feed my duty cycle on my pulse generator to control the on/off power to the RTD.
Basically, in the idle state (most of the time) tempaerature must be regulated so the state that uses the PID is constantly running. The processor time gets eaten up, when the user does choose a menu selection there is a 3- 5 sec. delay before the new state becomes active.
I'm looking for suggestions on how else to implement th
e PID.
Thanks