From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XY graph Set X axis to display last 300 seconds

Hello,I am running Windows XP and LabVIEW 8.5. I am writtin a program to take in data from an analyzer. I want the data to dispaly on two different XY graphs. The first graph will show the entire session (about 5 hours of data). However, I want the second graph to show the latest 300 seconds of data collected. Is there a property node I can use to achieve this? I don't want to set up a second array. Thank you for any help or support you can provide. 

0 Kudos
Message 1 of 2
(2,717 Views)

If the points are spaced equally in time (are they?), just use a chart.

 

(You can calculate the requred chart history size from the sampling rate and the desired duration.)

0 Kudos
Message 2 of 2
(2,709 Views)