LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Scripting Help - Library locked when trying to add file to it

Solved!
Go to solution

I think the attached snippet will work in 2012, otherwise you can see the code.

 

Script - Create Wrapper_BD.png

Message 11 of 14
(1,503 Views)

Thank you both. I put in the application reference as Hooovahh showed, and I took the Scripting VI and the Template VI out of the library, but I'm still getting the same error 1562. Below is a screenshot of the library and the scripting VI, and a zip is attached. Is it still locking the library because the Mode enum is part of the library?

 

Edit: The snippet changes the application reference to a control, but I used a constant just like in Hooovahh's

 

library.JPG


Scripting VI.png

0 Kudos
Message 12 of 14
(1,499 Views)
I took your entire Private folder out of the library. I think you typedefs are still locking it.
Quentin "Q" Alldredge

Chief LabVIEW Architect, Testeract | Owner, Q Software Innovations, LLC (QSI)
Director, GCentral | Admin, LabVIEW Wiki | Creator, The QControl Toolkit
Certified LabVIEW Architect | LabVIEW Champion | NI Alliance Partner



0 Kudos
Message 13 of 14
(1,489 Views)
0 Kudos
Message 14 of 14
(1,486 Views)