04-23-2013 05:11 AM
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
Solved! Go to Solution.
04-23-2013 06:20 AM
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.
04-23-2013 08:40 AM
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 !
04-23-2013 08:54 AM
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.
http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/opening_subvi_front_panels/
04-23-2013 08:59 AM
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
04-23-2013 09:26 AM
thank you guys 🙂
this works great !