From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.



LabVIEW-创建的共享库导致GUI组件挂起



主要软件:
主要软件版本: 8.5.1
主要软件修正版本: N/A
次要软件: N/A

问题: 我已经创建了一个LabVIEW共享库(DLL)来打开图形化用户界面的组件(对话框、弹出窗口、前面板)。当我尝试从另一个应用中调用该DLL时,这个应用被挂起了。

解答:

这种现象之前有所记录,而且也已经提出了CAR(#242320)来加以改善。解决方案如下:

1、在你的项目浏览器中找到共享库生成规范;

2、右击生成规范进入到属性窗口;

3、进入高级选项;

4、取消选择在共享库中延迟操作系统消息

 



相关链接:
LabVIEW 2010 Help: Building a Shared Library
Developer Zone Example: Non-Blocking Dialog Box Using Queues
Developer Zone Tutorial: Calling LabVIEW VIs from Other Programming Languages


附件:





报告日期: 03/10/2011
最近更新: 09/03/2012
文档编号: 5J9AJUTC