07-07-2023 11:14 AM
Howdy,
I am currently working on a project where I am controlling a two way acting pneumatic piston with two electronic pressure regulators. These pressure regulators accept a voltage range of 0-10 VDC. I am wanting the pressure regulators to be controlled with the speed of the piston measured by taking the derivative of the data obtained from an LVDT. I am very new to LabView and I am having a lot of trouble with this. I am using a PID controller and my process variable, the derivative of the LVDT data, is not changing at all whenever I change my setpoint variable. I have attached my VI below. Am I missing something or are my PID gain values just not right?
Thank you for any help,
Shafique
Texas A&M University
07-07-2023 11:34 AM
Oops, the attachment never made it. 🙂
07-07-2023 11:45 AM
Hm, weird. I'll try and attach it again. Hopefully it works this time.
07-07-2023 02:04 PM - edited 07-07-2023 02:05 PM
Hi Shafique,
@Shafique9601 wrote:
I am very new to LabView and I am having a lot of trouble with this.
This can be seen by your use of ExpressVIs and DDT wires all over the place…
07-10-2023 09:34 AM
Hi GerdW,
I did not realize I was making so many mistakes within my code. That being said, do you have any recommendations on how I should clean up my code?
Thank you,
Shafique