Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

Datasocket disconnects frequently

I am using Datasockets and the Datasocket Server to transfer a fairly limited amount of information (less than 20 scalars and strings combined) between two custom VB6 apps on the same computer.  After a few minutes to a few hours of operation, I get an error dialog with the message "[5:0]Connecting: Parsing URL".  This causes both VB6 apps to crash.  The frequency of the error dialog seems to be related to the load on the computer at the time.  I have been unable to resolve this problem and keep my apps running.  Can anyone help?
0 Kudos
Message 1 of 3
(6,805 Views)

Hi Tim,

Please try using the DSReader and DSWriter examples and see if you also get this error message and crash.  Is the computer loaded from other applications, or just your two VB applications?  How high is the load (both RAM and CPU)?  What about your network utilization? 

Here are some other resources that may be helpful:

What Size Data Can I Send with DataSocket?

How Fast Can I Transfer Live Data with DataSocket?

 

Cheers,

David Goldberg
National Instruments
Software R&D
0 Kudos
Message 2 of 3
(6,793 Views)

David,

Thank you for your reply.  The computer is also running SQL Server (the VB6 apps I mentioned can be thought of as different front ends to the SQL database).  The load on the computer can be quite high at times because one of the VB6 apps also periodically acquires data from some external hardware (and SQL tends to take over the computer).  The hardware is ethernet based so the network traffic can also be high when data is being transferred between the external hardware and the computer.  I'll try running DSReader and DSWriter as you suggested and see what happens.

Thanks.

 

Tim

0 Kudos
Message 3 of 3
(6,786 Views)