50ms is *not* enough, use 1 second. Think about it - you are the foreground process getting all those nice priority boots from the hamsters running inside your PC, the poor old SDR console code is chugging along doing many things. You'll have to wait longer and give it a better chance of catching up.
What I do is try a command three times until I get an understandable result, even if it's an error. Use Portmon, watch another program talking to SDR, compare the Portmon log to your own. Portmon comes from www.sysinternals.com . It's free - like the best things. Simon Brown, HB9DRV ----- Original Message ----- From: "A.R.S. - W5AMI" <[EMAIL PROTECTED]> > > Yes, I realized that not long after I posted my last message. I'm now > letting it sleep 50 ms before trying to read the input buffer and that > helps a lot, but still it misses some never returning anything. Maybe > I need to increase my sleep time a bit, I could sure use it ;) > _______________________________________________ FlexRadio mailing list FlexRadio@flex-radio.biz http://mail.flex-radio.biz/mailman/listinfo/flexradio_flex-radio.biz Archive Link: http://www.mail-archive.com/flexradio%40flex-radio.biz/ FlexRadio Homepage: http://www.flex-radio.com