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

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

labview中多个子窗口的实现

已解决!
转到解答
有人知道怎么样在labview中创建子窗口么,就像labview本身的工具窗口那样是一个子窗口。附件是我从网上找的一个程序,虽然能实现子窗口但有很多不足,请各位帮助。非常感谢
帖子被jiangdafei435@163.com在 12-10-2009 07:35 PM
时编辑过了
0 项奖励
1 条消息(共 7 条)
7,733 次查看

Hi,

 

You'd find one of my earlier example of calling subVIs

主程序同时动态调用多个VI or here


Please look for

AttachmentVS_Call_Subvi.zip (42 kb)

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

非常感谢!!

我这里还有一个小问题:问什么你的子程序在执行的时候任务栏上是看不见的?我怎么找了半天也没找到这个选项呢

0 项奖励
3 条消息(共 7 条)
7,716 次查看
解答
已被主题作者 jiangdafei435@163.com 接受

That is because that the VI's property: Allow User To Minimize (under Window Appearance) is unchecked.

That means, user is unable to Minimize that sub-VI during runtime. To view it in the task-bar,  simply enable that item 😉

Message Edited by ian fung on 12-11-2009 11:31 AM
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
4 条消息(共 7 条)
7,708 次查看
thank you very much~O(∩_∩)O~
0 项奖励
5 条消息(共 7 条)
7,704 次查看

不客气! 互相切磋 😉

 

PS: In the Main caller VI, please set the Auto Dispose to True as well 🙂 

(I did not set it at when I upload that VI, and it was pointed out by our friend in my previous post) 

Message Edited by ian fung on 12-11-2009 11:35 AM
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 项奖励
6 条消息(共 7 条)
7,697 次查看

thanks again!

我想进一步问一下 我想把你示例中的三个子vi做成main的子窗口 就像vc编辑器窗口那样,可以停靠的而且当主窗口最小化时子窗口也随着最小化。在我的第一个帖子附件中有个示例,但是该程序还存在着不足,就是子窗口弹出时需要更改下子窗口属性它才能正常显示。请问有什么方法改进下么

O(∩_∩)O~

帖子被jiangdafei435@163.com在 12-11-2009 05:52 AM
时编辑过了
0 项奖励
7 条消息(共 7 条)
7,664 次查看