Announcement

Collapse
No announcement yet.

Real-time Data Monitoring

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Real-time Data Monitoring

    Looking for some information on Real-time Data Monitoring or Real-time data plotting.
    I want to display inputs/outputs during simulation process.

    Is it any DLL and/or ActiveX available.

    Sasha Jacimovic

  • #2
    ok...I will bite
    Real time what?? (or more to the point...what is the data you are trying to find??? or what are you using to find this data???)

    to quote a famous phrase (and I hate to say it )
    "Application Specific"


    Anyways let us know some details and maybe someone has a better answer
    Engineer's Motto: If it aint broke take it apart and fix it

    "If at 1st you don't succeed... call it version 1.0"

    "Half of Programming is coding"....."The other 90% is DEBUGGING"

    "Document my code????" .... "WHYYY??? do you think they call it CODE? "

    Comment


    • #3
      To answer the question generically, yes you can monitor events in 'real time' and 'do something' such as plotting with that data.

      However, much depends on 'what' you want to monitor.

      If it's some special piece of hardware, your best source for some kind of API ("DLL") is probably the hardware manufacturer.

      If it's some event on the system (eg, a new file appears in some folder and you have to pick it up and process it), then all the tools you need to handle that are available in the compiler 'off the shelf' - although it is not likely to be something as 'canned' as an API provided by a hardware manufacturer.
      Michael Mattias
      Tal Systems (retired)
      Port Washington WI USA
      [email protected]
      http://www.talsystems.com

      Comment


      • #4
        Thank you for your response.

        I am performing some mathematical modeling and process simulations utilizing PB-based, in-house developed programs. During this process, many large output files are created for different scenarios. Presently, the output analysis is performed after the simulation is completed.

        I would like to be able to monitor the selected output data in real-time on the screen, and decide if I should perform a full post-simulation analysis.

        I hope this explain my objective. My questions are:
        a) can the code for data monitoring be made available for me to include in my PB based simulator, so that I don't always have to pipe the data indirectly through a log file? Is this recommended?
        b) Is it possible to take just the plotter window and integrate it into my program?

        Best regards,

        Comment


        • #5
          If you can give samples of the data/results that you want to monitor you will probably get lots of suggestions.

          There are plenty of examples of grids/listviews in the forums that you might fill with data as you run your simulations, if that's appropriate.

          Charles Dietz once posted sample code to plot values in this thread.. http://www.powerbasic.com/support/pb...ad.php?p=42512

          There are other graphing solutions to be found in the Third-Party Addons too e.g.
          http://www.rmchart.com./
          Rgds, Dave

          Comment

          Working...
          X