Quote:
Originally Posted by Teamcodeorange
So what do I do from here? I am kind of a noob in complex data management.
|
From there, I would go to "Help" > "Find Examples..." and in the NI Example Finder search for "PID" and look for the General PID Simulator.vi (or any other one you would like to use)
In the block diagram of the example, I would copy the PID gain cluster and the bundle + chart with the PV Setpoint Output label, so your code might look something like below.
I like to include the graph so that the gains are easier to tune, as well as using the controls so you can adjust them while the code is running. (When you get the gains the way you want them, be sure to write them down and take out the controls and replace them with constants; they tend to reset themselves.)