ps3000_get_timebase oddness

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

ps3000_get_timebase oddness

Post by kreuters »

hello

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?

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

Post by ziko »

Hi and thank you for your post.

There is a mistake in the manual, please have a look at the following forum link

http://www.picotech.com/support/viewtop ... =9691#9691

Kind regards
Ziko

Technical Specialist

Post Reply