LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW Wafeform graph reset number plots

Hi

Somehow I can't find the trick to reset the number of plots activated in a wafeform graph.

The graph has to display a varying number of plots. The plot legend should adapt to this and not show previous plot names.

Maybe I am blind..

Thanks

0 Kudos
Message 1 of 2
(674 Views)

Hi,

controlling the number of legend rows is not that obvious 🙂 I made some experiments on controlling the number of rows that you can check or uncheck. Hope this will solve your problem if you elaborate further.

 Go to Block diagram. Right-click on the plot> create>property node>legend>number of rows. Then a box with this vi will appear. You place it with your plot. Right-click on that vi and find> change to write (should be the 4-th row from top). This will allow you to write a number of checkboxes that you see.

  If you don't want to do it manually, then you could attach it to the array size function coming from your data array, and it will set the number of the rows in the legend.

Right-click on the plot> create>Invole node>Reinitialize to default. This might also be helpful.

0 Kudos
Message 2 of 2
(625 Views)