Skip to content

open-ephys/bonsai-onix1

Repository files navigation

Onix1 Bonsai Library

Bonsai library for the Open Ephys Onix Acquisition System.

Run in Visual Studio 2022

  1. Double click the Setup.cmd file in the .bonsai folder. This will install a portable version of Bonsai in the folder along with its required packages.
  2. Open OpenEphys.Onix1.sln in Visual Studio (Community Edition is fine).
  3. Select which project to compile and run Bonsai against.
    • OpenEphys.Onix1: core library (No GUI elements will be loaded)
    • OpenEphys.Onix1.Design: core library and GUI elements
  4. Press the Play button to
    • Compile the library selected in step 3
    • Run the Bonsai application installed in step 1
    • Instruct Bonsai to load the compiled library

Select which library to compile

Enable debugging

Enable child process debugging

  1. Download and install Microsoft Child Process Debugging Power Tool 2022.
  2. Navigate to child process debugging settings.
  3. Check Enable child process debugging.
  4. Click Save.

Child process debugging

Enable native code debugging

  1. Navigate to debug properties.
  2. Check Enable native code debugging.

Enable native code debugging