473,322 Members | 1,241 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

serial port DTR/DSR handshaking with system.io.ports

hi,

i'm using serial port functionality provided by .net framework 2.0
using system.io.ports.
Is there anyway that i can set DTR/DSR handshaking?
Regards,

Bandu

Jul 25 '07 #1
3 14769

Certainly, just add a SerialPort control to your form and then set the
DtrEnable property to true. Here is a list of all the properties you can use
on the SerialPort control:

http://msdn2.microsoft.com/en-us/lib...es(VS.80).aspx

Adrian.
--
[Please mark my answer if it was helpful to you]


"Bandu" wrote:
hi,

i'm using serial port functionality provided by .net framework 2.0
using system.io.ports.
Is there anyway that i can set DTR/DSR handshaking?
Regards,

Bandu

Jul 26 '07 #2

I forgot to mention that there is also a property for the DsrHolding
setting. The SerialPort control has both DtrEnable and DsrHolding properties
that you can set.

Adrian.
--
[Please mark my answer if it was helpful to you]


"Adrian Voicu" wrote:
>
Certainly, just add a SerialPort control to your form and then set the
DtrEnable property to true. Here is a list of all the properties you can use
on the SerialPort control:

http://msdn2.microsoft.com/en-us/lib...es(VS.80).aspx

Adrian.
--
[Please mark my answer if it was helpful to you]


"Bandu" wrote:
hi,

i'm using serial port functionality provided by .net framework 2.0
using system.io.ports.
Is there anyway that i can set DTR/DSR handshaking?
Regards,

Bandu
Jul 26 '07 #3
DtrEnable and DsrHolding didn't do Dtr/Dsr hardware handshaking.
Is that .net only support Cts/Rts Hardware handshaking?

Regards,

Bandu

On 26 Jul, 04:34, Adrian Voicu <AdrianVo...@discussions.microsoft.com>
wrote:
I forgot to mention that there is also a property for the DsrHolding
setting. The SerialPort control has both DtrEnable and DsrHolding properties
that you can set.

Adrian.
--
[Please mark my answer if it was helpful to you]

"Adrian Voicu" wrote:
Certainly, just add a SerialPort control to your form and then set the
DtrEnable property to true. Here is a list of all the properties you can use
on the SerialPort control:
http://msdn2.microsoft.com/en-us/lib...s.serialport_p...
Adrian.
--
[Please mark my answer if it was helpful to you]
"Bandu" wrote:
hi,
i'm using serial port functionality provided by .net framework 2.0
using system.io.ports.
Is there anyway that i can set DTR/DSR handshaking?
Regards,
Bandu- Hide quoted text -

- Show quoted text -

Jul 26 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Blaine HIlton | last post by:
I'm trying to send data over the serial port using PHP and Serproxy. I downloaded Serproxy from http://www.lspace.nildram.co.uk/freeware.html. From the manual page at...
1
by: mimisam | last post by:
hi, I am using Win XP and writing an application to check POS devices (printer and cash drawer).In the application I need to choose the port which the device is connected to. If the port chosen...
13
by: Al the programmer | last post by:
I need to access the serial ports on my webserver from an asp.net page. I have no problem accessing the serial ports from a windows form application, but the code doesn't work in asp.net. I have...
1
by: henrycortezwu | last post by:
Hi All, I'm trying to connect to a virtual port (COM19, OUTGOING, "Bluetooth Serial Port") using VS2005 System.IO.Ports. When I ran the ff code below here's what happens. 1) VS2005 Compiles w/o...
0
by: pandi | last post by:
Hi, I am using a check scanner.It has functions which gives output like image ,checknumber. i am using serial port to get this output in my coding. My problem is i am not able to read the display...
5
by: LongBow | last post by:
Hello, Is there a way, in .NET, to determine what are the avialable Serial (Communications) Ports on a Windows OS and is there a way to determine that port isn't being use other than attempting...
2
by: evle | last post by:
haw to read data from an Infrared Infrared Remote Control
2
by: joaquimfpinto | last post by:
Dear All, I made an app in c# that uses several serial ports. For the serial ports I use a pnp Sunix board, some with 8 serial ports other with 4 or even 2 serial ports. Whenever I use the...
3
by: naveen.sabapathy | last post by:
Hi, I am trying to use virtual serial ports to develop/test my serial communication program. Running in to trouble... I am using com0com to create the virtual ports. The virtual ports seem to...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.