Get_Flowcontrol - ICP DAS USA MP-8 43 Series Function Reference

Hide thumbs Also See for MP-8 43 Series:
Table of Contents

Advertisement

4.4.7 Get_FlowControl

Description:
This function is used to get DCB settings which are related to the flow control
(Software and Hardware).
Syntax:
long
Get_FlowControl
Parameter:
cPort :
DCB_Member:
Return Value:
CTS:
0: Disable CTS flow control
1: Enable CTS to monitored for output flow control
RTS:
0: Disable RTS flow control
1: Enable RTS flow control
2: RTS_CONTROL_HANDSHAKE
3: RTS_CONTROL_TOGGLE
DSR:
0:Disable DSR flow control
1: Enable DSR flow control
DTR:
0:Disable DTR flow control
1: Enable DTR flow control
2:DTR_CONTROL_HANDSHAKE
TX:
0: Disable TX XON/XOFF
1: Enable TX XON/XOFF
RX:
0: Disable RX XON/XOFF
1: Enable RX XON/XOFF
Others:
Error code, please refer to "Appendix A Error Code".
http://www.icpdas.com
(unsigned char
[Input] 1=COM1, 2=COM2 .... , MAXPORT
0 CtS (fOutxCtsFlow)
1 Rts (fRtsControl)
2 Dsr (fOutxDsrFlow)
3 Dtr (fDtrControl)
4 Tx (fOutx :Tx XON/XOFF flow control)
5 Rx (fInx :Rx XON/XOFF flow control)
MP-8x43 Function Reference V 1.0
++
[C
]
cPort,
int
DCB_Member)
107 

Advertisement

Table of Contents
loading

Table of Contents