08-08-2019 02:55 PM
Hi All,
I have two very simple VI's one is a sender and the other the receiver. They use User Data-Gram protocol to send string over the network. When I run both of the VI's in the full development system Lab View they work perfectly. Once I build the executable for both of them, the executable does not work at all.
I try this solution from Lab View : https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019Qh3SAE&l=en-US
But still they do not work.
Thanks.
08-09-2019 02:12 AM
DataSocket is a higher layer protocol than UDP, so that solution is not related to your problem.
Post your code and please specify if you are running programs from two different computers or not. If so, did you configure the firewall in the receiver PC to accept incoming messages at the choosen UDP port?
08-09-2019 08:21 AM
So the Sender is on one computer and the Receiver is on another computer. Like if you run both of VI's in the actual LabVIEW it works perfect. But once I build the executable, they do not work. The code is pretty simple open send and close UDP sockets. I'm just sending hello string across the computers.
The firewall is off in the receiver PC.
Thanks,
Luis.