LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

what is the difference between wiring a datasocket reference or a datasocket URL into Datasocket Read and Write VIs?

Hi Reg,

I have some additional information regarding your issue.
 
Datasocket is designed to not echo back what it wrote on the same connection. Avoiding this echo helps descrease network bandwidth, as well as alleviate confusion on what data is coming from where.
 
The attached VIs demonstrate the behavior of the Datasocket VIs in ReadWrite mode. Run the ds_r_test.vi VI. It will get one point. Leave the VI running and then run both the the ds_rw_test.vi examples simultaneously.
 
The read in one RW VI will get the data written by the other, but not from itself. The still-running read VI will read twice as many data points as it gets both RW VIs writes, while the RW VIs only get the writes from the other RW VI.
 
Scott Y
NI
0 Kudos
Message 11 of 11
(478 Views)