Test and Measurement Forum

Timebase 0

Post general discussions on using our drivers to write your own software here

Timebase 0

Postby IonutGorgos » Fri Jun 17, 2016 9:39 pm

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
IonutGorgos
Newbie
 
Posts: 0
Joined: Tue Jun 14, 2016 2:10 pm

Re: Timebase 0

Postby Martyn » Sat Jun 18, 2016 6:32 am

Make sure you specifically disable all the channels you do not wish to use. The driver will have them enabled by default.
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2280
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Timebase 0

Postby IonutGorgos » Thu Jun 23, 2016 11:30 am

Hi,

Nope the problem still exists.

probl.PNG
timebase
IonutGorgos
Newbie
 
Posts: 0
Joined: Tue Jun 14, 2016 2:10 pm

Re: Timebase 0

Postby Martyn » Thu Jun 23, 2016 1:32 pm

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 Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2280
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Timebase 0

Postby IonutGorgos » Thu Jun 23, 2016 6:54 pm

Hi,

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


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


Return to General Software Discussions

Who is online

Users browsing this forum: No registered users and 0 guests