I have application1 and application2. Application1 is suppose to send data to application2 through dstp. Application1 acquires data from a NI-DAQ device at 20Hz (20samples/sec). The data is wired to the DataSocket Write. In application2, Data from DataSocket Read is logged into a txt file. It is found that some samples are missing. For example, in one second, the txt file in application2 is supposed to reflect 20 samples/sec, but it only show, say 17 or 18 samples/sec.
I know that this can be done through client or sever buffering, but i do not know exactly how to do it. Pls advise.