Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Controlling the serial TX line using the WinAPI?

8 views
Skip to first unread message

Jeroen

unread,
Nov 28, 2002, 11:08:58 AM11/28/02
to
Hi there,
is there a possibility to control a serial port's TX line on bitlevel, like
"EscapeCommFunction(hComm,SETRTS)? I need to put the next pattern on the
serial port:

RTS 11111111111111111111000000000000000000011111111111111111111111
TX 111111111111111111110000000000000000000000000111111111111111111
time---->

Is it possible using the WinAPI?
Of not, how can I do reach my goal?
Because of some excisting hardware, it's not possible to switch to another
serial pin.

Thanks for your help,
Jeroen


Maynard Philbrook

unread,
Nov 30, 2002, 1:48:49 PM11/30/02
to
nope. write a kernal Driver for real time..
you can set the break option to set the TX line state.

John Smith

unread,
Dec 1, 2002, 12:55:02 AM12/1/02
to
Yep, not very likely. Jungo(use a search engine) has tools for creating
drivers, the borland compiler is supported...30 day free trial!
This is the only way I can see for you to reach your goal, other than
purchasing MSVC and the Microsoft DDk...

Regards,
John Smith
"Maynard Philbrook" <jam...@mindspring.com> wrote in message
news:3DE90C09...@mindspring.com...

0 new messages