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 » Tue Jul 24, 2018 4:16 pm

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

Thanks.

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

Re: ps2000_get_timebase2

Post by NeilH » Wed Jul 25, 2018 9:33 am

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 » Tue Jul 31, 2018 4:37 pm

It is used in the example program for block mode.

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

Re: ps2000_get_timebase2

Post by NeilH » Wed Aug 01, 2018 6:42 am

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 » Wed Aug 01, 2018 5:21 pm

vb.net

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

Re: ps2000_get_timebase2

Post by NeilH » Thu Aug 02, 2018 7:44 am

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 » Fri Aug 03, 2018 2:58 pm

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

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

Re: ps2000_get_timebase2

Post by NeilH » Mon Aug 06, 2018 9:43 am

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