linjing 发表于 2006-8-1 21:28:18

<img src="attachments/dvbbs/2006-8/20068113281144787.jpg" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=\'hand\'; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onclick="if(!this.resized) {return true;} else {window.open(\'attachments/dvbbs/2006-8/20068113281144787.jpg\');}" onmousewheel="return imgzoom(this);" alt="" />

linjing 发表于 2006-8-1 21:29:12

好了,图片终于上传了,麻烦帮帮忙啊

linjing 发表于 2006-8-2 01:44:58

<p>一次运行只能得到一个数据,怎么办呢。怎么样才可以做到得到了256个数据后以后再全部保存呢?</p>

linjing 发表于 2006-8-2 17:38:31

芙蓉哥哥,拜托拜托噢?快点出来帮忙吧?

cpubbs 发表于 2006-8-2 19:09:17

天啊,我杀了你这个家伙!我看过你的程序,但我不是太明白你的意思,因为我没有你的这些驱动的节点!你用了FOR,FOR循环256次,里面有WHILE,意思是说FOR一次循环采集一个点?

cpubbs 发表于 2006-8-2 19:11:25

<p>其实无论如何,把采集回来的程序insert into array,组成数组,最后再把这些东西存入文件,就可以达到只存一次的!</p>

linjing 发表于 2006-8-2 19:34:39

while循环一次采集1个点,我想要的是for循环256次得到256个点。可是保存下来的总是同样一个数据,不知道怎么办?
页: 1 [2]
查看完整版本: 数据采集中为何只能保存最后一个数据?(图已经上传,麻烦帮我看,拜托)