04-01-2019 08:47 AM
Hi All,
I am working work on a project where two cRIO communicates on UDP on their secondary ports. One is a cRIO 9039 and the other one a cRIO 9057. When I restart these machines at the same time, with rtexe on each of them, I get error 54 at Open UDP on the 9039, I guess because it restart really faster than the 9057. I add 9057 is on DHCP, I will set ip to static address, because that seems cause this error 54. But In brief, a workaround would be to detect error 54, clean it, close UDP and reopen another connection. And I get in this case error 1 on UDP Close, certainly because my UDP connection ID is 0, which is a consequence of error 54 previously encountered.
So the best would be either to clear error 1, although Close UDP does nothing on a Connection ID of 0, or directly open a new one without care of the previous Connection.
Antoine