作者nipsptt (nips)
看板Visual_Basic
标题Re: [VB6 ] RS232传输问题
时间Tue Jun 15 23:03:24 2010
设好通讯协定
comm.portopen
comm.output="i"+vbcr (这里需要test, or vblf or vbcr+lf)
dim s as string
do
s=s+comm.input
loop until instr(1,s,"height=17"+vbcrlf)
'这里也需要测试终端字元或加入timeout 设计
※ 引述《lkk02042005 (人要贱才活的下去)》之铭言:
: 最近要做一个专题
: 内容用到一台具有辨识功能的摄影机来辨识影像
: 先让机器学习要辨识的东西并编号
: 辨识了以後摄影机的面板上就会显示东西相对应数字
: 但是现在要把其辨识到的资讯传到电脑里并做一点变化
: 首先
: 我用tera term软体或是XP内建的超级终端机撷取到的资料介面是:
: RoadNarrows Intelligent Systems
: RoboSight (C)2009
: HW STD1 v1.0 S/N 00032
: FW RSST v1.1.0
: 按了h以後会跑出:
: Single letter commands
: c - show category and distance
: d - download data from host
: f - force forget
: h - display help
: i - display Cognimem information
: k - restore data from EEPROM
: n - show all neurons
: r - read register
: s - save data to EEPROM
: t - train video
: u - upload data to host,,,
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 114.44.78.124