02-08-2008 11:20 AM
02-08-2008 11:55 AM
02-10-2008 11:09 AM
02-11-2008
06:49 PM
- last edited on
08-20-2025
10:18 AM
by
Content Cleaner
Hi naj-rit,
For an analog signal acquisition I would recommend taking a look at some of the included DAQmx example VIs. Specifically the Cont Acq&Graph Voltage-Int Clk.vi may apply to your situation. This VI can be found in LabVIEW by going to theHelp menu and selecting Find Examples.... Once the NI Example Finder is open select Hardware Input and Output»DAQmx»Analog Measurements»Voltage»Cont Acq&Graph Voltage-Int Clk.vi. Some other good resources for learning DAQmx in LabVIEW is the DAQ Getting Started Guide and the Developer Zone article Getting Started with NI-DAQmx: Basic Programming with NI-DAQmx.
The Developer Zone article PID Theory Explained contains a basic explanation of the PID algorithm and tuning theory. I found this article by searching the NI website for “PID tuning”. Also the Wikipedia article on PID controllers has a lot of useful information. Both of these articles explain the Ziegler-Nichols tuning method. Use this method as a starting point to tuning your PID system and then you can fine tune it by hand. The Wikipedia article has a table which explains the effects of increasing each gain parameter.
The PID Control Toolkit includes VIs that do PID control. However, you can create your own PID algorithm in LabVIEW. Another option since you already have PID code in mathscript is to use a mathscipt node in LabVIEW. This will let you run your existing mathscript PID code. If you are unfamiliar with the mathscript node the Developer Zone article Developing Algorithms Using LabVIEW MathScript: Part 1 – The LabVIEW MathScript Node is a good place to start.
07-16-2008 06:40 AM
07-17-2008
12:03 PM
- last edited on
08-20-2025
10:18 AM
by
Content Cleaner
Hi Vijay,
Our PID toolkit was generated from mathematical algorithms that are general knowledge. If you need an example there is one included in LabVIEW 6.0, but the simple PID.vi may not work in current versions of LabVIEW (http://zone.ni.com/devzone/cda/epd/p/id/688). This would serve as a good start however in making your own VI.
Thank you,
Eric Reid