From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Measurment Studio 7.0 Data Socket Connect issue

I am using VB .NET 2003 with Measurment Studio 7.0 and I have an issue with the Data Socket Connect command.  I have several points of interest that I need to capture using a DDCS connection.  I iterate through them in a loop.  At various points the connect fails to return to the calling code.  I have stepped through this several times and it fails at different points ever time.  It is not consistent.  I have tried putting in Sleep commands to slow the connects down, but this is still not reliable.  Also, I noted in several of the other posts that in order to clear the cache of these connects, I need to close Visual Studio all together.  Here is an example of how my code looks:
 
While Not myURL.EOF
 
 
  
Loop
0 Kudos
Message 1 of 1
(2,686 Views)