11-17-2006 09:46 AM
11-17-2006 09:59 AM
11-17-2006 10:09 AM
11-17-2006 10:12 AM
Do you need to be able to see all the data? It sounds to me like you just need the last X number of points, so I am curious why an array of that length that you fill and then use an actual graph doesn't work.
You said you tried something similiar but it is really slow, can you attach that code, maybe there is something we can fix in it to make it fast. In addition what is "slow" and how fast would you like it.
11-17-2006 10:14 AM
11-17-2006 10:16 AM
11-17-2006 12:10 PM
1. Yes, I need to be able to see all the data, not just the last X number of points.
2. They would like to be able to view the data as it's running as a strip chart to make sure the units are outputting the correct values.
3. That code that chopped a second off the beginning of the waveform and added a new second to the end was ridiculous. I don't want to even revisit it. All I really did was take a waveform subset of everything but the first second and then append the new second of data to the end, but it loaded the cpu to 100%. I don't use it anymore so it isn't the problem.
I found something in the picture controls that draws waveforms on graphs, so I'm going to play around with this. It's ideally what I want, I'll just update a picture control and the data won't have to be buffered in memory. I'm sure I'll run into another problem, but so far it looks like what I want.
11-20-2006 09:07 AM
11-20-2006 09:20 AM
11-20-2006 09:33 AM