NI LabVIEW,CVI,数据采集等产品讨论区

取消
显示结果 
搜索替代 
您的意思是: 

状态机和顺序结构的问题

我用LabVIEW8.2写了一个含有状态机和顺序结构的程序(见附件,每个状态对应的是Tab的一页),本意是当按Start或者Ajustment按钮后,弹出子程序窗口,显示XY图的内容(每隔2秒刷新内容)或者可以通过主程序上的上下按钮调整图的位置。由于这个程序位于while循环内,每次循环调用子程序,导致其窗口不停闪烁,而我想让这个子程序窗口一直显示。
还有一个问题是,当我暂停Start-Case结构或者Tab换页的时候,如何才能即时终止这个循序结构?而不是要等每个顺序框执行一遍。
 
希望高手们能帮我解决这个问题,十分感谢!
下载全部
0 项奖励
1 条消息(共 3 条)
4,503 次查看
hi... while I may not fully understand your situation... please see the example uses VI Server to pass data here
 
Hope it gives you an idea to proceed with your problem...
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 项奖励
2 条消息(共 3 条)
4,488 次查看

Please see attached a quick demo... (modified from previous version)

Please mod to suit your needs...

Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 项奖励
3 条消息(共 3 条)
4,480 次查看