[Python][PS3206D MSO] measurements with digital channels

Post general discussions on using our drivers to write your own software here
Post Reply
marcAC
Newbie
Posts: 0
Joined: Tue Sep 17, 2019 8:00 am

[Python][PS3206D MSO] measurements with digital channels

Post by marcAC » Tue Sep 17, 2019 8:04 am

Hello everyone,

we are currently trying to figure out how to set triggers and take measurement values with the digital channels of the PicoScope 3206D MSO after we already did it with the analog channels.

Are there any working examples for doing this?

Kind regards
Marc

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

Re: [Python][PS3206D MSO] measurements with digital channels

Post by NeilH » Tue Sep 17, 2019 8:15 am

Hi Marc

We don't currently have any examples showing triggering on a digital channel in python for the 3000a driver but there is a example using the 2000a driver, ps2000aMSOBlockExample.py, and the commands are nearly identical between the two drivers.

To trigger with a digital channel, the advance trigger functions need to be used, these are detailed in the programmer's guide https://www.picotech.com/download/manuals/picoscope-3000-series-a-api-programmers-guide.pdf

Neil
Neil
Technical Support Engineer

marcAC
Newbie
Posts: 0
Joined: Tue Sep 17, 2019 8:00 am

Re: [Python][PS3206D MSO] measurements with digital channels

Post by marcAC » Tue Sep 17, 2019 8:49 am

Hey Neil,

thanks for your fast reply.

Do you mean this example? If not where can I find the one you mean, if yes what about this example, it seems to be for the PicoScope 3000?

Marc

marcAC
Newbie
Posts: 0
Joined: Tue Sep 17, 2019 8:00 am

Re: [Python][PS3206D MSO] measurements with digital channels

Post by marcAC » Wed Sep 18, 2019 7:35 am

marcAC wrote:
Tue Sep 17, 2019 8:49 am
Hey Neil,

thanks for your fast reply.

Do you mean this example? If not where can I find the one you mean, if yes what about this example, it seems to be for the PicoScope 3000?

Marc
So I took the second mentioned example and copied the part of the digital trigger from the PS2000-example into it, after that I copied the missing classes and enums out of ps2000a.py to ps3000a.py and I don't get any errors any more. But when I try to run it, the programm doesn't wait for the trigger and instead just collects the data directly.

Does someone know why it doesn't work this way?

Kind regards
Marc

Post Reply