03-15-2015 12:29 AM
Hi everyone,
I am currently building an application to control a plant using PID on LabVIEW.
I would like to have the setpoint collected from an analog input module.
The problem is that I do not want the analog input signal data to be used as the actual setpoint, at the time its being read
What I want is to give a delay into the measured signal, so from that point on all data measured will be the set point, but with a constant delay.
Is that possible? Could you help me?
I really appreciate your attention.
Rafael
03-15-2015 12:57 AM
I think i can solve it with the vi pt by pt queue...
03-16-2015 08:00 AM
I would like to have the setpoint collected from an analog input module.
The problem is that I do not want the analog input signal data to be used as the actual setpoint, at the time its being read
As far as I understood your problem, you do want to have the AI as the actual Setpoint. What you do not want is to have it as the current setpoint. Am I correct?
What I want is to give a delay into the measured signal, so from that point on all data measured will be the set point, but with a constant delay.
Is that possible? Could you help me?
What do you exacly mean when you say "delay"? is it a time delay (i.e., 50 milliseconds) or you mean a discrete delay (I.e., using the AI value from the previous iteration as the setpoint for the current iteration of the loop?
03-17-2015 08:02 PM
Hi Felipe,
Thanks for your attention.
In fact you understand my point pretty well.
I want a delay in time, which I expect to change for discrete since i can follow the iteration clock.
regards