版主进来看看,谢谢!!
<P>先谢谢版主回答我上次的问题,现在毕设做到最后了,又有问题了,现在要监测一个断路器的二次回路,主要是监测图里面那些标有数字的触点的连接状态,然后用红绿灯显示断路器的开合状态,老师说数据采集可以忽略,直接给虚拟信号,现在就是找不到合适的控件来显示那些触点是连接还是断开,而且它们有一定的连动性。版主再帮帮忙吧。有一个先拿来过老师那关的,版主先看看。</P><img src="attachments/dvbbs/2005-6/20056733230377.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/2005-6/20056733230377.jpg\');}" onmousewheel="return imgzoom(this);" alt="" /><img src="attachments/dvbbs/2005-6/20056734032450.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/2005-6/20056734032450.jpg\');}" onmousewheel="return imgzoom(this);" alt="" />
<P>还有一幅就是把中间的true换成false,然后触点状态也发生变化,把灯也换了。</P> 你还不如将你的VI上传上来 把那几个开关逻辑图写出来就很简单的了.不管是不是联动的还是不联动的 <P>问题是我这样做出来与数据采集完全脱轨了,有没有都无所谓,也起不到监视的作用.VI还没做好,就是没有思路,可以告诉大家采集过来的信号就当作是高低电平,不知道大家有没有什么好的想法.</P> 而且本来红绿灯应该出现在一个VI里,一个亮一个就必须暗,但是再加上每对触点的开合情况就很麻烦了. <P>可以用DIO来判断开关状态,或者用AI读电压也可以</P>
页:
[1]