uraza2001 wrote:
Hi Ben
Sorry to bother you again, got a question...
For every node i will have an instance open using the template vit. I can save the names of each instance of the vit, for example "graph_template 617.vi" into an array. Is it possible it open the instance and update it ? Ive tried it once using the open Vi reference and i am getting Error 1004 vi not in memory. Is there a way around this. Or is this not possible
Many Thanks
Raza
That message means what it says, the VI is not in memory.
LV will remove a VI if all refs to that VI are closed. My templates normally open a ref to themselves so they can keep themselves open.
THis Nugget has functional code that uses a template to crate multiple instances. It may help you figure what is going wrong.
Ben