Python SDK - Drop out Triggering

Post general discussions on using our drivers to write your own software here
Post Reply
pidancb
Newbie
Posts: 0
Joined: Thu Mar 04, 2021 8:59 am

Python SDK - Drop out Triggering

Post by pidancb »

Hello,

I am using a Picoscope PS5000A Series, and I would like to perform a drop-out trigger.

According to the Programmer's Guide:
The pulse width, delay and drop-out triggering methods additionally require the use of the pulse width
qualifier functions:
· ps5000aSetPulseWidthQualifierProperties
· ps5000aSetPulseWidthQualifierConditions
· ps5000aSetPulseWidthQualifierDirections


The problem is that i can not find any of these 3 API functions in the ps5000A library. I only have access to the obsolete function (according to the Programmer's guide) named "ps5000aSetPulseWidthQualifier".

And I cannot even use this one because I should used PS5000A_PWQ_CONDITIONS which is also missing...

Is there someone that has already used this kind of advanced triggering ? Or has an idea about my problem ?

Thanks :)

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

Re: Python SDK - Drop out Triggering

Post by NeilH »

Hi

I have updated the python repository so that both the new and old methods for pulse width qualified advanced triggers should now be possible.

Neil
Neil
Technical Support Engineer

pidancb
Newbie
Posts: 0
Joined: Thu Mar 04, 2021 8:59 am

Re: Python SDK - Drop out Triggering

Post by pidancb »

Thank you very much for the quick fix !

For information, ps5000a.py contains a small missprint :

File "C:\Users\Administrator\.platformio\python27\Lib\site-packages\picosdk\ps5000a.py", line 957
<<<<<<< HEAD
^
SyntaxError: invalid syntax

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

Re: Python SDK - Drop out Triggering

Post by NeilH »

That's all fixed in the repo now

Neil
Neil
Technical Support Engineer

Post Reply