LabVIEW Control Design and Simulation Module

CD Write MPC FIFO VI

  • Updated2023-03-14
  • 2 minute(s) read

CD Write MPC FIFO VI

Owning Palette: Predictive Control VIs

Requires: Control Design and Simulation Module

Writes a control action setpoint, output setpoint, or disturbance profile window to the MPC FIFO. You then use the CD Read MPC FIFO VI to read values from this MPC FIFO.

Details  

MPC Controller specifies the predictive controller model this VI uses. You create this model by using the CD Create MPC Controller VI.
MPC FIFO specifies the MPC FIFO this VI uses. You create this MPC FIFO by using the CD Create MPC FIFO VI.
Interleaved Profile specifies the values of the control action setpoint, output setpoint, or disturbance profile window to write to the MPC FIFO.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
timeout (n*Sample Time) specifies the time, in number of samples, the VI waits for an empty slot in the MPC FIFO. This VI multiplies the timeout value n by the sample time. The default value is 1.
error out contains error information. This output provides standard error out functionality.

CD Write MPC FIFO Details

Refer to Chapter 18, Creating and Implementing a Model Predictive Controller, of the LabVIEW Control Design User Manual for information about using this VI.

Log in to get a better experience