File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 101101assert_pico_ok (status ["SetDataBuffers" ])
102102
103103# set the digital trigger for a high bit on digital channel 0
104- conditions = ps .PS5000A_CONDITIONS (ps .PS5000A_CHANNEL ["PS5000A_DIGITAL_PORT0" ], ps .PS5000A_TRIGGER_STATE ["PS5000A_CONDITION_TRUE" ])
104+ conditions = ps .PS5000A_CONDITION (ps .PS5000A_CHANNEL ["PS5000A_DIGITAL_PORT0" ], ps .PS5000A_TRIGGER_STATE ["PS5000A_CONDITION_TRUE" ])
105105nConditions = 1
106106clear = 1
107107add = 2
119119 nDirections )
120120assert_pico_ok (status ["setTriggerDigitalPortProperties" ])
121121
122+ # set autotrigger timeout value
123+ status ["autoTriggerus" ] = ps .ps5000aSetAutoTriggerMicroSeconds (chandle , 10000 )
124+ assert_pico_ok (status ["autoTriggerus" ])
125+
122126print ("Starting data collection..." )
123127
124128# Starts the block capture
You can’t perform that action at this time.
0 commit comments