Hi g_l_g_s,
The PXI-5105 digitizer acquires data at the rate that you specify and stores the data in its onboard memory (up to 512 MB). The data is then sent to your computer when the Multi Fetch Cluster.vi is called. In the VI that you posted, you are only fetching one record during each while loop iteration. If you would like to fetch 302 records you will need to specify 302 records in the Configure Horizontal Timing.vi. For more information about digitizers, you might find the DevZone, here, helpful.
For determining the amount of time it takes for each while loop iteration, you might want to consider using the code structure in the Timing Comparison community example, which can be found here.
Tunde S.
Applications Engineer
National Instruments