LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PID using formula node, output problem (varying between 0 to the set point)

Solved!
Go to solution

Hello all;

 

I am trying to make a PID control in  LabVIEW. my main objective behind this is I need to set my Analog output value to the setpoint I want. (0-5v max) I tried to use LabVIEW paid toolkit but it didn't help me. so I write my own code in formula node, it's trying to set the output, but it's varying from 0 to the set point. anyone can look into my problem and help. my only job is to keep the Analog output voltage to desired set point using PID.

Please see the Attachments.

Download All
0 Kudos
Message 1 of 5
(2,444 Views)

Hello,

 

 I am unsure on what you mean by formula node? Also, which toolkit were you using that did not work for you?

 

-Brian J.

0 Kudos
Message 2 of 5
(2,404 Views)
Solution
Accepted by topic author Moonnight786

I recently made a very simple PID VI. The Error Factor is set point - process variable.

Download All
0 Kudos
Message 3 of 5
(2,401 Views)

Thank you Brian J for your reply, I tried to use Labview PID toolkit,

0 Kudos
Message 4 of 5
(2,388 Views)

Thank you so much GREGORYJ, your simple example helped me a lot.

0 Kudos
Message 5 of 5
(2,379 Views)