12-14-2005 11:51 AM
12-14-2005 12:05 PM
12-14-2005 12:08 PM
In my previous message, typo in second paragraph: should have been
"The controls on each page could call the same motion-control subVI as the controls on the other page..."
::Marty
12-14-2005 12:22 PM
12-14-2005 12:46 PM
You're welcome. I first used tabs in LV 6.1, before subpanels were available. I didn't want to run subVIs as popups, as a rule. The filetab was a good solution. The selected page obscures front-panel objects on the other pages, so each page is like a separate screen. I labeled the pages according to function, and the user could switch pages accordingly. Switching tab pages is easier than clicking a button on the main VI's front panel to pop up a VI enabling one function; then clicking "End" to disable; selecting another button on main VI's FP for another popup VI; etc.
But there were certain things I wanted to do without interruption (hardware interactions), so I disabled all pages but the active page as long as the critical task was ongoing. Also, I would disable certain controls even on the active page ("Start" button was disabled until the test was over, etc.). I don't think that strategy violates the spirit of the filetab.
The only trouble was that most of the pages had complicated functionality, so many of them had clusters full of option buttons. User would click one, I'd have to hide the option menu, show a bunch of other controls, etc. Straightforward but tedious. Subpanels make that kind of thing easier, because the VI running in the subpanel is responsible for its own front-panel display. And different people can develop different subpanel VIs at the same time, without too many problems merging.
Anyway, I'm glad your problem is solved. I just tried to run two instances of an LV 7 application under Windows 2000 and I couldn't. So that's good to know.
::Marty