10-11-2006 06:44 AM - edited 10-11-2006 06:44 AM
Message Edited by Nishant on 10-11-2006 06:46 AM
10-11-2006 07:44 AM
Nishant
If your data is Time & Date, Data format then you could use an XY graph.
Just to see what the data looks like could you post an example file containing your data?
thanks
David
10-11-2006 01:46 PM
10-11-2006 02:30 PM
10-11-2006 11:35 PM
Hiiii, Dennis
One thing is you are right that i am reading data one line at a time, so that i should read all the data at a time and format it but first thing is i dont know how to format those datas to plot it once in the XY graph.
Another issuse, i might have more than 50,000 data to be read in a single column which could be the difficult one to read at once, and to format it could be the problamatic, and i am anyways plotting those datas onto the XY graph.
I have already sorted out the problem of converting time stamp string into the numeric so that is not the problem, the most difficult issues are the two, which i have explained you, if you can provide me solution, then it could be the great thing for me.
Thanks,
Nishant
10-12-2006 01:38 AM
10-12-2006 07:47 AM
I don't think of a chart updating one point at a time as being very static.
You haven't posted your code or the data so I'm not sure exactly how to answer you. With a waveform chart, you can update one point at a time and display time on the x axis if you read in the first two time stamps and calculate the dt and t0. Then this can be wired to a property node of the chart. This would be similar to the shipping example called Real-time Chart. The assumption would be that you have a constant sample rate. If not, then you would have to use an XY Graph. There is also a shipping example called XY Chart that shows how you can make an XY Graph behave like a chart with updating one point at a time. Personally, I think viewing data of-line is better with a graph, though the load time to read in the entire file might be a bit lengthy. Once it's loaded though, you can use the zoom tools to view smaller sections of data.
If you use a chart, data will automatically disappear when you exceed the chart history length. Once the data has been discarded, you would have to start a read again to get it.
10-12-2006 02:01 PM
10-12-2006 02:33 PM
10-12-2006 11:10 PM