Developer Center Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Remove License from library error

Hello everybody!

I've created a licensed library (for tests) and now I would like to remove the license using the vi "Remove Licensing from Library.vi"

The vi returns an error:

Error -314519 occurred at NI_LV2PLicAPI.lvlib:Remove Licensing from Library.vi

Possible reason(s):

Third Party Licensing and Activation Toolkit:  Path to license file is invalid.

But this vi has no "Path to license file" input!!! The only inputs of the vi are the path to the libray and the password of the library.

Is it expecting a license file at a path somewhere?

Thank you!

Cristian

0 Kudos
Message 1 of 3
(6,112 Views)

Hi Cristian,

The detailed help on that VI explains that the license file associated with the library must be present in the following directory: [Public App Data]\National Instruments\Partners\company name\Licenses, where [Public App Data] corresponds to the CommonAppDataFolder property and company name is the same value you specified when you licensed the add-on. Otherwise, LabVIEW returns error code –314519.

The CommonAppDataFolder corrsponds to C:\ProgramData on most systems. Also, you might need to have your license activated if the above still doesn't work.

Hope this helps!
Sumedha

Sumedha Ganjoo | LabVIEW R&D
0 Kudos
Message 2 of 3
(3,276 Views)

Thank you. It worked without activating the license.

Cristian

0 Kudos
Message 3 of 3
(3,276 Views)