05-14-2008 09:11 PM - edited 05-14-2008 09:14 PM
05-15-2008 03:42 PM
"You can create and edit subpanel controls only in the LabVIEW Full and Professional Development Systems. If a VI contains a subpanel control, you can run the VI in all LabVIEW packages, but you cannot configure the control in the Base Package."If you have the Base Package, you may have some limited functionality in what you can do with subpanels. I would suggest using some of the examples as templates and modifying them to do what you want.
05-15-2008 10:23 PM
05-16-2008 11:46 AM
05-19-2008 08:10 PM - edited 05-19-2008 08:12 PM
Hi Eric, Thanks
Actually I had a big program that would be complex for me to explain. So I duplicated a portion of the that would be easier for me to find out whether it is working before continuing it.
Here in the big program, there's a login function on the tab control with invisible tabs that allows one to login with the correct password, If it is valid, the other page will show up with a enumerator control and subpanel. In the enumerator, the list shows select limit, edit limit and add limit. They are three different functons that would open in the subpanel with passing agruments and returns. Each function would open with different settings based on the agruments.Of course each function must share the common strict type definitions. That is, each has the same number of inputs and outputs in the same arrangment.
Here's the pic that may help you understand
That's why. Please advise
Clement
05-20-2008 07:43 PM
05-20-2008 08:32 PM
05-21-2008 07:05 PM
Hi Clement,
After going through this code using the highlight execution to follow the data flow I realized that your event structure is set to lock out all front panel controls while it is executing an event. So you code is getting to the event structure, you select one of the cats and it opens that vi reference and then it is just waiting for the vi to finish. However, the catbreed vi's only have a stop button to stop the while loop and the front panel has been locked so you can't press the stop button. Fortunately, this is easy to fix. Just right click on the case structure and go down to "edit events handled by this case...". At the bottom of the dialoge box there is a small check box that says "lock front panel until the events handled by this event case complete". Un-check that box and click OK and your code should be fine. Thanks and have a great day!!
05-21-2008 07:13 PM
Hi Stephen,
No wonder. Thanks
So now I can start on my remaining project.
Clement