the problem of launching an extended trigger from an example from github

Post your C and C++ discussions here
Post Reply
FanatPico
Newbie
Posts: 0
Joined: Wed May 31, 2023 4:19 am

the problem of launching an extended trigger from an example from github

Post by FanatPico »

64 channelProperties = ps.PS3000A_TRIGGER_CHANNEL_PROPERTIES(adcTriggerLevel,
65 10,
66 adcTriggerLevel,

AttributeError: 'Ps3000alib' object has no attribute 'PS3000A_TRIGGER_CHANNEL_PROPERTIES'

Is it possible to change the example on github to solve that problem? Or is it possible to initialize this trigger in some other way?
Jupyter Notebook development environment with python-3.7.4 version. Oscilloscope 3206B.
Thank you for your attention, I hope for your help.
-->
Good afternoon.
When trying to run the example from github ps3000aStreamingExample.py, an exception occurs:

AttributeError Traceback (most recent call last)
in
62 # set trigger channel properties
63 #handle=chandle
---> 64 channelProperties = ps.PS3000A_TRIGGER_CHANNEL_PROPERTIES(adcTriggerLevel,
65 10,
66 adcTriggerLevel,

AttributeError: 'Ps3000alib' object has no attribute 'PS3000A_TRIGGER_CHANNEL_PROPERTIES'

Is it possible to change the example on github to solve that problem? Or is it possible to initialize this trigger in some other way?
Jupyter Notebook development environment with python-3.7.4 version. Oscilloscope 3206B.
Thank you for your attention, I hope for your help.