12-17-2019 10:12 PM
Hello everyone,
I'm trying to populate a test parameter table with label names I get from class private data. This works fine when running from the development environment, but not when called from a dll. Is this not possible outside the development environment? I get error 1013 right after the front panel property. Is there any other way to retrieve class data labels that I'm not aware of ?
Solved! Go to Solution.
12-18-2019 04:01 AM
If you must get that data (it is private) try this.
The class control is a VI!
It's name is "class name.lvclass:Class name.ctl". (Open the class private data and drop the VI in a string constant to get this name.)
So, simply open it with VI Server (Open VI Reference), get all controls from the front panel. That's only one control (the private data cluster. Get all controls from the cluster...
This will still not work in executables, as the front panel gets removed.
Use "Get Control Values By Index" to get the cluster anyway.
12-18-2019 12:28 PM
I found a workaround by basically taking the last part of my diagram where I collapse the test parameter array data to a variant and get the properties and removing everything before. I didn't need to scan the private data for the test parameter label just to get the value of the control. Seems so obvious after I got some sleep.