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

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

LabVIEW Application Builder 生成的程序总是自动运行

问一下,我这边用Application Builder生成了一个 .exe文件,双击运行之后它直接就运行起来,没有给我配置参数的机会。这样每次点开我都必须手动暂停配置参数。

 

我的程序是一个比较长的顺序结构

(我尝试过其他程序,选择结构或者简单程序生成的.exe 就不会自动运行)

 

是否有办法解决这个问题,如何能不让它自动运行?

0 项奖励
1 条消息(共 4 条)
1,882 次查看

For English version:

 

I generated an “.exe” file with the Application Builder. After double-clicking it, it will run directly. There is no chance for me to configure the parameters.So every time I click on it I have to manually pause it and configure the parameters.

 

My program is a "Flat sequence structure". And I also tried to compile the "Case structure", it will not run automatically.

 

Does anyone know why this is happened?

0 项奖励
2 条消息(共 4 条)
1,876 次查看

Hi wang,

 


@wangzeyu_10 wrote:

For English version:

 

I generated an “.exe” file with the Application Builder. After double-clicking it, it will run directly. There is no chance for me to configure the parameters.So every time I click on it I have to manually pause it and configure the parameters.

 

My program is a "Flat sequence structure". And I also tried to compile the "Case structure", it will not run automatically.

 

Does anyone know why this is happened?


This is expected behaviour for executables on any OS. Or do you expect to press a "RUN" button before you are able to use MSWord or the InternetExplorer?

 

When you want to be able to edit some parameters then you need to program your VI like that! Have a loop waiting for some "Ready to start measurement" button: now you can edit all parameters and start your measurement with pressing a button…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 项奖励
3 条消息(共 4 条)
1,869 次查看

程序设计问题.

用consumer-producer结构解决.

配置参数可用文件.

 

George Zou
0 项奖励
4 条消息(共 4 条)
1,822 次查看