Shen,
The ai_samp.prj example uses software timing. Thus, the sampling rate is controlled by the interval of a software timer. Because this is a software-timed example, the accuracy of the sampling rate is system dependant. Furthermore, the maximum sampling rate is also limited by the execution speed of the software. If you want to use the Easy I/O functions, I would suggest that you take a look at the ai_async.prj or ai_acq.prj example. Both of these examples use hardware timing. However, the examples that use the "regular" NI-DAQ functions offer greater control and flexibility. They are available in the following location:
C:\Program Files\National Instruments\MeasurementStudio\CVI\samples\daq
Good luck with your application.
Spencer S.