If you have DAQ Hardware, LabVIEW 7.1, and are just starting to play with the DAQ software, then I would recommend that you try taking a look at some of the DAQmx routines instead of the Traditional DAQ routines. DAQmx tends to be simpler to understand and it is often easier to create applictions with it. That being said, some boards don't support DAQmx, yet, and in those cases you will have to revert to the Traditional DAQ calls.
Debonair is right about the number of scans though. The VI will keep running until it runs out of samples to take.
If you want to have a program that does continuous acquisition in Traditional DAQ and gives you the ability to stop it, try looking under Help >> Find Examples to get to the NI Example Finder. Then Browse to Hardware Input and Output >> Traditional DAQ >> Analog Measurements >> Cont Acq&Graph (buffered).vi That example should work for you and demonstrate how to create a VI that allows you to stop acquiring data whenever you want to.