12-11-2009 03:16 AM
Hi,
I want to reset the boolean values in a global variable which contains one cluster. I use the variants but I have this error :
Property Node (arg 2) in GetErrorList_Global.vi
<APPEND>
Property Name: <b>Value</b>
See the read circle in the image below.
FYI, the upper part of the VI is used to read the label value of each true value (which means each error label).
Thank you in advance for your help.
Solved! Go to Solution.
12-11-2009 03:29 AM
It seems to me like you're trying to apply a boolean to a cluster. You'll need to filter/adress the boolean variable in the cluster.
/Y
12-11-2009 03:53 AM
The error message doesn't say which property node threw the error, but presumably it was the last one, so to clarify the previous post - you're trying to write a boolean ARRAY into a cluster. Using the Array to Cluster primitve can help you there.
With that out of the way, there are many other things which are very problematic with your code. Here's a selection:
And with all that said, the most important one:
12-11-2009 06:21 AM
What you might do is the following: Since you have the individual cluster items control and use it in the loop, set the boolean there. 🙂
/Y
12-11-2009 07:11 AM
Finally it works, I solved that exactly with the Yamadea's solution, unfortunately before your post, but thanks anyway !
@tst
I know it is not the best solution with my global variable, but I don't want to change all my program now, but for the next one I will test for sure the FGV.
12-11-2009 10:01 AM
I also use labels alot and i dont think there's any other solution than ref for that.
The only thing i react to now is how you aquire the cluster ref; cant you just r-click the cluster and create ref or even the property node directly instead fo getting the panel ref and indexing and stuff?
/Y
12-15-2009 01:54 AM
Hello,
I don't think it is possible since my cluster is a global variable, or I may be wrong, but I didn't find how to do that.