Replies: 1 comment
-
One very strange thing is that the same method of reading from Arduino works in another very similar script. |
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
-
Liad Baruchin’s profile photo
Liad Baruchin
26 May 2022, 09:30:51 (24 hours ago)
to Bonsai Users
Hi,
I am using the attached script. I am using the Serial Port to communicate with Arduino.
GratingOutOfCsvReward.zip
When the script get to the terminal WorkflowOutput node, it simply crashes without any error messages (and consequently the output files are incomplete and impossible to work with.
If I run the script with this part (which uses Serial String Read) commented out, the script ends properly.
(comm1.png)
So I assume that there is some problem with properly closing the Serial Port after reading or something similar.
Has anyone experienced anything similar or can help me with figuring out how to fix it (despite the lack of any useful error message?)
Thanks
Liad
Beta Was this translation helpful? Give feedback.
All reactions