Jump to content
Software FX Community

doubt: Realtime mode


Recommended Posts


I'm developing a tool to display data in realtime mode (around 3000 points at a speed of 50Hz) and I'm trying to understand how this mode works.

I already read the documentation for CharFX7 for Java Desktop but there's no reference there to this mode.

Searching in your forums I found some references and examples for Visual Studio and I created some code, although I need some help to understand how this works in order to improve by myself.

Here is the sample code:


chart.getRealTime().setMode(RealTimeMode.LOOP); // I understand this creates a circular buffer, which is what I want

chart.getRealTime().beginAddData(0, RealTimeAction.APPEND); // I cannot understand what is the first argument of this method

chart.getData().set(series, point, value); // should I use this to add data?

chart.getRealTime().endAddData(true, false); // I also cannot understand what is the meaning of this two arguments

I'll appreciate your time and your help

Thanks in advance,

Jorge Pinto

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...