I want to create some scripting tools to automatically create wrappers for existing class methods to call the method dynamically without the need to have a dependency to the class.
Something like this:
but i'm having issues in generating the type specifier VI refnum.
If i create a dummy vi containg this code manually, and traverse the block diagram, it almost seems like the object doesn't fit in anywhere in the VI server model.
The classname is "ControlReferenceConstant"
I tried numerous ways of generating said reference, but each time it tries to put an actual static VI reference to the VI, or throw some obscure error.
Anyone any ideas on generating this type reference?
Solved! Go to Solution.
The only thing I can think of is to create Static VI Reference, then from it, create a constant.
I can't found that "StatVIRef" icon. Could you tell where is it?
The fact that you don't know that it's a property node or what a snippet is is an indication that perhaps playing with LV scripting is not for you at this point, as it requires both understanding how to write LV code and understanding how the LV code itself is built. What are you actually trying to do?