02-19-2014 10:32 AM
Is it possible to retrieve labels from cluster in class data?
I'm looking to use the labels from the cluster in class data to build a sql insert to a mysql database. I currently do it this way using a cluster control, but it's getting pretty big and I'd like to reorganize.
Thanks,
Zac
Solved! Go to Solution.
02-19-2014 10:41 AM - edited 02-19-2014 10:44 AM
Do you mean programmatically (i.e. with code)? If so then I suspect not, because class data is considered private to that class, so unless you wish create a method for each class you have that analyses the data cluster for each contained datatype's label, I'd suspect this isn't possible. Not something I've ever done, but scripting can be surprisingly powerful (and I suspect the OpenG cluster-variant tools might be useful here), so it's possibly worth a go.
02-19-2014 11:17 AM - edited 02-19-2014 11:25 AM
Yes, programmatically.
I guess I'll put a cluster in the cluster of class data, then I can use a property node on the cluster indicator.
Edit: I could do this, but I can't put a type def in the class data.
Thanks for your response.
Zac
02-19-2014 11:59 AM
02-19-2014 01:08 PM
Thats what I'm looking for. But I can't seems to find "Private Data Control" property.
ps. I'm in LV 2010
02-19-2014 01:24 PM
The corresponding property is private in LV10 it seems.
Go to the labview wiki to find the ini key you need:
http://labviewwiki.org/LabVIEW_configuration_file/Miscellaneous
The property goes by a different name.
Like all private properties, they are great to save you time in coding, often not-so-great in production code unless there really is no other way.
02-19-2014 01:55 PM
Thank you for your help. I've been putting off the jump to current long enough. Maybe it's time.