07-01-2015 02:39 AM
I'm working with 2014SP1, so it's a bit strange.
And it could be a problem, if the cluster consists of say 5 or more elements, then you would have to rebundle them to pass them to a subVI.
07-01-2015 02:40 AM
True, didn't think of that. In some cases I do get the cluster itself, maybe this is a LabVIEW bug?
Danielle
07-01-2015 02:46 AM
That's what I was hinting at.
I mean: You have 3 methods of doing basically the exact same thing and only 2 of them work.
07-01-2015 02:51 AM
The fact is that usually they all work. I couldn't find a pattern why sometimes the individual element doesn't work. This is a workaround, so it has it's own problems. However, it could be that we're missing something. In other words, it could be a feature, not a bug
In any case as I don't see a pattern, it can't be duplicated, therefore probably won't be solved in the near future...
07-01-2015 03:05 AM
So... I've alarmed the troops, called support, reported a bug and when I tried to recreate the bug, by creating a new user event with just the numeric.
And now it bl**** works! Now I understand nothing. Now I'll have to try and force it into a bug, in order to not lose all of my credibility
07-01-2015 03:15 AM
First time use in actor framework? User events on Wednesday mornings? People with glasses (if you have them, I do)? Or we could stick with the ever popular phase of the moon.
In any case if your credibilty is in danger, I can bear witness that it happened to me too
Good luck,
Danielle
07-01-2015 03:43 AM
OK, I found out what the problem is: If you create the Event Reference and add it to the class, before you name the constant the reference doesn't know the name. Obviously this doesn't automatically change if you add a name to the constant in the pre launch init method.
This, however does still not explain, why the cluster around my data disappears.
07-01-2015 03:55 AM
Cool! Maybe it doesn't know the name of the cluster but does know the name of the cluster elements?
07-01-2015 08:58 AM
Well, I guess it's just expected behaviour and what we find weird others find intuitive. At least it's not caused by the AF, see this screenshot:
Here the Top Cluster is not selectable either. For the case described by me earlier I guess I'm just going to have to use a Cluster of Cluster.
07-01-2015 11:03 AM
Peter,
I am late to this party, however this little tip might help you:
If you create an indicator from the user event wire and right click on it to not show it as icon, you can see the contents of the reference and whether they are named or not.
I have seen all the issues you described before, the way I got around them is putting the creation of my User events references in a subVI that has a cluster of event references. This cluster is then a typedef, if when I go to the typedef and right click on the references to show the contents I see that there are no names, I can fix it there and it propagates.
Hope this is clear and it helps.
Fab