LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Dispatch VI not in memory when built into PPL

Hello Everyone,

 

i have stumbled upon a problem which i need help from someone more experienced in this field: Labview gives me the following error when trying execute the Attribute.List.Get dynamic dispatch vi when I build the containing class into a PPL and try to execute it. The class must be in the memory because I have already inserted a few instance of it into the map collection which the for loop iterates through (as seen on the picture). The problem is resolved if I cast the object back to its parent object and try to execute its method that way. Can someone explain this behaviour to me? Thank you!

PPL without more specific.png

0 Kudos
Message 1 of 2
(2,106 Views)

I'm guessing here, but adding the class with the To More Specfic Class will link/force the class into memory and solve the problem. I bet much any function that uses that class would make it work.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 2 of 2
(2,028 Views)