Setup Guide for Windows#

Insert the PCIe Host Module#

  1. Power off the computer.

  2. Plug the PCIe host board into an available PCIe slot

    ../../_images/PCIE_PC_side.jpg

    Important

    Although the board will power on without it, you must plug a single PCIe power output from the computer’s ATX power supply into the board to ensure stable operation.

  3. Boot the computer.

  4. The RGB LED in the center of the module should be blue.

    Note

    The RGB LED has three color states.

    • Blue: Ready to go.

    • Yellow: Acquisition stopped.

    • Pink: Acquisition running.

Disable Secure Boot#

  1. Navigate to your BIOS

  2. Turn off Secure Boot (Under ‘Boot’ change OS type to ‘Other OS’)

Put Windows In Testing Mode#

Note

As of this writing, the ONIX driver is not digitally signed by Microsoft, but in a developer testing phase. Following the conclusion of the beta-test period, we will complete this process and the following steps will not be required.

  1. Download the OpenEphysTestDriver.cer testing certificate and double click it.

  2. On the resulting dialog, select Install Certificate.

    ../../_images/install-certificate.png
  3. It is recommended to select Current User certificate storage option.

    ../../_images/certificate-import-current-user.png
  4. For ease of management, it is recommended to manually select a certificate storage and chose Personal.

    ../../_images/certificate-import-personal-storage.png
  5. Open the Windows Start Menu and type cmd to find the command prompt application. Right click it and chose Run as Administrator.

    ../../_images/cmd-run-as-admin.png
  6. Execute the following command: bcdedit /set testsigning on

    ../../_images/windows-test-mode-command.png
  7. Restart the computer.

    Note

    A regular reboot (‘restart’) is required. A complete power cycle (turning the PC off completely) may not set the option.

  8. You should see now some text at the bottom right of the Desktop indicating that Windows is operating in testing mode:

    ../../_images/windows-test-mode-text.png

    Note

    The computer will keep the test state until you run bcdedit /set testsigning off in an administrator command prompt again and reboot the computer

Install C++ Runtime#

Windows does not ship with a C++ runtime. Before using ONIX on windows, you will need to install Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019.

Install Device Driver#

Warning

Pre-built drivers target 64-bit Windows 10. Other targets will need to be compiled from source.

  1. Download the latest riffa driver and unzip the archive.

  2. In the extracted folder, right click the riffa.inf file. Select install from the context menu.

  3. Open the start menu and type device manager and click to open. You shoul see RIFFA in the device tree.

    ../../_images/package-manager-riffa.png

Install ONIX Bonsai Library#

  1. If you don’t have Bonsai on your computer, visit https://bonsai-rx.org/ and install the latest release.

  2. Open Bonsai. At the start menu, select Manage Packages.

    ../../_images/bonsai-start-menu.png
  3. Select Community Packages as the package source.

  4. Search for Bonsai.ONIX.

  5. Install Bonsai.ONIX.Design. This packages will install both the core library and visualization tools.

Using Bonsai#

  1. New to Bonsai? The Getting Started page lists resources for learning Bonsai.

  2. Navigate to Bonsai.ONIX for a high-level overview and list of compatible devices. Click on any listed device in the left-hand navigation menu to view an example workflow using that device.

  3. Example Workflows demonstrate specific ONIX use cases, such as tuning closed-loop latency or acquiring from headstages.