Jump to content

CommMG.au3: $RTSMode, $DTRMode


 Share

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...