LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XY Graph - Sweep mode

Hello,

 

I need my XY Graph to be able to switch to Sweep Mode, (the user has to be able to select the range of the time-window).

 

I tryed playng with the max/min range of the x-axis but it does not work.

 

Any suggestions?

 

Please find attached my .vi

 

Thank you

0 Kudos
Message 1 of 2
(2,714 Views)
The basic issue is that the XY graph is a graph, not a chart. No matter what you do to the axis values, the graph just plots pairs of XY coordinates. You will need to manipulate the gata going to the graph so that it appears to update like a chart does.

Keep the data is a shift register and manipulate it as needed before plotting. Say for the example you only want to plot the last 100 points, buffer the data in the shift register as it comes in being careful to only save the last 100 points, then plot whatever is in the shift register.

Do a little searching. There have been numerous examples posted over the years.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 2 of 2
(2,683 Views)