N nielijun Unregistered / Unconfirmed GUEST, unregistred user! 2004-03-20 #1 我用SPCOM作串口通讯程序读取地磅的数据,我在开机的情况下把地磅接到电脑上能正常读取数据,但我把地磅接到电脑上开机则串口则被占用了,不知道什么问题
W wbq_wang Unregistered / Unconfirmed GUEST, unregistred user! 2004-03-20 #4 先设定Comm1的CommName属性是COM1还是COM2 Form1.comm1.StartComm; 可打开串口
N nielijun Unregistered / Unconfirmed GUEST, unregistred user! 2004-03-20 #5 我的程序是 Comm1.CommName:=COM1; Form1.comm1.StopComm; Form1.comm1.StartComm;
怡 怡.梦 Unregistered / Unconfirmed GUEST, unregistred user! 2004-03-20 #8 Comm1.CommName:=COM1; Form1.comm1.open; //!!! Form1.comm1.StartComm; Form1.comm1.StopComm;