LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error:1127.Cannot instantiate template VI because it is already in memory.

Hi All,

I ran in to a problem while developing an Application. I am a fan of .vit files, I use to create a template .vit file and instantiate the front panels of different kind during run time.

 

So far I have never came across the error 1127 Cannot instantiate template VI because it is already in memory. The application runs fine in Development system, but if I build that to a .dll and call template I got the above error.

 

This .vit instantiated objects are front panels which resides in a sub panel of the main vi.

I saw the other posts but i didn't came across any useful solution.

 

Thank you

Aptan.

0 Kudos
Message 1 of 2
(2,638 Views)
Why are you using VITs? Using .vit files for launching multiple instances of a VI/running VIs dynamically is no longer the recommended method - you should look at using the 'start asynchronous call' method instead.

http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/acbr_call_and_forget/

LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 2 of 2
(2,622 Views)