graph speed in x-axis


puzzle

Recommended Posts

Hi,

Is there anyway to increase the scroll rate of 2D graph in the x-axis (Time)? I have tried to set the page refresh rate to 0.05 secs (20 hz) but the x-axis doesn't scroll faster. Thanks for your help!

Link to comment
Share on other sites

a) it will only scroll as fast as the data comes in if you are using "TimeWidth". This is because the right most side of the graph is set to the latest time stamp on the things you are graphing. If your data only comes in once a second, the graph will only really refresh once a second. You can make it scroll faster by unchecking Use Timewidth on the bottom axis and setting the "Scale To" to "systime()" and "Scale From" to something like "systime() - 3600" where 3600 is how far back you want to look. Of course no " in the actual expression. Note however, that of course the trace won't extend to the right all the time if you do this since there is no data available.

B) graphs are painted in a background thread to avoid having them bog down the system if they are complicated (say plotting a million data points). It is therefore possible to have your graphs refresh at a rate slower than than the page refresh rate because they can't keep up. You'll likely need to simplify your screen, lower to 16 bit color, or just get a faster processor if this is the case. Note that although they are painted in the background, they are painted in a single thread, so will only consume processor power (and then only Idle processor power) on one CPU or core. This means that you might not see 100% CPU usage in task manager even though the graphs are running as fast as they can.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.