ps2000_get_timebase2

Post general discussions on using our drivers to write your own software here
Post Reply
TimOster
Newbie
Posts: 0
Joined: Mon Dec 01, 2014 5:36 pm

ps2000_get_timebase2

Post by TimOster »

What is the difference between this function and ps2000_get_timebase? They both contain the same parameters.

Thanks.

NeilH
PICO STAFF
PICO STAFF
Posts: 260
Joined: Tue Jul 18, 2017 8:28 am

Re: ps2000_get_timebase2

Post by NeilH »

Hi

Usually getTimebase2 returns the time interval as a float type number rather than a 32 bit integer type, though the PS2000 driver doesn't have a documented ps2000_get_timebase2 API function.

Where did you find this function?
Neil
Technical Support Engineer

TimOster
Newbie
Posts: 0
Joined: Mon Dec 01, 2014 5:36 pm

Re: ps2000_get_timebase2

Post by TimOster »

It is used in the example program for block mode.

NeilH
PICO STAFF
PICO STAFF
Posts: 260
Joined: Tue Jul 18, 2017 8:28 am

Re: ps2000_get_timebase2

Post by NeilH »

Hi

Which programming language are you using?
Neil
Technical Support Engineer

TimOster
Newbie
Posts: 0
Joined: Mon Dec 01, 2014 5:36 pm

Re: ps2000_get_timebase2

Post by TimOster »

vb.net

NeilH
PICO STAFF
PICO STAFF
Posts: 260
Joined: Tue Jul 18, 2017 8:28 am

Re: ps2000_get_timebase2

Post by NeilH »

Hi

I've looked through the vb.net examples from our github page and I can't find a ps2000_get_timebase2

Would you be able to post either a screenshot or a code snippet with a few line either side of this function so I can see where it is?

Neil
Neil
Technical Support Engineer

TimOster
Newbie
Posts: 0
Joined: Mon Dec 01, 2014 5:36 pm

Re: ps2000_get_timebase2

Post by TimOster »

My bad, it was in the following programming guide: ps2000apg.en r10, page 36.

NeilH
PICO STAFF
PICO STAFF
Posts: 260
Joined: Tue Jul 18, 2017 8:28 am

Re: ps2000_get_timebase2

Post by NeilH »

No problem

The 2000 programmer's guide is for the 2204A and the 2205A while the 2000A programmer's guide is for all other current 2000 series scopes
Neil
Technical Support Engineer

Post Reply