Jump to content
Software FX Community

Real-Time Chart of Non-Real time Data

User (Legacy)

Recommended Posts

I want to show a chart of data that represents the complete time history 

of a simulation and then move a line along that plot to show the current


The indicator line needs to be updated at least 5Hz. My problem is when I

call my update routine the whole simulation grinds to a halt. I assume that


doing something wrong. Here is the code I'm using to update the constant


IChartFXPtr pChartFX = pchtaCharts[iChartIndex];


pChartFX->ConstantLine->Item[0]->Value = iWindowPosition;

pChartFX->CloseData((CfxCod) (COD_CONSTANTS|COD_SMOOTH));

Is there something that I can do to speed up the update of the constant line

or should I try a different way

of highlighting the current time on the chart?

Thanks for the help.


Steve Rasmussen

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