![]() |
| | #1 |
| Registered User Join Date: Nov 2005
Posts: 0
| Win32 Serial Communication & DeviceIoControl() I am developing a time sensitive Win32 serial port application where I periodically need to change the parity of my serial data. Calls to Get_Comm_State() & Set_Comm_State() to update the parity are taking too long. I observed (using a serial port monitor) that these get and set methods do alot of unnessecary things like seting the baud rate etc. It would be nice if I could use the DeviceIoControl function along with the IOCTL_SERIAL_SET_LINE_CONTROL command (or similar) to quickly change the parity from within my application. Am I living in a fantasy world or is this a possibility? Many thanks B_B |
| button_basher is offline | |
| | #2 |
| Registered User Join Date: Sep 2004 Location: California
Posts: 3,020
| I don't believe there is any device control code which can be used to change the parity on a COM device. |
| bithub is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Duplex communication thro serial port | Priyachu | Networking/Device Communication | 1 | 05-30-2009 04:24 AM |
| Serial port Communication | vin_pll | C++ Programming | 23 | 01-07-2009 09:32 AM |
| Please help with serial communication problem - Long | spdylude | Windows Programming | 3 | 04-06-2005 09:41 AM |
| Serial communication packets | Roaring_Tiger | C Programming | 3 | 04-26-2003 08:33 AM |
| Serial Communications with win32 api | Blackthorne | C Programming | 1 | 01-26-2003 12:45 PM |