01-29-2014 08:13 AM
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
Solved! Go to Solution.
01-29-2014 08:58 AM
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.
01-29-2014 09:17 AM
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.