AllenNeuralDynamics / dynamic-foraging-task

Bonsai/Harp workflow for Dynamic Foraging with Python GUI for visualization and control
MIT License
5 stars 4 forks source link

High Speed Camera turn on is very slow, should provide faster alert to user that its opening #557

Closed alexpiet closed 1 week ago

alexpiet commented 1 week ago

Maybe just the order of operations on changing the Start button color

alexpiet commented 1 week ago

@XX-Yin When starting and stopping the camera, you have a time.sleep(5) command. What is this doing? Can we remove it?

XX-Yin commented 1 week ago

Hi @alexpiet, this is related to delay the logging when starting the camera. The logic is start logging -> delay -> send the camera trigger -> stop camera trigger -> delay -> stop the logging. The delay is very important for the camera to be ready for receiving triggers.