ps3000_get_timebase oddness

Post general discussions on using our drivers to write your own software here
Post Reply
Posts: 1
Joined: Wed Mar 07, 2007 2:30 pm

ps3000_get_timebase oddness

Post by kreuters » Wed Mar 07, 2007 2:40 pm


i have a picoscope 3204, and have been trying to work out the return values from the get_timebase function. the documentation states:

time_interval, a pointer to the time interval, in time_units,
between readings at the selected timebase. If a null pointer is
passed, nothing will be written here.

time_units, a pointer to the time units that time_interval is
measured in.

now, if i call get_timebase for all values from 0 - 19 for a single channel, the time_interval value starts at 20 and doubles each time as expected. the time_units value however returns 1 for values 0 - 7, indicating ps, and 2 for 8 - 19, indicating ns.

is this a bug? presumably all the time_unit returns should be ns?

Advanced User
Advanced User
Posts: 1705
Joined: Fri Dec 01, 2006 10:03 am
Location: St Neots

Post by ziko » Wed Mar 14, 2007 10:38 am

Hi and thank you for your post.

There is a mistake in the manual, please have a look at the following forum link ... =9691#9691

Kind regards

Technical Specialist

Post Reply