ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Linux Users

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 54 on Simple TCP Create Listener

I am getting an error 54 on a very simple TCP Create Listener function. Has anyone else experienced this behavior? Using Ubuntu 20.04.4 LTS with LabVIEW 2021 f2 (64-bit).

 

OpenTCPListenerError.png

0 Kudos
Message 1 of 3
(2,953 Views)

Did you read the error message? We can't even tell from the blurry picture what's wired to where and what the values are.

Please attach your VI instead.

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

I apologize for the low res image. I was simply creating a listener on port 502 to communicate via Modbus. I found the reason why I am receiving an error. Ports below 1024 are restricted on Linux/Unix as a general rule - only apps with root privileges can listen on those. Starting LabVIEW with sudo allowed me to use port 502.

 

Message 3 of 3
(2,903 Views)