LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Intiallization of PID vi controller block in LabVIEW 2009 with cRIO 9014

Hi there, i'm using LabVIEW 2009 with cRIO 9014 to control external DC motor as a part of actuator.

The program which i made for this task is made with PID vi control block .

My problem is that i want to intiallize the parameters of the PID vi controller block whenever the steady state error (setpoint - process variable) is changing orientaion,or in other words when it's changing from plus to minus and vice versa. 

 

Is there any function in LabVIEW which executes only once? i wanted to implement one-time intialization of the PID controller block only in the case that the steady state error change it's orientation...

 

Thanks for any help!

 

Yaron

 

0 Kudos
Message 1 of 3
(2,489 Views)
Search the palette for "First Call?"
0 Kudos
Message 2 of 3
(2,485 Views)

Excatly what i need, super ! 

 

thanks !

0 Kudos
Message 3 of 3
(2,471 Views)