CTS and RTS on software com port
Posted: 04 July 2013, 13:51 PM
Hello
Sorry have been trying this every which way I can think of but I'm doing something wrong.
I just need RTS and CTS flow control on my software com port.
I am adding setting up like this..
Have tried swapping the pin numbers incase i have them wrong and tried both flags, also tried placing control com before open com.
What am i missing?
Cheers
Ben
Sorry have been trying this every which way I can think of but I'm doing something wrong.
I just need RTS and CTS flow control on my software com port.
I am adding setting up like this..
Code: Select all
Call OpenQueue(com3RXQueue, SizeOf(com3RXQueue))
Call OpenQueue(com3TXQueue, SizeOf(com3TXQueue))
Call DefineCom(3, com3rx_pn, com3tx_pn, &H08)
Call OpenCom(3, 9600, com3RXQueue, com3TXQueue)
Call ControlCom(3, 27, 28)
What am i missing?
Cheers
Ben