Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

real-time pid control

Hi,
 
I found a real-time PID control in LabView examples, for E Series boards. I used one of this boards a time ago and used this control. It works very well.
 
Now, I have a M series board (PCI-6221, LabView 7.0) and I would like to use a similar program. I tried to use the DAQmx assistant and look at the examples, but I did not find anything similar.
 
Could you please take a look in this example (attached) and help me in configuring the PCI-6221 to work in similar way?
 
I really apreciate your support.
 
Thanks,
Jeferson
Download All
0 Kudos
Message 1 of 2
(2,800 Views)
Jeferson,

I no longer have LabVIEW 7.0 on my machine, but I know that in LabVIEW 7.1, DAQmx installs an example called "PID Control-Single Channel.vi." This should be exactly what you are looking for. It can be found in the LabVIEW Example Finder (Help->Find Examples) by searching for "PID."

Basically, this VI uses hardware timing (the rate will depend on your computer specifications) to acquire a single point, calculate the PID output, then output that value on the next sample clock.  Please let us know if you have any additional questions!

Hope this helps,
Ryan Verret
Product Marketing Engineer
Signal Generators
National Instruments
0 Kudos
Message 2 of 2
(2,770 Views)