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

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

怎样在subpanel中确定面板的位置

我有一个子程序的前面板,要在主程序的subpanel中显示.我现在用VI server的方法可以在subpanel 动态的显示子面板.请问当子程序的前面板比subpanel大时,我只想在subpanel中显示子程序前面板的一部分,我怎么来控制子程序的前面板在subpanel中的位置,让我想要的那一部分在subpanel中显示出来?
0 项奖励
1 条消息(共 3 条)
3,859 次查看

Dear Customer,

You can't set which part the FrontPanel of the VI called in SubPanel.

However, you may resize the FP of the VI called to the position and size you want, than choose File->VI properties->Window Size->Set to Current Window Size, than Edit->Make Current Values Default. The prefered position will be show rather than the default.

Regards,

-John

John L.
0 项奖励
2 条消息(共 3 条)
3,840 次查看

Yes, I think there are both good queries and answers issue.

for Dynamic custom  FP location. you can use VI properties node ,window bounds and origin. but the handle needs your shape.

 

 

 

________________________________________________________


Try to make everything Automatic
0 项奖励
3 条消息(共 3 条)
3,837 次查看