06-30-2008 08:22 AM
06-30-2008 01:04 PM
You can do this by opening a reference to the subVI and then running it using a call by reference node. You can see an example here. Just note that you have to set an option on the open primitive to prepare the VI for reentrant execution (I think it's 2 or 8, can't remember).
If you want to see a more complete implementation, you can try downloading the OpenGOOP framework from OpenG, which uses this mechanism for data storage. Alternatively, you can use a queue to pass the data. If you have a single element in the queue and always make sure to dequeue and then re-enqueue, you should get a single copy of the data in memory.
You can also use variant attributes to do the lookup table. You can see more here.