09-05-2009 11:38 PM
09-06-2009 04:20 AM
11-21-2014 01:17 AM
Hi, tst,
I still have a question.
Is it possible to get the element number in a cluster "constant"?
11-21-2014 03:33 AM
The original question was about a class, which is different from a regular cluster because the data is private. If you want to perform custom operations on clusters, the best option is probably the VIs found in <LabVIEW>\vi.lib\utility\VariantDataType (or something similar). I'm assuming there should be a VI there which accepts a cluster and outputs data on its structure.
Other options could include flattening the cluster to XML or JSON and looking at the resulting text or using something like the OpenG variant VIs, which are basically supposed to work like the vi.lib VIs.
11-21-2014 04:01 AM
I'm sorry I ran into the wrong thread.
Very thanks to your reply. I'll try it 🙂