Timebase 0

Post general discussions on using our drivers to write your own software here
Post Reply
IonutGorgos
Newbie
Posts: 0
Joined: Tue Jun 14, 2016 2:10 pm

Timebase 0

Post by IonutGorgos »

Hi,

Currently I'm writing a Python script using Pico-Python wrapper, but the problem is I can't set the sample interval = 200 ps ( 5GS/s ). I only enabled the channel A , so it should be working. (in Picosoftware is working)

Same problem when I try to set the sample interval = 400 ps ( timebase = 1) with the channel A enabled, or the channels A and C enabled.

In both cases the error is: "PICO_INVALID_TIMEBASE", "The timebase is not supported or is invalid."

I have PicoScope 6404D.

Any ideas?

Thanks

Martyn
Site Admin
Site Admin
Posts: 4491
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Timebase 0

Post by Martyn »

Make sure you specifically disable all the channels you do not wish to use. The driver will have them enabled by default.
Martyn
Technical Support Manager

IonutGorgos
Newbie
Posts: 0
Joined: Tue Jun 14, 2016 2:10 pm

Re: Timebase 0

Post by IonutGorgos »

Hi,

Nope the problem still exists.
timebase
timebase

Martyn
Site Admin
Site Admin
Posts: 4491
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Timebase 0

Post by Martyn »

Can you post your code, then we can take a look at the use of the ps6000SetChannel API call, it will need to be called four times.
Martyn
Technical Support Manager

IonutGorgos
Newbie
Posts: 0
Joined: Tue Jun 14, 2016 2:10 pm

Re: Timebase 0

Post by IonutGorgos »

Hi,

I find the problem. My bad. I was calling setSampleInterval() method ( ._lowLevelGetTimebase() ) before the setChannel method. Now it is working.


Thanks,
Martyn

Post Reply