Hi all,
I'm trying to programmatically create and modify LVClasses. So far, I've managed to do the following via LabVIEW scripting:
Create a new LVClass
Save the new LVClass to disk
Make one LVClass a subclass of another
Create property definition folders
My next step is to create class methods (static dispatch for now), but I'm stuck. I can't figure out how to add an LVClass control/indicator to a VI. I tried the following, but LabVIEW complained, "Type mismatch: Object cannot be cast to the specific type".
I can't find any other LVClass-related items in the list.
I tried to figure out what I should pass to New VI Object.vi, by querying an existing static dispatch VI as follows:
Apparently, the FP elements I want are called "LabVIEWClassControl", and they have a ClassID of 102. However, "LabVIEWClassControl". isn't available in the list. When I wired 102 into New VI Object.vi, I was told "The specified object was not found."
How do I programmatically drop an LVClass control/indicator into a VI? More fundamentally, how do I script a new static dispatch VI?
Thanks in advance!