Thread View: alt.comp.programming
3 messages
3 total messages
Started by Jeroen
Thu, 28 Nov 2002 16:08
Controlling the serial TX line using the WinAPI?
Author: Jeroen
Date: Thu, 28 Nov 2002 16:08
Date: Thu, 28 Nov 2002 16:08
16 lines
1883 bytes
1883 bytes
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
Re: Controlling the serial TX line using the WinAPI?
Author: Maynard Philbrook
Date: Sat, 30 Nov 2002 18:48
Date: Sat, 30 Nov 2002 18:48
22 lines
2116 bytes
2116 bytes
nope. write a kernal Driver for real time.. you can set the break option to set the TX line state. Jeroen wrote: > 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
Re: Controlling the serial TX line using the WinAPI?
Author: John Smith
Date: Sun, 01 Dec 2002 05:55
Date: Sun, 01 Dec 2002 05:55
34 lines
2397 bytes
2397 bytes
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" <jamie12@mindspring.com> wrote in message news:3DE90C09.F44A429D@mindspring.com... > nope. write a kernal Driver for real time.. > you can set the break option to set the TX line state. > > > Jeroen wrote: > > > 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 >
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads