diff --git a/iblrig/base_choice_world.py b/iblrig/base_choice_world.py index 4597b6b2d..a918863ad 100644 --- a/iblrig/base_choice_world.py +++ b/iblrig/base_choice_world.py @@ -214,8 +214,7 @@ def get_state_machine_trial(self, i): sma.add_state( state_name="trial_start", state_timer=0, - # state_change_conditions={"Port1In": "delay_initiation"}, - state_change_conditions={"Tup": "delay_initiation"}, + state_change_conditions={"Port1In": "delay_initiation"}, output_actions=[("SoftCode", SOFTCODE.TRIGGER_CAMERA), ("BNC1", 255)], ) # start camera sma.add_state( diff --git a/iblrig/base_tasks.py b/iblrig/base_tasks.py index fccd29647..26141583c 100644 --- a/iblrig/base_tasks.py +++ b/iblrig/base_tasks.py @@ -629,6 +629,7 @@ def softcode_handler(code): Soft codes should work with resasonable latency considering our limiting factor is the refresh rate of the screen which should be 16.667ms @ a framerate of 60Hz """ + print(code) if code == 0: self.sound['sd'].stop() elif code == 1: