LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

User Events

I am working with User Events at this moment, but I wonder what is the difference between the 'user event out' from 'Create User Event.vi' and the 'event reg refnum out' from 'Register For Events.vi'. They are both references to the User Event as I understand. But why does labview uses both and could they not be combined in just one reference?
0 Kudos
Message 1 of 5
(3,317 Views)
Think of a User Event as an single queue. And, think of an Event Registration as a collection of queues. Many User Events, and other types of event queues, may be assigned to a single Event Registration collection. Then, by wiring the Event Registration to an Event Structure's Dynamic Events terminal, the Event Structure can act as a dequeue for all events in the Event Registration collection.

Hope that helps,

-Jim
Message 2 of 5
(3,317 Views)
Thanks Jim,

But I have one more question about events. When I am using for example an event structure with 3 events A,B and C. A control in event A will be connected to an Indicator outside the event structure. Now, why should there be no connection between the other events and the indicator.

Greetings

Davy
0 Kudos
Message 3 of 5
(3,317 Views)
Davy,

> Now, why should there be no connection between
> the other events and the indicator.

It isn't that you can't wire to the tunnel in other frames of the event structure -- it just doesn't have to. The reason for this is that the tunnel's "Use Default if Unwired" property is set to TRUE. However, if you right-click on the tunnel, you can unselect this option, and then you will have to wire to this tunnel in every frame of the event structure.

-Jim
0 Kudos
Message 4 of 5
(3,317 Views)
Thanx Jim
0 Kudos
Message 5 of 5
(3,317 Views)