There is no built in handshaking features of DataSocket so you would have to implement it yourself. The best way would be with another datasocket item (integer flag) that is used to tell the writer when the read is complete. Unfortunately, we don't have a CVI example for this, but it shouldn't be too difficult to implement.
1) Writer writes data item.
2) Reader reads item and sets datasocket flag to 1.
3) Writer reads flag value and if = 1, sets it back to 0, and writes data item again.
Best Regards,
Chris Matthews
Measurement Studio Support Manager