LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Project Items - LVLibp class in scripting

Hello,

 

I am trying to do some scripting with lvlibp in my project, but it seems there is no way to cast LVLibp type to more specific class and list classes and members that are inside:

 

pawhan11_0-1578581877652.png

 

Similar code works for libraries.

Is there way around this?

 

 

0 Kudos
Message 1 of 4
(2,120 Views)

Which node gives an error, and what is the error?

 

If you get an array from OwnedItems[] , I'd start by listing the class names of the members.

0 Kudos
Message 2 of 4
(2,092 Views)

I want to get reference to class inside packed library.

For normal source code library it forks without problems:

 

pawhan11_0-1578586350935.png

 

But for packed library cast to Library class fails, I can not find LVLibp class to cast it correctly.

pawhan11_1-1578586565503.png

 

pawhan11_2-1578586664217.png

0 Kudos
Message 3 of 4
(2,075 Views)

But what class is it that reference? If you get the ClassName property, you know what you can to cast that reference to. A probe gives this info too, without any programming.

0 Kudos
Message 4 of 4
(2,032 Views)