Re: need data capture, stat analysis, graph display software for PC



"Wim Ton" <wton@xxxxxxxxxx> wrote in message
news:4602d242$1_2@xxxxxxxxxxxxxxxxxx

"colin" <colin.rowe1@xxxxxxxxxxxxxxxxxx> wrote in message
news:W6zMh.7662$F82.5853@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
I got my PIC producing 10mb data/hr,
now I need something to receive the data
via bluetooth store it and do some statistical analysis
on it and display the results etc.

Before I reinstall my old copy of MSVC C++ I wondered
if anyone knows of a quicker way to get results.
it will probably take me a while to do it with C++ doing all the coms and
windows and maths and graph stuff with mfc,
but ive looked at a few suggestions made like scilab but it doesnt seem
to
be all the flexible,
maybe would be realy good to display the final results in 4d or whatever.

there are also some realy hi price packages too,
It might take me longer to wade through all the different ones
then learn it, then find out its not actually so easy to do exactly
what I want after all becuase its not flexible enough.

maybe I need a good C++ library wich maybe even replaces MFC ?

Does anyone have any usefull experience to share ?

basically I have an experiment wich measures the signal rotating at 3rps
and I need to determine direction from this wich will vary cyclicly
over 24hours.

The signal is 1000 times lower than the noise however,
also considerable number of points will be lost due to glitches etc.
The PIC already does some DSP to recover the signal up to this low level.

or maybe is there another forum wich might specialise in this stuff ?

Colin =^.^=

If you can get some example code that will write the serial results into a
delimited ASCII file, you can do a lot of processing and graphing in
Excel.
Not elegant, but it saves you from learning new packages or languages

Wim

Hi, thanks, Ive arranged the data in CSV (comma seperated variables),
as this seemed most widely used, wich comes in through the com4 port.

Im using bluesoleil software on the PC for the bluetoth dongle,
wich works fine with my rs232->bluetooth device except if the
remote system gets power cycled or the PC reset for any reason
it requires manual intervention to restablish the link.
this is quite irritating, all the other classes of bluetooth
devices seem to have options to start automatically.

I could save the data in DOS window with 'type com4>file.txt' but thats not
so elegent.
would be nice to timestamp the data with accurate time too.
atm im just loking at it on a dos screen,
as hyperterminal realy sucks trying to see large chunks of data.

I would need to do FFT on the data to find the direction,
then do FFT on that again to find the cyclcic change in direction,
its probably not that difficult to do,
in fact I would just do it all in the PIC if it had more than 16k of ram!
it has a DSP engine after all ! although ive done it for a limited period
but I realy need to do average over fixed time span rather than just a
running average so need acess to al the points.

I also need to do standard deviation at both FFT steps and filter out any
glitches,
again this isnt to dificult in theory as such,
but im not sure a spreadhseet would cope with 10e6 data points,
I dont realy like the idea of spreadsheets that much tbh,
so ive never realy used them.
Although Ive programmed in C++ for many many years.

Im not sure if the higher level packages would let you reject points of data
or then let you do an FFT on it.

A graphical display of the data would be nice although a final list of the
stats would be ok albeit a bit boring for all the work gone into it, the
graph would at least give me some visual confirmation of the stats too.

Ive just installed the C# from microsoft as it seems to be free !
C# looks promising too.

Colin =^.^=


.


Quantcast