04-20-2007 10:25 AM
04-21-2007
01:46 PM
- last edited on
12-03-2025
01:53 PM
by
Content Cleaner
Error 1 means invalid input. In the case of TCP Read function, this would only be the connection refnum.
Either it was closed, or it never existed.
Try having a look at the TCP examples in the example finder (Help>>Find Examples).
You don't show how you handle your errors, but in general, to see what an error means, you can use the General Error Handler VI or open the Help>>Explain Error dialog.
To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here, here, here, here and here are a few you can start with and here are some tutorial videos. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
04-21-2007 03:34 PM - edited 04-21-2007 03:34 PM
From that image alone, it is impossible to find the problem. Too much happens outside the area shown.
Can you attach some real code instead?
How many connections have you openend? What is the range of the index variable? Do you know which instance of TCP read generated the error?

Message Edited by altenbach on 04-21-2007 01:36 PM