06-23-2018 01:31 AM
I try to find a way to access single member of a cluster located in FP. It is simple in conventional LabVIEW but NXG puzzles me.
This is conventional LabVIEW code:
Is there something similar in NXG?
Thank you
Solved! Go to Solution.
07-25-2019 01:30 PM
I'm assuming the answer to this is that it's not possible yet but by chance did you find a way to do this in NXG?
07-29-2019 02:11 PM
Unfortunately I have no answer.
07-30-2019 09:42 PM
Hi _Y_,
I was not able open your snippet for some reason, so I was not able to see the cluster that you want to access. However, you can access cluster members using properties nodes. See the attached example of accessing one and adding it to a Combo box.
07-31-2019 12:33 AM
Thank you for reply, fblerg,
Your solution accesses value via property node. I cannot find a way to access other properties.
07-31-2019 10:21 AM
What are the other properties that you need to access? Could you post an example VI?
The exposed properties have changed somewhat in NXG. If there is something missing that you need, it would be great to know what is missing.
Thanks,
Frank
07-31-2019 12:17 PM
Not to hijack this board but I think Y wants something similar to myself. I was trying to find a way to change the labels of the individual cluster elements like this:
The reason I want to do it this way is because I want to dynamically create gtype clusters in NXG and then change the labels for each element in the cluster. I know you can change the Label text of the cluster in NXG like this:
But there isn't an option the properties to get the cluster elements' references:
07-31-2019 05:44 PM
Thanks for the detailed example stillwaiting255. That makes your use case every clear. Let me do some digging if there is a way to get a reference to individual cluster elements.
08-06-2019 09:48 PM
Hi stillwaiting255,
I did some research and there is currently not a method to get a reference to cluster member to rename their labels. As for a workaround, you could consider using Variants, and getting/setting attributes.
The NXG team is aware of this gap, and is working to evaluate and prioritizing it on their feature backlog. Apologies for the inconvenience.