LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

UDPportconflictbetweenLabviewapplicationsrunningonthesamemachine.

In reference your example "UDP Send/Spray and Recieve". When the sender is in broadcast mode, two occurrance of the reciever, each executing on their own machine, work great at recieving the senders data. However, two occurrance of the reciever executing on a single machine conflict with each other. For my application, I have one receiver already application built in Labview 5.1.1 which I cannot change and a new receiver which is being developed, in Labiew 6.0.2, which needs to read the same port data as the first receiver. How do I avoid this conflict between receivers reading the same port on the same machine. I do believe since the sender is boadcasting the data, it should not matter if the two r
eceivers are on different machines or on the same machine.
0 Kudos
Message 1 of 2
(2,570 Views)
It maters because the port number is the one creating problems. Thus, the conflict is because 2 applications are attempting to monitor the same port in the same time. The "broadcast" is related to the group of machines receiving the data (but all of them on the same port).
Therefore, if you cannot modify the application built in 5.1, a solution is to customize the SENDER to send the data again to another port on that particular machine (the one monitored by LV 6 application). Another solution is to modify the broadcast port and customize the LV 6 application to send received data to LV 5 app.

Good Luck ... and let us know if you need more help
0 Kudos
Message 2 of 2
(2,570 Views)