1 serial port 2 parity types? MFC based app needs assistance.
- From: "nappy" <n@xxx>
- Date: Fri, 4 Jul 2008 08:39:05 -0700
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
.
- Follow-Ups:
- Re: 1 serial port 2 parity types? MFC based app needs assistance.
- From: Joseph M . Newcomer
- Re: 1 serial port 2 parity types? MFC based app needs assistance.
- Prev by Date: WM_TIMER prevents window from being displayed ???
- Next by Date: Re: WM_TIMER prevents window from being displayed ???
- Previous by thread: WM_TIMER prevents window from being displayed ???
- Next by thread: Re: 1 serial port 2 parity types? MFC based app needs assistance.
- Index(es):
Relevant Pages
|