qvex21 Posted October 5, 2011 Share Posted October 5, 2011 (edited) 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 October 5, 2011 by qvex21 English is not my native language; please excuse typing errors. Link to comment Share on other sites More sharing options...
qvex21 Posted October 5, 2011 Author Share Posted October 5, 2011 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now