"The problem is that I can't read a tab page number selected from a main program while I'm in a subvi"
Yes you can! When you call the sub-VI, pass it a reference to the the tab control in question. Inside the sub-VI, use the "value" property node to check the displayed tab page. If it changes, the sub-VI should terminate. Ben
