AVI,
Since you don't mention the development environment you are using so it is a little difficult to be specific about your options. Basically, NI-DAQ has been designed so that once you get the stop condition, the driver stops acquiring data and does not put anything else in the application buffer.
Once your application has read in all the data received before the stop condition, you will find that no newer data is being returned by your read function, and you can use this as a sign that you may exit the acquisition loop. Normally an error code is returned in text-based environments. In LabVIEW, the Read VIs contain an output terminal that indicates that the Acquisition has been completed.
Regards,
Alejandro Asenjo
Applications Engineer
National Instr
uments