Test and Measurement Forum

How to change the sampling rate of Pico 4824 in matlab

Post your MATLAB discussions here

How to change the sampling rate of Pico 4824 in matlab

Postby Mohammed » Tue Apr 21, 2015 10:46 am

Hi,
Can some one advice me about how to change the sampling rate of Pico 4824 in matlab. I am using PS4000A_IC_Generic_Driver_Block.m to capture the data. Currently the default sampling rate is 1MS/s. I would like to change it to 80 MS/s.

Than you in advance.

regards
Mohammed
Mohammed
Newbie
 
Posts: 0
Joined: Tue Apr 21, 2015 10:36 am

Re: How to change the sampling rate of Pico 4824 in matlab

Postby Martyn » Mon Apr 27, 2015 7:29 am

For 80MS/s you will need to set timebase as 0, the sampling rate is
Code: Select all
80/(timebase+1) MS/s

Look at the GetTimebase function in the script and change the default from 79, which gives 1MS/s, to 0
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2350
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots


Return to MATLAB

Who is online

Users browsing this forum: No registered users and 1 guest