Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9076677
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T19:10:04+00:00 2026-06-16T19:10:04+00:00

I would like to monitor a simulation process from a commercial software package. The

  • 0

I would like to monitor a simulation process from a commercial software package. The commercial software offers C API interface that has an initialization callback function for a process along with a callback function that is executed at each step in the simulation process. At each step I would like to monitor/plot approximately 10 float values that are available in the callback function. I plan to use a plotting tool such as LightningChart, http://www.arction.com/, to monitor and view the values. I will use a C++/CLI wrapper to call the .NET charting library during each step in the process to update the chart.

I have already created a simple dll utilizing the API callback functions to output the values to a text file in which I would perform plotting and analysis after completion. Although my goal is to see the data real-time.

My question is, how can I call a form in the simulation process initialization callback that stays persistent throughout the process and I can update at each step. Also, what would be the ideal data structure to store the process parameter values that would also be persistent? When using C++ to write the data values to a text file with the callback functions the speed on my i7 processor is approximately 1700 steps per second. Without using the API and the callback functions to store data the simulation speed is approximately 4000 steps per second. I would obviously expect this to be dramatically slower when charting the real time data and that is acceptable. Any thoughts?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T19:10:05+00:00Added an answer on June 16, 2026 at 7:10 pm

    As you intent to chart real time data, I would suggest you to use Memory Mapped Files for sharing data between the simulation process and the callback function. This would be faster than performing I/O operations on a physical file and you would be able to share data.
    In the initialization function you can create the Form and update the values on it from the callback using a memory mapped file. Here are some links on Memory Mapped Files link1
    link2

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to monitor the data that gets sent to and from an
I am new to android. I would like to monitor the sip packets that
I have a few JAVA application that I monitor using JMX. I would like
I would like to monitor a log file that is being written to by
Using python I would like to monitor a .avi raw RGB video file that
I would like to monitor all incomming SVN protocol requests / repsonses from an
I would like to monitor the bytes that were sent and received by an
I would like to monitor which of MY classes were accessed during Grails app
I would like to monitor if a server is up or down, and i
I would like to monitor my program which is running on the web server.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.