Automated Tether Commutation ============================ .. note:: Following this tutorial requires a 3D capable headstage, an Open Ephys SPI commutator, and a 3D capable data acquisition system (e.g. a Gen 3 Acquisition Board). Most acquisition systems rely on a tether to transmit power and data between the headstage and the data acquisition system. This can be problematic during freely behaving experiments because the animal is liable to twist and tangle the tether while it moves around which can end up exerting torque on the animal. This is mitigated by using a commutator, a device that untwists the tether as the animal moves around while maintaining electrical continuity between the animal and data acquisition system. This encourages more naturalistic behaviors. This tutorial demonstrates how to automate commutation using an Open Ephys Acquisition Board, the Open Ephys GUI, a 3D-capable headstage, and an Open Ephys SPI commutator. Connect the Acquisition Board and the Commutator ################################################### #. Refer to the :doc:`/Hardware-Guide/Cables` page to make the following acquisition board connections: - USB 3.0 connection between the acquisition board and the PC. - +5V connection between the acquisition board and an AC power source. #. Follow the `SPI Commutator Connections section `__ of the commutator docs to make the following commutator connections: - SPI connection between the commutator's stator and the acquisition board. - SPI connection between the commutator's rotor and the 3D capable headstage. - USB connection between the commutator and the PC. Build the Signal Chain for the Open Ephys GUI ############################################## #. `Install the Open Ephys GUI `_ if you haven't already. #. Open the GUI. .. note:: - If this is your first time opening the GUI, you will be queried to load a default signal chain. Choose the "Acquisition Board" signal chain. - If the Open Ephys GUI already has a signal chain loaded you would like to keep, make sure to `save it `_ before proceeding because the next steps overwrite the current signal chain. #. Download the following :download:`signal chain `: .. image:: /_static/images/tutorials/acq-board-commutator-signal-chain.png :alt: Acquisition Board Signal Chain for commutation #. `Open `_ the downloaded signal chain in the GUI. .. tip:: After opening the signal chain, confirm that "IMU" occupies one of the slots in headstage port indicator in the Acquisition Board processor. If "IMU" does not occupy one of those slots, the acquisition board did not detect a 3D-capable device. #. Refer to `Commutator Control plugin page `_ to configure the Commutator Control processor. - Select the COM port to which your commutator is connected. - Selected the stream that has the 3D capable headstage you want to use to drive your commutator, if not the default. - Keep the rotation axis at +Z. For an off-the-shelf Open Ephys 3D capable headstage, adjusting this is not necessary. #. Click the ▶ play button in the top-right corner of the GUI. The commutator should now follow the rotation of the headstage around the axis of the tether. .. raw:: html
#. Continue `building the signal chain `_ with the plugins you need to get the functionality you want.