Note��You must use the PID Advanced VI to implement the controller. You can implement PID controllers with various PID VIs, but PID Advanced is the only VI that supports putting the controller under manual control, which is necessary for using the PID Online Autotuning VI.
Without deleting the controls, constants, or shift registers that contain the values, delete the wires to the setpoint, process variable, and PID gains inputs of the PID Advanced VI.
Wire the values to the Setpoint in, Process Variable, and PID gains in inputs of the PID Online Autotuning VI.
Create a Boolean control with latched mechanical action and a default value of FALSE, and wire the control to the Autotune? input of the PID Online Autotuning VI.
Wire the setpoint out, Process Variable Out, and PID gains out outputs of the PID Online Autotuning VI to the setpoint, process variable, and PID gains inputs of the PID Advanced VI.
(Optional) If you are specifying a value for the dt (s) input, wire the same value to both VIs.
Run the VI.
Set Autotune? to TRUE to begin autotuning.
Refer to the Autotuning PID Online and Inline VI in the labview\examples\control\PID for an example of implementing autotuning with the PID Online Autotuning VI and the PID Advanced VI.