Showing results for 
Search instead for 
Did you mean: 

Programmatically adding items to LVOOP class private data cluster possible?

I would like to programmatically (i.e., by VI scripting) add a strictly typed subcluster to the private data cluster of a LVOOP class.


In the VI server interface, I haven't found a property node giving access to the private data cluster of a LVOOP class. Is there any way to perform the operation mentioned above?


Thanks in advance for any help!!

Message 1 of 2

In newer versions the LVClassLibrary class has a Class Data Control property which returns a reference to the private control VI, which you can then parse through like any regular VI. Additionally, if the class is in memory, you should be able to open a VI reference to MyClass.lvclass:MyClass.ctl to accomplish the same thing.


That said, I have no idea what happens if you try to edit that control. I assume it should work, but that's just a guess.

Try to take over the world!
0 Kudos
Message 2 of 2