LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to enable event for UDP reception in Labview

Hi,

    i want to enable event for UPD recption. If any data comes to UDP port, then only this event has to execute.

 

 

Thanks & Regards,
Harish. G.
0 Kudos
Message 1 of 3
(2,651 Views)

I don't think this is available in labview, but maybe you can wire '-1' as timeout on UDP read (placed in while loop) and wire 'data out' to a Value (Signaling) property of a string control so it will fire the value change event once data is received.

0 Kudos
Message 2 of 3
(2,610 Views)

@WatWork wrote:

I don't think this is available in labview, but maybe you can wire '-1' as timeout on UDP read (placed in while loop) and wire 'data out' to a Value (Signaling) property of a string control so it will fire the value change event once data is received.


Right idea, but use a user event, don't use Value (Signaling). No need to trigger events on front panel items unnecessarily.

0 Kudos
Message 3 of 3
(2,595 Views)