1 serial port 2 parity types? MFC based app needs assistance.

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hello all

I am workiing in MFC on an app which has an odd requirement.. for me anyway.

I have only one serial port availbale. The task is that one portion of my
GUI has to send serial data out with EVEN parity. The other, a keypad, has
to send serial data out with ODD parity.

The reciever is always receiving ODD parity.

So.. unless I am wrong.. I am thinking I have to switch to ODD parity before
sending out keypad strings and tehn, when the last character is shifted out
I hvae to set the port back to even parity in time to get the host's
response.

Anyone have any ideas?


How do I query the actual output buffers of a port?

Can I set the com port's parity without closing and reopening the port?


Is this even the correct way to do it?

Thanks in advance

jona


.



Relevant Pages

  • Re: IRQ conflict in laptop
    ... That is odd. ... >>*I am getting an IRQ conflict on my Dell D800 when it is ... >>IDE and the com port. ... >>reinstall Windows which I want to avoid if possible. ...
    (microsoft.public.windowsxp.hardware)
  • Re: PsiWin & USB/RS232 adaptor connection just wont work
    ... I've looked through various forums for clues as to why it will not work. ... I've installed Psiwin 2.3.3, tired various drivers etc. I've tried baud ... trying to do something odd with the com port. ... So it would appear that XP is indeed doing some odd but I'm ...
    (comp.sys.psion.comm)
  • Re: Gmail and PPC
    ... removed the port numbers, was able to send still, but not receive. ... Seems odd to me, but at least it's working now. ... Wayne ... Gave up and went to bed and when i woke up in the morning it ...
    (microsoft.public.pocketpc)
  • while gsub!
    ... Is there a *better* way to perform multiple substitutions to a string ... but seems odd to me to have an empty loop.. ... httpd = TCPServer.new(listen, port) ...
    (comp.lang.ruby)
  • Re: OT:Paging network types
    ... that means that the port is open. ... That's odd. ... I think that as soon as you fire up the app, it'll open the port, ... there's a test facility to see if the ports are okay. ...
    (uk.rec.motorcycles)