Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

PID Setpoint Profile VI

LabVIEW 8.6 PID Control Toolkit Help
June 2008

NI Part Number:
370401E-01

»View Product Info

Owning Palette: PID VIs

Installed With: PID Control Toolkit

Generates setpoint values over time in a control loop for ramp and soak types of control applications.

Example

setpoint profile specifies an array of time and setpoint value pairs that define the profile of the setpoint as a function of time.
time (s) specifies the time values in the setpoint profile. Specify the time (s) values in ascending order.
setpoint specifies the setpoint values in the setpoint profile.
dt (s) specifies the interval, in seconds, at which this VI is called. If dt (s) is less than or equal to zero, this VI uses an internal timer with a one millisecond resolution. The default is –1.
reinitialize? specifies whether to reinitialize the output to the setpoint profile at time t = 0.
setpoint returns the setpoint value output this VI calculates from the setpoint profile and from the elapsed time since the first call or reinitialization of this VI.
profile complete? indicates whether the elapsed time is greater than or equal to the last defined time value in the setpoint profile.
elapsed time (s) returns the elapsed time, in seconds, since the first call of the VI or since the reinitialization of the VI.
dt out (s) returns the actual time interval in seconds. dt out (s) returns either the value of dt (s) or the computed interval if you set dt (s) to –1.

Example

Refer to the Simulation - Cascade and Feedforward Surge Tank Level VI in the labview\examples\control\pid\prctrlex.llb for an example of using the PID Setpoint Profile VI.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit