Hi there!
I'm quite new to Labview and my company wants me to make some programs for testing of electronics. I'm currently working on the GUI and I would like to control three pages in a tab control with buttons.
I only got the base package of Labview 2009 so I can't use Event structure.
If you open my .vi you can see I have a tab control with three pages. In the first page I got a "Start" button that should open the next page in the tab control. In the middle page I have a "Tilbake (Back)" button that should go back to the previous page. The button called "Lagre (Save)" should work as a next button and go to the last page. On that page I have a "Tilbake(Back)", "Ny test(New test -> go to first page again)" and "Avslutt (Quit)".
The buttons under the tab control where something I copied from an example just to try out. That works perfectly, but I cannot edit the Event Structure from the example.
Is this possible to solve with Case Structure? Or maybe there are other solutions? Feel free to edit my .vi if you like:)
Thanks for the help!
Regards,
Even Myhre
Test engineer
已解决! 转到解答。
Hi Even,
I've done a basic modification to your VI. Only the first button in the first tab works, but I guess you can sort out the rest of them. I hope it helps to start with.
Dani
Thanks alot!
I worked perfect!
Hi again!
Well it solved my problem, but I got a strange error while running my program.
When I press "start", the tab control changes page. When I press "tilbake(back)" it is totally random how many clicks it is necessary for it to change back to the first page. It can be from 1 to 20-30 clicks. Which is very strange since all other navigation buttons works perfect. "Tilbake(back)" button on the last page works correctly and has the same structure as the "tilbake(back)" button on the middle page.
I have tried all the different options on how the button will response on a press.
Regrads,
Even
Thanks again:)
Think I got the basic GUI in place now!