ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

integral controller with shift registers

Solved!
Go to solution
I have a while loop for PI control and I want to add up the previous N error values to get a cumulative running total (integral) of error. I can do this with shift registers if I just want a few previous values - say 1, 2, 5 etc. But what if I want 100 or 1000? clearly shift registers are impractical. Any ideas?
0 Kudos
Message 1 of 4
(2,858 Views)

See attached VI

 

 

hope this helps,

Norbert 

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 4
(2,857 Views)

thanks for this, unfortunately I can't open it since it is 8.6 and I only have 8.5.1

dave

0 Kudos
Message 3 of 4
(2,854 Views)
Solution
Accepted by topic author oilyfingers
0 Kudos
Message 4 of 4
(2,846 Views)