LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

user event unvoluntarily unbundles a cluster

Hi

 

I try to send a user event to another loop and come a around a curious feature(?).

 

If I create a user event with a data type "cluster (of bool in this case)" the receiving end unbundles the cluster.

I'd rather have the cluster as such to foward it internally  at the receiving end.

 

Is there a simple way ?

 

Of course you may envelope the cluster in another cluster, but that seems not really clean to me ?

 

using LV 2010

 

Thanks for any ideas

Gabi 

 

7.1 -- 2013
CLA
0 Kudos
Message 1 of 5
(2,564 Views)

[Set WildSpeculationMode=True]

 

A user event can be one-to-many (one sender multiple recievers) unlike the queue which can be many to one.

 

So the data from an event must be copied to the reciever to ensure all updates are recieved by all recievers.

 

Ben 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 5
(2,551 Views)

Look at this idea for an argument for NI to change this behavior.

 

You will need to bundle your cluster into another cluster before sending it to an event.  When LV unclusters it, you'll still have a cluster.

Message 3 of 5
(2,545 Views)

[GetSpeculationState=Wild]

 

Or possibly a bug.  (Internally, a cluster of [4]bools T,F,F,T should be oddly flattened to 0x01000001) 

Somehow the cluster gets lost in the dynamic event queue and NI forgot to put it back.

 

/\/\/\ Waves hand!

 

[edit: Well the hand waving worked] Thanks Matt

 

Known bug(Feature)


"Should be" isn't "Is" -Jay
0 Kudos
Message 4 of 5
(2,542 Views)

Thanks Matthew for the link to that ongoing discussion.

 

It is sometimes a bit tricky to select the proper keywords to get to right thread. 😉

Well, I found out about the packing into another cluster before, but as said (l.c.) it is messy and unclean.

 

But thanks anyway. I'll definitely vote for that option.

 

Gabi 

7.1 -- 2013
CLA
0 Kudos
Message 5 of 5
(2,510 Views)