06-19-2013 07:57 AM
I am making a vi in which we have a tab control with 6 pages and to move from one page to another there is ring control with option for every page on page 1( page 1 is the default page), at a time only one page is visible so we can move only through that ring control present on page 1 and to come back to page 1 from all other pages there is button "go back" on all other 5 pages, everything is working fine for 5 pages but when after going on page 6 and then if i press go back button instead of going back to page 1 program hangs and one more thing that i noticed is after stopping the program the page 6 becomes the default page( which otherwise is page1) i dont know why this is happening.
I am attaching the snippet of the code which executes when i press go back button.
one more thing that i am not getting here is when i checked the program through step execution, the last property node( page6 ) that is executing first after that it goes to first property node and then it goes in sequence, this also i want to how is this happening.
Solved! Go to Solution.
06-19-2013 08:42 AM
I think you would be better off just to use your array and turn on/off the necessary tabs instead of explicity setting each property every iteration.
Attached is one example.
06-19-2013 09:51 AM - edited 06-19-2013 10:00 AM
wouldnt this do the same thing as your code?
06-20-2013 04:19 AM
Thankyou vt 92 and apok,
Both solutions are working but the one mentioned by apok contains less code so i implemented that.