Change timebase block mode

Post your MATLAB discussions here
Post Reply
SG95
Newbie
Posts: 0
Joined: Tue Nov 26, 2019 10:04 am

Change timebase block mode

Post by SG95 »

hi,

can someone explain me how to change the databaseindex for block mode? i already tryed to change timebaseindex to zero here(and also disabled channels B to D so that only one channel is active) -> set(ps3000aDeviceObj, 'timebase', timebaseIndex); but i keep getting errors.

best regards
Attachments
timebase_error.PNG

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

Re: Change timebase block mode

Post by NeilH »

Hi

Have you tried passing 0 to the GetTimebase2 function and seen what the result it?
What device do you have?
What are you trying to do?

Neil
Neil
Technical Support Engineer

SG95
Newbie
Posts: 0
Joined: Tue Nov 26, 2019 10:04 am

Re: Change timebase block mode

Post by SG95 »

I use the PS3406D MSO. I've tried to pas 0 to GetTimebase2 but it doesnt work either. am i wrong that you can change the sample ratio in this line: set(ps3000aDeviceObj, 'timebase', 0); where 0 is the timebaseindex you chose?

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

Re: Change timebase block mode

Post by NeilH »

The return from the GetTimebase2 function should tell you if the timebase you passed is a valid timebase for how the scope is currently set up.

To set the timebase you do use the set(ps3000aDeviceObj, 'timebase', 0); line.
Neil
Technical Support Engineer

Post Reply