neurogears / vestibular-vr

Closed-loop VR setup for Rancz Lab
2 stars 0 forks source link

ONIX failure after NewScale runtime error #43

Closed RoboDoig closed 3 months ago

RoboDoig commented 4 months ago

The purpose of this issue for now is to keep a record of an observed bug.

Workflows containing the NstDevice operator can produce a runtime error if no NewScale device is connected. It seems that this error also interferes with initialisation of ONIX components by Bonsai and causes the ONIX device to end up in a weird state which crashes when the workflow is reset. The hardware can be reset by running the oni-repl program.

Can't really do anything about this until the ONIX Bonsai interface is updated. For now need to make sure NewScale is connected before starting any workflows with ONIX components.

EleonoraAmbrad commented 4 months ago

good idea to open this issue!

could you remind me whether the liboni repo that you used was the one we had backed up from the previous computer or if you had to build the solution on visual code starting from the newly downloaded repo? I think I missed that yesterday. Thanks!

RoboDoig commented 3 months ago

In the end I did not use the backed up liboni folder. I cloned the repo and built the oni-repl.exe from source.

Closing this issue in favor of #45