You are not logged in. You can browse in the PowerBASIC Community, but you must click Login (top right) before you can post. If this is your first visit, check out the FAQ or Sign Up.
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.
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?
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, and to analyze site activity. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment