按版主的意思做了,还有几个问题:
(1)Graph的横坐标是实际的时间吗,比如图上的100m即是100ms?因为我需要用它来读采集波形的周期,这很重要。
(2)现在我只能采进来某一段时间内的一个值,扫描时间的长度是由boolean array to digital.vi的参数决定的,但不管扫描时间多大,一个周期内都只能采集一个IO的状态,即波形不是高就是低,而出不了高低间隔的波形,
我想这应该是build array 这部分造成的,不知道该怎么改?即我想采进来N个数以后在Graph上显示波形?
麻烦帮我看看阿!
<img src="attachments/dvbbs/2006-5/200652910184089222.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-5/200652910184089222.jpg\');}" onmousewheel="return imgzoom(this);" alt="" />