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

multi pages in one program !

已解决!
转到解答

maybe this sounds stupid, but am wondering how to create a program that contains the main page which has many buttons and when i press a button
another page appears so i can work on it ??
if this is possible, I'll be glad to be told how to do it !!

thank you

AR
0 项奖励
1 条消息(共 6 条)
3,360 次查看

Tab Controls may do what you need: you hit a tab and it switches the page.

But if you want another front panel, that's a bit more complex - but not hard at all. I've never used a function like this in a big project, but I'd start to think about using SubVIs that show front panel when called.

 

It's a total shot in the dark, but look at tab controls first.

Mondoni
0 项奖励
2 条消息(共 6 条)
3,350 次查看

thank you joaopam, i've tried the tab controls but they don't work for me in this case !

if you can show me how to use subvi's to show front panel when called, i'll appreciate it 🙂

thank you again !

AR
0 项奖励
3 条消息(共 6 条)
3,323 次查看
解答
已被主题作者 ABDESLAM 接受

Hi Abdeslam,

Its not hard to have the front pannle of a VI pop up when called.  When the subVI is on your bolck diagram just right click on it and select "SubVI Note Setup".  It will bring up meune to allow you to configure it.  You will just have to figure out the logic of when to call that subVI.

 

https://www.ni.com/docs/en-US/bundle/labview/page/opening-subvi-front-panels-during-execution.html

 

Lukin
Certified LabVIEW Architect
0 项奖励
4 条消息(共 6 条)
3,315 次查看

Follow Lukin's answer.

The reference link should help you.

About calling a SubVI, it's all about logic. You can use case structures or even Event Structures.


Regards

Mondoni
0 项奖励
5 条消息(共 6 条)
3,308 次查看

thank you guys 🙂

this works great !

AR
0 项奖励
6 条消息(共 6 条)
3,294 次查看