Test and Measurement Forum

time base and samples

Post your LabVIEW discussions here

time base and samples

Postby mmajo » Thu Nov 01, 2012 2:20 pm


I have a rather simple question related to settings in the block mode. I use a picoscope 3204a and want to sample with a sample rate of 1.9MHz. I set the time base to 8, which should give me 500 MS/s /2^8 = approx. 1.9MS/s. I guess I now have a sample rate of 1.9MHz.

Then I set the PreTriggerSamples to 0 and the PostTriggerSamples to 1000000. How does this affect my samling rate? Does it mean that I then sample at 1.9MS/s /0.5s = 3.8MHz?

Thanks in advance
Posts: 0
Joined: Thu Nov 01, 2012 1:37 pm

Re: time base and samples

Postby Hitesh » Thu Nov 01, 2012 4:51 pm


For sample intervals above 8ns, the following formula is given in the Programmer's Guide:

Code: Select all
sample_interval = (timebase - 2) / 62500000

A sample rate of 1.9MS/s would corresponds to a timebase of 35 (528ns).

The number of samples that you specify in call to the RunBlock function will not affect the sampling rate. Multiplying the sample interval and number of samples should give you the time period in which the samples are taken - this should give you around 0.526 seconds.

I hope this helps.

Technical Specialist
Pico Technology
Site Admin
Site Admin
Posts: 2028
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Return to LabVIEW

Who is online

Users browsing this forum: No registered users and 0 guests