UnseenMenace
What do you say about this - I make a public API for accessing IAW Monitor data?
For you, as a programmer, it would mean the following:
There would be a class in charge of fetching IAW Monitor data. Its data members would look like this: double RPM; double MAP, etc. There would be one one method you would need to call whenever you demand new data. The method would fill data members with current data. This class would be declared within the .h file I would supply, and method would be exported from my dll.
If you program in C++, you would need to do this (roughly):
at the beginning:
#include "rpiawdata.h"
....
in initialization stage:
pIAWdata = new TIAWdata();
in your dashboard refresh routine:
pIAWdata->Update();
and then the data members could be read easily:
RPM = pIAWdata->RPM;
MAP = pIAWdata->MAP;
Of course, this all requires that you have RP Lab IAW Monitor running in the background, as its engine would be used to do actual comms and data conversion.
Best regards,
Nikola