LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you extend a chart's x-axis range?

Solved!
Go to solution

Hello,

 

Is it possible to extend a chart's x-axis range to ten seconds, rather than the default five seconds?

 

I've attached a simplified portion of my code, which contains a DAQ Assistant connected to a chart. I've played around with the chart history length, sampling frequency, and sample numbers; however the chart's x-axis range remains a constant five seconds. I feel this is a relatively fundamental concept, but it eludes me.

 

Settings currently set to:

Sampling Frequency: 2k Hz

Samples Read: 200

Acquisition Mode: Continuous sampling

Chart Update Mode: Strip

Chart History Length: 1024

0 Kudos
Message 1 of 3
(3,277 Views)
Solution
Accepted by topic author curious_and_learning

You should be able to change the X-scale by right clicking on your chart and changing the scale properties.

 

Programmatically, use the Property Node for the X-scale.

Message 2 of 3
(3,256 Views)

Thank you. I feel foolish as this was trivial:

 

For those who don't know:

 

Right-click the chart

Select X-Scale->Properties

Under the Scales tab, enter your time range in the minimum and maximum boxes.

 

0 Kudos
Message 3 of 3
(3,249 Views)