TMSCOMM 屬性commport 為2 ,setting:9600,n,8,1 handshaking: 0-comnone
if not mscomm1.PortOpen then
mscomm1.PortOpen:=true;執行到此處彈出:
could not set comm state there may be one or more invalid communications parameters.
那位高手可以指點一二..........
不勝感激
if not mscomm1.PortOpen then
mscomm1.PortOpen:=true;執行到此處彈出:
could not set comm state there may be one or more invalid communications parameters.
那位高手可以指點一二..........
不勝感激
你是不是只有一个串口啊。
对了,用控件还不如自己写。
抱歉的恨,在公司不能上网,只有下班到网吧來查看各位的回覆
非常的感謝你
setting是不是应该 9600,8,n,1?? 不好意思,家里没有东西,所以不知道具体的情况
你双击控件后,看看所有参数
按理来说,用控件不会出现这种错误另,如果串口号不存在,应该出现的是 invalid port,不会出这个错误的