12-04-2006 11:04 AM
12-04-2006 12:15 PM
12-04-2006 12:17 PM
I think I've found the reason for the x-axis scale not working properly. It appears that there is an upper limit of around 30,000 points that this waveform plot can hold. Now, I just need to know why it takes so long to init. Any ideas?
Thanks.
12-04-2006 12:21 PM
Yes, you are creating an array of 200,000 points for both the history and marker vals. Don't do this.
And, you set the max history of the chart to 30,000 points. The default is 1024 so you had to have changed it at one point.
12-04-2006 01:35 PM
12-04-2006 01:47 PM
Dennis,
Thanks for the call about the marker values. When I received the solution from NI, I just copied it over and it worked. I never dug into how it worked. I just removed the array to the marker values and it inits quickly now. Thanks. As for the history, best I can remember, the original chart drew and compressed the plot as data were added. I wanted a chart of fixed width that would init to nothing drawn, and have the drawing itself scroll across from right to left as the time ticked off. It's working great now. Thanks.
Rick
12-04-2006 02:03 PM
12-04-2006 02:17 PM