Classes Used on Both Windows and RT are Locking

Updated Jan 3, 2018

Reported In

Software

  • LabVIEW Real-Time Module

Issue Details

While developing a project that uses classes on both Windows and RT, one of my classes became locked. The Why is Library Locked? menu option tells me that the class is being used by multiple application instances, but the class in question was only being used on RT. Additionally, the dependencies for My Computer show that the RT class is a dependency of two methods of a class which was only being used on the host. What should I do to resolve this?

Solution

Edit various classes with shared dependencies by following the steps below:
  1. Create a project that only hosts the RT components.
  2. Create another project that only hosts the Windows components. This will bring the common dependencies into each project and those will be locked. 
  3. To edit the shared components, close one of the projects to unlock the shared component in the other project. 
  4. You can then edit, save, and reopen the second project.

WAS THIS ARTICLE HELPFUL?

Not Helpful