Academic Company Events Community Support Solutions Products & Services Contact NI MyNI
1 ratings:
 5 out of 5   

Why Does the ReadWrite Selection for DataSocket Mode Not Work?



Primary Software:
Primary Software Version: 7.0
Primary Software Fixed Version: N/A
Secondary Software: DataSocket

Problem:
I am using DataSocket in LabVIEW 7.0 through 8.0.1 . When I open up a connection to DataSocket and specify ReadWrite mode (an input of 2 to the mode parameter), neither a read nor write  seem to work. This only seems to be a case when I have both a read and write on the same DataSocket Connection. Why do I see this behavior and how can it be corrected?

Solution:
As long as there is both a DataSocket Read and a DataSocket Write in the same DataSocket connection, neither one of them will work. This problem was fixed in LabVIEW 8.20. The workaround is to create two DataSocket connections and specify one for Read and the other for Write or to upgrade to the latest version of LabVIEW.

Related Links:
Developer Zone Tutorial: DataSocket Overview

Developer Zone Tutorial: DataSocket Tutorial

Developer Zone Tutorial: Configuring a DataSocket Server


Attachments:





Report Date: 09/24/2003
Last Updated: 08/17/2007
Document ID: 31NBG6WC

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