Jump to content
Sign in to follow this  
qvex21

CommMG.au3: $RTSMode, $DTRMode

Recommended Posts

qvex21

Hi,

i am just wondering which values I should assign to the parameters $RTSMode and $DTRMode when calling the _CommSetport function.

The library, that i normally use in an older programming language has a similar function (CommOpen) with all the same parameters (baud rate, stop bits, parity and so on) but these two, so i think there must be default values to fit the most applications when using RTS/CTS hardware handshake.

And am i right that, when using Xon/Xoff software handshake, these two parameters have no meaning?

Edited by qvex21

English is not my native language; please excuse typing errors.

Share this post


Link to post
Share on other sites
qvex21

Sorry for posting before thinking.

Obviously i have to set $RTSMode=1 and $DTRMode=0 when using RTS/CTS hardware handshake

and $RTSMode=0 and $DTRMode=1 when using DTR/DSR hardware handshake.


English is not my native language; please excuse typing errors.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×