Re: need data capture, stat analysis, graph display software for PC
- From: "colin" <colin.rowe1@xxxxxxxxxxxxxxxxxx>
- Date: Fri, 23 Mar 2007 02:46:17 GMT
"John Barrett" <ke5crp1@xxxxxxxxxxx> wrote in message
news:SoFMh.10724$8B1.2161@xxxxxxxxxxx
"colin" <colin.rowe1@xxxxxxxxxxxxxxxxxx> wrote in message
news:gNEMh.17020$2F5.756@xxxxxxxxxxxxxxxxxxxxxxx
"John Barrett" <ke5crp1@xxxxxxxxxxx> wrote in message
news:KkEMh.10713$8B1.2712@xxxxxxxxxxx
"colin" <colin.rowe1@xxxxxxxxxxxxxxxxxx> wrote in message
news:qADMh.3857$5c2.2686@xxxxxxxxxxxxxxxxxxxxxxx
.....
sounds like you are off to a running start, though !! glad to see you
are slipping into C# so quickly :)
(ohh and the Mono system for *nix will run dotNet code -- so you really
arent all that locked in to MS with C# any more )
Cool thanks, yeah I get up to speed real quick I gues,
but only if i can find the enthusiasm though and then thats either on or
off with little inbetween
I just bualk at the idea of trying to go through loads of new things
trying to evaluate them,
ive tried that before and it can realy suck.
Colin =^.^=
I was thinking more realtime than logging to files -- think about having
the com thread pump the data to a writer thread in that case :) sounds
like you may end up with 3 or 4 threads sharing the load, which is a good
thing IMO -- as threads that are idle dont take resources -- event driven
makes life much simpler
might also look at the background worker class -- it encapsulates a lot of
the crap for starting a worker thread as needed and getting notified when
it completes
I dragged that very class right of the IDE toolbar into the project.
same with the serial class.
3 or 4 threads is probably about right.
I need to save the data regardless anyway.
I could have the analysis done after all the data is gathered but realy
would like to see how well its progressing so i can catch anything
going wrong and not waste days colecting duff data.
I found a Queue wich can transfer objects between threads
took me a while to figure out I needed to actualy create an instance of it
with new.
works but I gues I need to protect it with lock and I need to have something
to wait on.
I tried the messaging thing but it complains its not installed on my pc.
the sockets seem primitive as they stil rely on byte streams,
although come to think of it that is actually all what I have anyway.
cant beleive they havnt put in some sort of decent inter thread message
queue.
although theres a few examples of how to implemet one about.
cant even send them as simple windows event messages like with mfc.
Colin =^.^=
.
- Follow-Ups:
- Re: need data capture, stat analysis, graph display software for PC
- From: John Barrett
- Re: need data capture, stat analysis, graph display software for PC
- References:
- need data capture, stat analysis, graph display software for PC
- From: colin
- Re: need data capture, stat analysis, graph display software for PC
- From: Wim Ton
- Re: need data capture, stat analysis, graph display software for PC
- From: colin
- Re: need data capture, stat analysis, graph display software for PC
- From: John Barrett
- Re: need data capture, stat analysis, graph display software for PC
- From: colin
- Re: need data capture, stat analysis, graph display software for PC
- From: John Barrett
- Re: need data capture, stat analysis, graph display software for PC
- From: colin
- Re: need data capture, stat analysis, graph display software for PC
- From: John Barrett
- need data capture, stat analysis, graph display software for PC
- Prev by Date: Re: OT: Do you think maybe the sane people have a chance this election?
- Next by Date: Re: Evil Designers Guide to Copying Patents
- Previous by thread: Re: need data capture, stat analysis, graph display software for PC
- Next by thread: Re: need data capture, stat analysis, graph display software for PC
- Index(es):