LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 62 at TCP Write

I am using LabView 7.1 to create a program that is sending data to a remote computer using TCP Writes.  Sometimes the operator of the remote computer just closes the program that is receiving the data and does not shut it down properly.  When they do this a window pops up that says Error 62 at TCP Write and asks if I want to continue or stop.  I would like to bypass this pop-up window and continue running the program insted of stopping.  Is there a way to make the program automatically continue?  Thanks.  
0 Kudos
Message 1 of 2
(8,754 Views)
An error message will pop up if you have the Automatic Error Handling option enabled in the VI Properties window and you haven't wired an Error Out terminal. You can get rid of it either by unchecking the option or wiring the Error Out terminal on the TCP primitive.
 
In general, error handling is very important and you should always wire error clusters into something which will handle errors for you. For example, you can decide to stop the program if one error occurs and to restart it if another occurs (for example 56 which is a TCP timeout error).
 
To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here and here are a couple 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).

___________________
Try to take over the world!
0 Kudos
Message 2 of 2
(8,751 Views)