Displaying and Clearing Data Using the Build XY Graph Express VI in a Loop

Updated May 4, 2026

Reported In

Software

  • LabVIEW

Issue Details

I am using the Build XY Graph Express VI.

  • When I wire a true constant to the Reset, my data is displayed on the XY Graph but it looks like it keeps being redrawn over and over.
  • When I wire a false constant to the Reset, I can only clear my graph by stopping and running my VI again.

Why am I seeing this behavior? 

Solution

When the Build XY Graph Express VI is running in a loop and has a true value wired to its Reset input, the Build XY Graph Express VI clears all of its stored values every time the loop iterates and the XY Graph outputs to only display the new values.

  • To display new sets of data on your graph without displaying old sets, wire a true to the Reset input and send each complete set of data per iteration of your loop. 

When the Build XY Graph Express VI is running in a loop and has a false value wired to its Reset input, the Build XY Graph Express VI retains values from previous loop iterations and displays all iterations on the XY Graph. 

  • Change the Reset input value to false to retain values from previous loop iterations and display all iterations on the XY Graph.

You can replace the Constant input used for the Reset input to a Control with appropriate Mechanical Action, to be able to manipulate the state runtime.
The attached VI provides a demonstration of the different behavior of the XY Graph depending on the Reset input value.