Issue Details
When I run my LabVIEW VI, I encounter Error 1 at TCP write/read. What are some causes for this issue and how can I solve this problem?

There are a few potential causes for receiving Error 1 at TCP Write/Read which are:
- Invalid Connection ID
- Most common cause: wiring Listener ID instead of Connection ID to TCP Read or Write VIs.
- Connection Closed or Never Established
- If the connection was closed earlier or never successfully opened, the refnum becomes invalid.
- Scope Issues
- LabVIEW cleans up refnums when the hierarchy that created them goes idle (e.g., dynamically called VI stops).
- Multiple Opens on Same Port
- Attempting to open the same port in multiple places simultaneously can cause invalid references.