PORTS Forum
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
This forum is closed to new activity.
The posts are available to browse, but posting has been disabled. BIG THANKS to all who have participated and shared your knowledge over the past 13 years.
Aug 11, 2023
Home
Help
Search
Login
Register
PORTS Forum
»
Ports and Interfaces
»
Serial Ports
»
Make serial port continuously ON-OFF
« previous
next »
Print
Pages: [
1
]
Author
Topic: Make serial port continuously ON-OFF (Read 22879 times)
chavantushar
Member
Posts: 12
Make serial port continuously ON-OFF
«
on:
November 11, 2011, 10:12:07 am »
I want to make serial port continuously ON-OFF using C or C++ or .NET.Can anyone please suggest me code required for it?
Logged
Jan Axelson
Administrator
Frequent Contributor
Posts: 3033
Re: Make serial port continuously ON-OFF
«
Reply #1 on:
November 11, 2011, 10:23:00 am »
What do you mean by "continuously ON-OFF"?
Jan
Logged
chavantushar
Member
Posts: 12
Re: Make serial port continuously ON-OFF
«
Reply #2 on:
November 12, 2011, 04:28:01 am »
In other words you can say "to get 1 and 0(high and low signals) or getting suare wavw at the output of serial port"
Logged
Guido Koerber
Frequent Contributor
Posts: 72
Re: Make serial port continuously ON-OFF
«
Reply #3 on:
November 12, 2011, 06:00:53 am »
You can do that only with the handshake signals, the data signal can not be controlled direct, it is driven by the data shift register.
Logged
chavantushar
Member
Posts: 12
Re: Make serial port continuously ON-OFF
«
Reply #4 on:
November 12, 2011, 09:41:19 am »
Sir,can you please explain in detail?
Thx for ur co-operation.
Logged
Jan Axelson
Administrator
Frequent Contributor
Posts: 3033
Re: Make serial port continuously ON-OFF
«
Reply #5 on:
November 12, 2011, 10:37:34 am »
In .NET's SerialPort class, see the RtsEnable and DtsEnable properties.
Jan
Logged
Print
Pages: [
1
]
« previous
next »
PORTS Forum
»
Ports and Interfaces
»
Serial Ports
»
Make serial port continuously ON-OFF