LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a class member VI from a template locks the class library.

I have a LabVIEW (8.6.1) class where I need to create a number of very similar member VI's.  In order to make this process more convenient, I created a couple of VI templates.  However, I've found that creating a new VI from the template always locks the class library.  The library then remains locked until I close and reopen the project.

 

When I select "Why is library locked?" from the context menu, I'm told:

 

"The library is locked because:  This LabVIEW class is loaded in multiple application instances.  Classes must be in only a single application instance to be edited.  The containing library is locked."

 

I have the same problem if I create a new project (see attached ZIP file), add a class, and then add two templates.  Everything seems OK if I have only one template.

 

Am I doing something wrong, is this a bug in LabVIEW, or do I misunderstand the expected/intended behavior of template VI's?  Is there a way to "unlock" the class library without closing and reopening the project?

 

Thanks in advance,

 

Mark Moss

0 Kudos
Message 1 of 1
(3,247 Views)