将弹出消息窗口最小化时TestStand的LabWindows™/CVI Operator Interface(OI)无法正确恢复



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

问题: 我有一个TestStand序列,它在开发环境中可以很好地运行但是当我通过LabWindows/CVI Operator Interface(OI)运行时,如果我将弹出消息窗口最小化,将无法再令OI窗口恢复。我要如何让我的窗口恢复到正常视图?

解答: 对于TestStand的LabWindows/CVI OI 而言,这是一个已知问题。如果您没有在您的电脑中安装LabWindows/CVI开发环境,那么您恢复OI的方式是左击任务栏项目使其成为选中/激活的程序,并右击项目后选中Unminimize TestStand Operator Interface

如果您安装了LabWindows/CVI开发环境,您可以打开Full Feature User Interface CVI,位于 <TestStand > » UserInterfaces » Full-Featured » CVI » TestExec.cws

TestExec.c主函数的(RunUserInterface())之前直接添加如下一行代码;

SetPanelAttribute (gMainWindow.panel, ATTR_MINIMIZE_OTHER_PANELS, 1);


配置Build » Configuration » Release,同时选择Build » Create Release Executable,这会覆盖之前的Full-Featured User Interface,现在您应当可以最小化时正常恢复窗口。

注意:
您将必须对Simple User Interface重复这些步骤,而它运行于另一个进程中。

相关链接: Developer's Zone Example: Launching a Floating CVI User Interface in TestStand
KnowledgeBase 4R3S8C6: Why Does TestStand CVI User Interface Display an Ampersand on Some Buttons?
KnowledgeBase 2LU6NHEV: How to Use Tooltip Functionality with the CVI Operator Interface

附件:





报告日期: 02/13/2012
最近更新: 03/18/2013
文档编号: 5UCFSS1O