Craig
The only problem that I could see here is changing your X axis during displaying of data. Does the Active X control keep any kind of buffer??
I'm guessing that, that is what most people are after and as such would require a buffer of some description to be kept.
It is a bit of a pity NI couldn't have written this as I'm sure their s.ware engineers could write it much more efficiently than the rest of us.
Basically - shove the data in one end with a buffer size limit and then allow you to plot any point against any other appending data only as you go. Then if the X-axis on the plot has altered then redraw the whole plot.
This I'm guessing is what most of us have implemented on our own - just not as efficiently as NI may have written it.
wayne
At 08:47 AM 12/05/2004 +0100, you wrote:
wayne galbraith wrote:
> This is something that we have all had to put up with for many years > and I don't see NI solving it in the future. Surely the most popular > plotting technique is with an XY graph as we all don't simply plot > against time. I am guessing there is a fundamental problem with only > adding one extra point at a time - although maybe Greg Mc will let us > in on the secret.
Since the Measurement Studio ActiveX graph control has "YDataAppend" and "XYDataAppend" on a per-plot and per-graph basis, there doesn't seem a fundamental reason. And since it looks very like the LV graph, you can use it as a drop-in replacement on the panel, though of course it's not as easy in the code.
-- Dr. Craig Graham, Software Engineer Advanced Analysis and Integration Limited, UK. http://www.aail.co.uk/
---------------------------------------------------------------------- Wayne Galbraith School of Civil and Resource Engineering The University of Western Australia 35 Stirling Highway Crawley 6009
Tel - (08) 6488 3788 email - [EMAIL PROTECTED] www.civil.uwa.edu.au/nata ----------------------------------------------------------------------
