Buffer XY Graph Function

Simulation VI and Function

Buffer XY Graph Function

Owning Palette: Graph Utilities Functions

Installed With: Control Design and Simulation Module

Collects and plots x, y value pairs on an XY graph.

When you place this function on a simulation diagram, LabVIEW automatically wires an XY graph indicator to the function.

Details  

Dialog Box Options
Block Diagram Inputs
Block Diagram Outputs
 Place on the block diagram  Find on the Functions palette

Dialog Box Options

ParameterDescription
Polymorphic instanceSpecifies whether this function is Scalar or Vector. The default value is Scalar.
ParametersLists all the parameters associated with this function. Select a parameter from this list to configure the parameter. When you select a parameter, the parameter and its associated Parameter source control appear in the Parameter Information section of the configuration dialog box.
PreviewDisplays a graphical preview, if available, of the function output or configuration.
Parameter InformationContains the parameters you can configure for this function. You must select a parameter from the Parameters list to make that parameter and its associated Parameter source control visible in the Parameter Information section of the configuration dialog box.
Parameter sourceSpecifies whether you configure this parameter using the Configuration Dialog Box or a Terminal on the simulation diagram. The default value is Configuration Dialog Box. If you select Terminal, LabVIEW displays an input for that parameter on the simulation diagram, and you can wire values to that input to configure this function programmatically. If you select Configuration Dialog Box, LabVIEW removes that input from the simulation diagram. You then must set the value for this parameter inside the configuration dialog box.
decimationSpecifies the value the function uses to determine when to plot a value. If you set the value of decimation to 1, the function plots a value every time step. If you set the value of decimation to n, the function plots a value once every n time steps. The default value is 1.
Buffer SizeSpecifies the number of values to buffer. You can set the value of the this parameter only on the initial iteration of the simulation. You cannot change the value of this parameter while the simulation is running. The default value is 1024.

Block Diagram Inputs

ParameterDescription
decimationSpecifies the value the function uses to determine when to plot a value. If you set the value of decimation to 1, the function plots a value every time step. If you set the value of decimation to n, the function plots a value once every n time steps. The default value is 1.
Buffer SizeSpecifies the number of values to buffer. You can set the value of the this parameter only on the initial iteration of the simulation. You cannot change the value of this parameter while the simulation is running. The default value is 1024.
ValueSpecifies the x, y pair to plot for the current time step.

Block Diagram Outputs

ParameterDescription
XY GraphDraws an XY graph that contains a history of points for the previous Buffer Size time steps.

Buffer XY Graph Details

Use this function instead of a LabVIEW XY graph to plot simulation data correctly. The Buffer XY Graph updates only on major time steps of the simulation.