July 13th, 2004, 08:33 AM
-
Configure the serial Port with SetCommState under XP
I have a big problem to configure my serial Port under XP. I set the parity check with dcb.fparity=true and setcommstate. All parameters of dcb are set, but not the parity check is enabled.
Perhaps anyone can help me !
Thorsten
July 13th, 2004, 09:10 AM
-
You also have to set Parity to the appropriate value. It could be set to NOPARITY.
Functionality rules and clarity matters; if you can work a little elegance in there, you're stylin'.
If you can't spell "u", "ur", and "ne1", why would I hire you? 300 baud modem? Forget I mentioned it.
July 13th, 2004, 09:14 AM
-
July 13th, 2004, 09:21 AM
-
Before or after the post? Perhaps you could be more forthcoming with information. How do you know it's not set? Are you introducing parity errors? Are you set to replace characters with errors with the errorChar? Are you getting comm errors? Is your operation aborting? My crystal ball is in the shop for "ball" joints this week.
Functionality rules and clarity matters; if you can work a little elegance in there, you're stylin'.
If you can't spell "u", "ur", and "ne1", why would I hire you? 300 baud modem? Forget I mentioned it.
July 13th, 2004, 10:23 AM
-
I set the paritycheck with SetCommState and then I get use GetCommstate in the debugging mode. And I read that the parity check isn't set.