我已经编好串口程序,可是不知道放在主程序的什么位置?按理说应该把串口程序放在主界面里和几个显示控件相连接,可是主程序里的子程序又要用到串口程序,象定时采啊什么的!可能这么说大家不太懂,我传一些图片看看.
要把采集的数据传到那5个显示控件里,象有的菜单要求定时采啊!或者象我上传的那个似的把其中1号传感器的采集数据画出曲线,难道每个要求采集数据的子VI我都要把串口程序写上去再根据要求的不同添加什么么?
不知道我说清楚了么?总之是对串口程序以及主程序和子程序之间的关系和连接很模糊!请教高手,万分感谢!
<img src="attachments/dvbbs/2006-5/200652317211789934.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/200652317211789934.jpg\');}" onmousewheel="return imgzoom(this);" alt="" />
<img src="attachments/dvbbs/2006-5/200652317213284013.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/200652317213284013.jpg\');}" onmousewheel="return imgzoom(this);" alt="" /> |