Sumit,
As Gopinath mentioned, the source code is included with the IVI drivers. If you take a look at the code, it looks like the driver is multiplying the time record length by 10 divisions for you (line 3533 of the code). Therefore if you want to take the 500 seconds worth of data you mentioned, then inputing 50 for the record length should produce the results you are looking for. I hope this helps.
Regards,
Craig Reynolds