Skip to content

Commit e5b7d11

Browse files
committed
Restored stimulus process laser
1 parent 0c98f69 commit e5b7d11

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

experiments/stimulus_process.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,16 +59,16 @@ def get_start_time(self):
5959

6060
def example_protocol_run(condition_q: mp.Queue):
6161
current_trial = None
62-
# dmod_device = DigitalModDevice('Dev1/PFI0')
62+
dmod_device = DigitalModDevice('Dev1/PFI0')
6363
while True:
6464
if condition_q.full():
6565
current_trial = condition_q.get()
6666
if current_trial is not None:
6767
show_visual_stim_img(img_type=current_trial, name='inside')
68-
# dmod_device.toggle()
68+
dmod_device.toggle()
6969
else:
7070
show_visual_stim_img(name='inside')
71-
# dmod_device.turn_off()
71+
dmod_device.turn_off()
7272

7373
if cv2.waitKey(1) & 0xFF == ord('q'):
7474
break

0 commit comments

Comments
 (0)