04-06-2016 04:19 AM
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.
04-06-2016
05:10 AM
- last edited on
12-17-2025
05:47 PM
by
Content Cleaner
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.
https://www.ni.com/docs/en-US/bundle/labview/page/asynchronously-calling-a-vi-without-collecting-the...