LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

TCP read crash

Hi we have 3rd party soft lately we have problem with tcp and udp client send packets, after the program start tcp or udp connection the application crash an we get this error

kirill_nud_0-1605688166217.png

it happen randomly not all the time and we should to get all test from the beginning, we don't get a answer to this problem.

we will be  very happy to get any suggestion to this problem.

     

0 Kudos
Message 1 of 4
(1,110 Views)

Are you trying to communicate with such an external program?

Can you narrow down the error to a specific portion of your code?

 

Or is the crash happening inside the external software? If so, you should look for assistance from its producer.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 4
(1,085 Views)

We have cvi based application that check boards. than these application try to communicate with our boards through this cvi application on tcp or udp protocol it open the port and after this crash all application of tests.   

0 Kudos
Message 3 of 4
(1,081 Views)

I can give you 2 suggestions as to how to address this kind of problems

 

  1. Add proper error checking to all I/O functions and carefully handle every abnormal return code you get
  2. Dig into System Event registry searching for errors related to your application or the 3rd party software: normally the error logs include some informations that may help you discriminating the location of errors


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 4 of 4
(1,066 Views)