Replies: 2 comments
-
Hmm unfortunately I do not know of a better way of stopping the program. I have also faced the same issue as you and have used these 2 workarounds but they may not fit your needs:
Other than those, I think the most programmatic way is to wrap up the stimulus logic and have a post experiment reset. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone. The way that I am currently using Bonsai is to start and stop the workflow via the green triangle / red square at the top left on the screen. I'm using the start of bonsai to trigger another program that is doing most of the primary data collection, and am using bonsai to time some external stimuli. The problem I am having is that all of these digital pins from Bonsai remain HIGH if I happen to stop the program when in the middle of the stimulus loop. Is there a convenient / programmatic way to set all digital outputs to LOW when the workflow is stopped using the red square? Alternatively, is there a different way I should be stopping the program? I am [significantly more] familiar with LabVIEW and there's several ways of achieving this, some better practice than others, but I am having trouble finding an equivalent to any of them. Thank you
Beta Was this translation helpful? Give feedback.
All reactions