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

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.