I am writing a python acquisition script for a 5444D picoscope with the ps5000a library.
I would like to use the ps5000aGetTriggerInfoBulk function, and I need to use the structure PS5000A_TRIGGER_INFO, but I get an error at runtime:
'Ps5000alib' object has no attribute 'PS5000A_TRIGGER_INFO'
This is my code :
Code: Select all
trig_status=0 segment_index=0 trigger_index=0 trigger_time=0 time_units=0 times_stamp_counter=0 trigger_info=ps.PS5000A_TRIGGER_INFO(trig_status, segment_index, trigger_index, trigger_time, time_units, 0, times_stamp_counter)
So, how can I use this object to pass it into the ps5000aGetTriggerInfoBulk function ?