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
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?