Jump to content
Software FX Community

Real-time in WPF


Recommended Posts

I noticed that the WPF "chart" class does not have the RealTime methods from the WinForms API.



RealTimeAction.Append);chart1.Data[0, 0] = dPotential;



 Is there another way to try out real-time data in the WPF beta?
Link to comment
Share on other sites

  • 1 year later...

Our measurement data is aquired with 200hz, but the widget obviously does not have to refresh that fast because no human is able to keep up with this information rate. An refresh rate of 5hz should be sufficient. We do not care about the implementation details, but a circular buffer is surely what I would chose if I had to code the widget myself.

Another requirement is that one should be able too zoom into a fixed area, say from 00:00:01 to 00:00:02. Note that the chart in zoom mode is static, which means that there are no new points added to the zoomed part. Zooming should not require the data feed to stop. After the zooming operation is done, the previously displayed data + any new data should be visible ("zoom-out").

I know that those requirements are quite challenging but If you could provide this feature it will surely set you ahead of your (many) competitors. I've evaluated 30+ charting SDKs by now, and from our 4 top candidates only one looks like he provides this feature or at least some API methods to do it ourselves QUICKLY. This is National Instruments Measurement Studio.



Link to comment
Share on other sites

How many points do you need the chart to keep? We are researching on a possible implementation for this feature and would like to know about your real world use.

You mentioned NI which I think is a WinForms/ActiveX control (not WPF), I just tested our WinForms control and we can definitely work with a 5hz refresh rate. Our winforms control does not have a feature where zooming would freeze the chart so you would probably have to track when the chart is in zoom mode and not pass new data.

Thanks for the detailed information you have provided, we will post here as soon as we have a build supporting this functionality.


Link to comment
Share on other sites

  • 1 month later...

We have added realtime support to our development branch. The API is the same as our WinForms control and we have added some functionality including the ability to ignore new points while zoomed.

We are not sure when this will be merged into the release branch but we can provide access to these bits which will give you chance to test it and provide feedback.



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...