04-26-2006 02:14 PM
04-26-2006 02:29 PM
04-26-2006 02:45 PM
04-26-2006 03:11 PM
I have used a number of different methods of dynamically creating LV2's but before I get into the details of those or mention scripting (oops), have you concidered using named queues to pass the data?
Have each of your cloned widgets interact with a queues based on their name.
That way the widgets each get their own queue and the controlling software can open up reference to as many queues as required.
Trying to help,
Ben
04-26-2006 03:26 PM
04-26-2006 03:59 PM
04-26-2006 04:07 PM
smercurio_fc - thanks for your reply also. To answer your question, I have experience with object oriented design in a few languages, including VB, VC++, perl, php, java... Could you give me a quick idea of how you would approach this in LabVIEW? Very high level, please - I don't want to waste your time in the details... 😉
04-26-2006 04:17 PM
04-26-2006 04:33 PM
For scripting see the LAVA forum
http://forums.lavag.org/index.php?showforum=29
For a non-scripting approach you can do it with dynamic calls and stategic saving. The following is an outline.
0) The DUT tets should be called dynamically
1) Open the top level DUT VI then oen a ref to the LV2
2) Save the LV2 as a unique name
3) Save the top level DUT VI and all of the callers from the bottom up.
Note at this point the DUT VI has unique name and is linked to the new name of the LV2.
4) Repeat 1-3 for each DUT test.
5) load all of the saved DUT VI's dynamically.
Note: Since each DUT VI was saved pointing at a unique name LV2 they will not share LV2's
6) In the main app open each of the LV2's and use a call by reference nodes to interact in the same way you would use the normal LV2.
No scripitng involved.
I would still urge the named queue appraoch.
Ben
04-26-2006 04:51 PM