05-29-2016 11:42 PM - edited 05-29-2016 11:43 PM
2. Everybody gets the message, even it is not directed to them. Therefore there are a lot of checking "is this message for me? No. That was a waste of a loop iteration..."
No, modules subscribe only for those UE Refnums which needed for them. I am talking about a multi-event structure. I can store multiple refnums in a cluster, so a single wire can go everywhere (or using FGV and no wire needed).
edit: but I understand your point for the other things...
05-30-2016 05:33 AM
@Blokk wrote:2. Everybody gets the message, even it is not directed to them. Therefore there are a lot of checking "is this message for me? No. That was a waste of a loop iteration..."
No, modules subscribe only for those UE Refnums which needed for them. I am talking about a multi-event structure. I can store multiple refnums in a cluster, so a single wire can go everywhere (or using FGV and no wire needed).
So am I. But I recently ran into a situation where I did have this issue. It was with a CAN and I just used an User Event to send the CAN data everywhere. But the modules were looking for a specific Arbitration ID. So everybody who recieved it had to do a check to see if it was for them and only process it further if it was.
I think this was the first time I really ran into this problem. It is not a big deal, but is something to watch out for. In hind sight, I think I should have had a CAN processing loop that then sends the data to whoever actually needed it.