VB串口编程 现有电子秤台使用串口和计算机进行通讯编写VB来访问串口达到读取电子秤上显示数据该电子秤为BE01型仪表输出为RS-232C标准接口波特率为300-9600、偶校验、7个数据位、2个停止位所有均发送11位ASCII码个起始位在VB中和串口通讯需要引入Control控件MSComm串口通讯Control控件(在Microsoft Comm Control 6.0中)具体如下:Control控件简称:MSC
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.001029s ]
SELECT `a`.`aid`,`a`.`title`,`a`.`create_time`,`m`.`username` FROM `jrk_downrecords` `a` INNER JOIN `jrk_member` `m` ON `a`.`uid`=`m`.`id` WHERE `a`.`status` = 1 GROUP BY `a`.`aid` ORDER BY `a`.`create_time` DESC LIMIT 10 [ RunTime:0.128590s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.001015s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001138s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.000992s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.003331s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.000878s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.003864s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.021737s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001141s ]
UPDATE `jrk_articles` SET `hits` = 3 WHERE `id` = 325882 [ RunTime:0.017394s ]