Setting file paths via Bonsai GUI #2115
Replies: 1 comment
-
Hello @jbwallace123! I thought your question would be a good chance to learn more the Bonsai.GUI package which is also new to me. I'm not sure if this is the best way to do it, but I think I achieved what you were looking for. I took inspiration from both https://github.com/orgs/bonsai-rx/discussions/2097 and https://github.com/orgs/bonsai-rx/discussions/2059. I am attaching the full workflow file at the end of this comment but I will just explain what I did (and others can chime in if there is a mistake somewhere). This is how the GUI looks like This sets up the GUI. The *sidenote - I ran into a serious issue with editing text in the textbox which crashes Bonsai. I plan to investigate and raise as a bug/issue but as long as you just type out the name and not edit it, it will be fine. Adding an empty The next part is triggered by a This shows the workflow for the That's it basically, let me know if it works for you and if there are any issues! I have attached the workflow as a zip below. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm a new Bonsai user and am attempting to create a workflow that is easy for many people to use. I'd like to have a very simple text box pop up so that a user could set a filename in the beginning that is than inherited by "CsvWriter" and "VideoWriter". I have attempted to follow the instructions here but I have not had luck within my workflow (pictured below). Does anyone have any insight as to what I may be doing wrong?
I have attempted to have the subscribe subject at the beginning and of each connection (e.g. before
Boolean
) but did not have success either.Any help is appreciated it.
Beta Was this translation helpful? Give feedback.
All reactions