Parallel logging of data and calculations

I'm currently developing lab software which requires continuous logging of data while using the data in some calculations. At the moment I do not have access to the parallel computing toolbox and am therefore wondering if there are any good alternatives to solving a problem like this.

6 Comments

What kind of sample rates and amounts of data has much to do with what you can/cannot expect to do. Also, how much of the data is required for the calc's just present value or more...
So the data is sampled every 5 seconds and I'm currently only logging from 26 different sources. This is not a lot of data, however it's incredibly time consuming to log due to me needing to use the DeweSoft DWDataReader library in order to get access to the data from the hardware. This is why I believe I need to run the calculations in parallel with the logging. I need more or less all the logged data to make the calculations.
Maybe the solution would be to use a different acquisition method??? I never heard of "DeweSoft" so no klews on that end.
Does "all the logged data" for the calculations mean the 26 sources/sample or the time history of the logged data as well?
It depends on the calculation, some of them are used to get an average of a source over a time period, but most of the calculations are using the currently logged samples.
The problem with this hardware is that if we want to use MatLab, there is no other way to acquire the data than using DeweSoft. Previously LabView was used for both acquiring data and analyzing it but the engineers want to use MatLab directly due to useful tools such as Refprop being available on the platform.
Having never heard of them, I looked up the DeweSoft folk--under the "Developers" tab I found the following bullets --
  • create custom export to export to various file formats;
  • use DCOM interface to fully control Dewesoft and retrieve data by external application.
Either of those of help, maybe?
Not clear to me how the process is working now to retrieve the data so not having much luck in really getting handle on what could be done. If it's file transfer, memmapfile, maybe???
You can download our ActiveX Matlab control example to see how use Matlab with DeweSoft X software.
ActiveXMatlabExamples.zip (please note you need to login in order to access this download).
DeweX ActiveX control examples for Matlab.
For more question please ask on Dewesoft Developer portal.

Sign in to comment.

Answers (0)

Categories

Products

Asked:

on 18 Jun 2014

Commented:

on 3 Aug 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!