LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How fast can a PID run in Labview RT?

MY goal is to run a loop at 10,000 samples/sec without introducing any time lag in the feedback. THat is to say I want the feedback to run in real time.
0 Kudos
Message 1 of 2
(3,025 Views)
A 10 KHz loop rate for one PID calculation should not be a problem with LabVIEW RT and the RT Series PXI-8170/850 MHz Controller.

A simple PID loop has been benchmarked on the 700 MHz controller at 33 KHz. This test was done with no other parallel operations - no communication or data logging, only the PID calculation. This was also done at time critical priority with hardware timing, with the AI and AO sharing a clock.

In addition, the DAQ VIs used were modified (to look like those now shipped with LabVIEW 6) to accept preallocated arrays so that no memory management occurred inside the loop.

For more information, I recommend visiting the LabVIEW Real-Time Resource Library in the Developer Zone.

Chad Humberstone
Application Engineering
National Instruments
Message 2 of 2
(3,025 Views)