PID Setpoint Profile VI
- Updated2025-07-30
- 3 minute(s) read
Generates setpoint values over time in a control loop for ramp and soak types of control applications.

Inputs/Outputs
setpoint profile
—
setpoint profile specifies an array of time and setpoint value pairs that define the profile of the setpoint as a function of time.
dt (s)
—
dt (s) specifies the loop-cycle time, or interval in seconds, at which this VI is called. If dt (s) is less than or equal to zero, this VI calculates the time since it was last called using an internal timer with 1 ms resolution. If dt (s) must be less than 1 ms, specify the value explicitly. The default is -1.
reinitialize? (F)
—
reinitialize? specifies whether to reinitialize the output to the setpoint profile at time t = 0.
setpoint
—
setpoint specifies the setpoint values in the setpoint profile.
profile complete?
—
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)
—
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)
—
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. |
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\control\PID\Simulation - Cascade and Feedforward Surge Tank Level.vi
setpoint profile
—
time (s)
—
reinitialize? (F)
—
setpoint
—
profile complete?
—