We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c98f69 commit e5b7d11Copy full SHA for e5b7d11
experiments/stimulus_process.py
@@ -59,16 +59,16 @@ def get_start_time(self):
59
60
def example_protocol_run(condition_q: mp.Queue):
61
current_trial = None
62
- # dmod_device = DigitalModDevice('Dev1/PFI0')
+ dmod_device = DigitalModDevice('Dev1/PFI0')
63
while True:
64
if condition_q.full():
65
current_trial = condition_q.get()
66
if current_trial is not None:
67
show_visual_stim_img(img_type=current_trial, name='inside')
68
- # dmod_device.toggle()
+ dmod_device.toggle()
69
else:
70
show_visual_stim_img(name='inside')
71
- # dmod_device.turn_off()
+ dmod_device.turn_off()
72
73
if cv2.waitKey(1) & 0xFF == ord('q'):
74
break
0 commit comments