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

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

Advertisement

4.4.4 SetLineStatus

Description:
Set the Line Status (DTR, RTS).
Syntax:
long
SetLineStatus
Parameter:
port:
pin:
mode:
Return Value:
NoError :
Others :
Example:
int
port=3;
//Com_port of PAC
int
pin=3;
int
mode=1;
long
RET =SetLineStatus(port, pin, mode);
Remark:
http://www.icpdas.com
[C
(int
port,
int
pin,
[Input] 1=COM1, 2=COM2 .... , MAXPORT
[Input] 1: DTR, 2: RTS, 3: DTR+RTS
[Input] 0: Disable, 1: Enable, 2: HandShake
OK
Error code, please refer to "Appendix A Error Code".
MP-8x43 Function Reference V 1.0
++
]
int
mode)
103 

Advertisement

Table of Contents
loading

Table of Contents