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

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

How to switch to VIs with each other?两个VI相互调用如何操作

设计两个VI界面A和B,各有一个切换按钮和退出按钮,当点击A的切换按钮时打开B界面,同时关闭A界面,点击B的切换按钮时打开A界面,同时关闭B界面。在任意界面点击退出按钮时退出程序,我尝试使用VI静态异步调用的方法,但是没有成功,切换三次后程序会自动终止。以下是我的程序,请问有什么解决方案吗?十分感谢!

 

Dear Community:

 

I try to design two VIs: VI A and VI B. Each VI has two buttons: Switch and Quit. I want to get this result: When I click Switch button on VI A, it will open the FP of VI B, and the VI A FP closed. In the opposite, When I click Switch button on VI B, the FP of VI A opened , and the VI B FP closed. The attach file is an example I made. But it doesn't work well. The whole Labview will collapse after 3 transfers. Does anyone has better soultion? Thank you!!

 

WANG Li 

0 项奖励
1 条消息(共 1 条)
770 次查看