Oguz,
In order to get multiple samples, you must delve into the intermediate DAQ tools. AI config will set your buffer size, AI Start will set the triggering and other parameters, AI Read will read your 10 samples, which you can them average, and AI Clear will stop and clean up the DAQ.
Check the DAQ examples, there are plenty of samples that should show you exactly what you need.
-Mike Du'Lyea