Main Vi and sub-VI

2004-06-01 Thread Lai, Ann
I have a main VI that will call several test sub-VI's. The main VI sends the inputs into the sub-VI, and displays output from the sub-VI via input and output clusters. The sub-Vis runs one at a time depending on the order that the user requests. The user puts his or her request in a listbox

Re: Main Vi and sub-VI

2004-06-01 Thread PJ M
Hi Ann, If I understand what you are describing, you are looking for a "universal" way of passing data from different subvis (only one running at any given time) to your main calling VI. Have you investigate using queues ? Depending how generic (or not) you data are, you can define a clue cluster

Re: Main Vi and sub-VI

2004-06-01 Thread Craig Graham
Subpanels? If you want to go the route of passing references, you only need to pass a front panel reference. And if you're willing to spend some time doing reusable code, you can write VIs that will give you the top level panel reference and let you get control references by name as and when you

Re: Main Vi and sub-VI

2004-06-01 Thread Irene He
in the subvis. Irene = Irene He Yahoo Messenger ID: [EMAIL PROTECTED] www.geocities.com/irene_he www.hytekautomation.com - Original Message - From: Lai, Ann [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 01, 2004 12:22 PM Subject: Main Vi and sub-VI I have a main VI that will call