Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
13 ratings:
 2.61 out of 5     Rate this Document

When My DataSocket Connect Is Lost, the DataSocket VIs Fail to Re-Establish Connection

Primary Software: Other NI Software>>DataSocket
Primary Software Version: 4.2
Primary Software Fixed Version: N/A
Secondary Software: LabVIEW Development Systems

Problem:
Why does DataSocket fail to re-establish connection once the connection is lost?

Solution:
If you change the URL input, then the DataSocket VIs will try to re-establish a connection with the new address. So if you lose the connection, switch for a moment to a new blank address, and then switch back. Keep doing this until the server starts again. See the attached VI for an example of how to do this.

Related Links:
KnowledgeBase 2R6CPLDV: Using LabVIEW Datasocket Functions in a Loop


Attachments:
Data Socket ReconnectData Socket Reconnect





Report Date: 05/02/2001
Last Updated: 12/11/2008
Document ID: 291HJCM0

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit