Workflow Tutorial#

Note

An Open Ephys Coaxial Commutator is necessary for this workflow

  1. Download the following workflow (.bonsai file) and open it with Bonsai:

    uclaminiscopev4-miniscopedaq-commutate.bonsai
    uclaminiscopev4-miniscopedaq-commutate
  2. Set the UCLAMiniscopeV4 operator’s Index property to the value that corresponds to the index of your miniscope.

    screenshot of ucla miniscope v4 node properties for index
    1. Set the Index value by clicking on the ... dropdown available at the Index field that appears in the Properties pane after left-clicking the UCLAMiniscopeV4 node.

    2. Click Scan and choose from one of the indices that appear. This might take time if many physical or virtual camera devices are connected to your computer.

    3. Click Ok.

    Note

    If there are multiple miniscopes connected to your PC (including laptop webcams), finding the correct index value might involve an iterative trial-and-error process. Try starting the workflow now [1] to confirm the selected index is correct.

  3. Set the COM port associated with your commutator in the workflow

    • Left-click the AutoCommutator node and set the PortName property under the Properties pane to match the port that corresponds to your commutator.

    • Confirm the RotationAxis is search

  4. Set the commutator to rotate around the correct axis

    • Left-click the AutoCommutator node and set the RotationAxis property under the Properties pane to “0, 0, 1”.

    Note

    If you are uncertain about which COM port corresponds to your commutator, follow these instructions:

    1. Open Window’s Device Manager.

    2. Unplug the commutator, and plug it back in. Observe which COM port disappears and appears in device manager when doing so - that is the COM port associated with your commutator. If the commutator does not appear in device manager, follow these instructions