04-16-2015 04:10 PM
Hey guys,
So a little background first. I am attempting to control the speed of an actuator through a controller with LabVIEW. It is way more complicated than I am going to explain, so I'm not going to post my code. If you need anymore background, please let me know.
So right now, I have the current velocity outputting to my system. I have that comparing to a desired velocity. What I wanted to do was to say if the current velocity is less than the desired velocity, bump up the current running to the actuator. If it is greater than the desired velocity, lower the current. The idea here is to get the current provided to an equilbrium point that will cause the actuator to move at the desired velocity.
My original thought was to use a case structure with shift registers to update the supplied current.... until I found out that you cannot use shift registers with a case structure. So my question to all of you who are much more experienced with LabVIEW is what is the best way to achieve this effect?
Thanks in advance!
Solved! Go to Solution.
04-16-2015 04:13 PM
Shift registers on whatever structure owns the diagram in which the case strucure lives.
Or an action engine for this control action.
04-16-2015 05:17 PM
Thank you, that worked!