Ports
June 19, 2013, 06:14:53 pm
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: SMF - Just Installed!
Home
Help
Search
Login
Register
Welcome to the PORTS Forum. Please post your questions, answers, and comments relating to USB and other hardware interfaces in the appropriate forums below. - Jan
Ports
>
General Category
>
Serial Ports
>
Make serial port continuously ON-OFF
Pages: [
1
]
« previous
next »
Print
Author
Topic: Make serial port continuously ON-OFF (Read 1283 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: 1642
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: 71
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: 1642
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
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> USB
=> Serial Ports
=> Embedded Ethernet
=> Parallel Port
=> Other Interfaces
=> General Discussion
Loading...