Hello;
I'm assuming you are talking about scan pulses, as opose to trigger pulses. A trigger pulse starts/stops the whole acquisition, while the scan pulses clocks each datapoint of the acquisition.
The problem you are seeing there, regarding that the acquisition still acquires a few datapoints after you press the stop button, is because, since you are probably using the AI Read.vi on the AI task,and because that VI is synchronous, the CPU excecution pointer will get stuck inside that VI until all datapoints of the buffer to be retrieved. So, the recognition of the Stop buttom will take place after the VI is done retrieving all points from the buffer, and that might include some extra points after you had pressed the buttom.
To accomplish that task, you wi
ll need to use a combination of counters and have digital pulses working as digital trigger/stop.
Hope this helps.
Filipe A.
Applications Engineer
National Instruments