Olimex OpenEEG: Difference between revisions

From Polyphasic Sleep Wiki
No edit summary
No edit summary
Line 103: Line 103:
Run <code>sude dmesg -w</code> and plug in your device. This will help you identify the correct port (e.g. ttyUSB0).
Run <code>sude dmesg -w</code> and plug in your device. This will help you identify the correct port (e.g. ttyUSB0).


Navigate to the <code>build/</code> directory of OpenViBE, then run <code>./bin/openvibe-designer</code>. Click Driver Properties, set Number of channels to 2, and set Device to the port you identified earlier (e.g. ttyUSB0).  
Navigate to the <code>build/</code> directory of OpenViBE, then run <code>./bin/openvibe-acquisition-server</code>. Click Driver Properties, set Number of channels to 2, and set Device to the port you identified earlier (e.g. ttyUSB0).  


You may also want to add your user to the <code>uucp</code> group and reboot to ensure proper permissions (<code>sudo usermod -a -G uucp <username></code>).
You may also want to add your user to the <code>uucp</code> group and reboot to ensure proper permissions (<code>sudo usermod -a -G uucp <username></code>).
Line 127: Line 127:
==== Running OpenViBE ====
==== Running OpenViBE ====


To record your sleep, enter the <code>build/</code> directory of OpenViBE. Then, run <code>./bin/openvibe-designer</code>. Press Connect and Play. Then, use another terminal tab to run  
To record your sleep, enter the <code>build/</code> directory of OpenViBE and run <code>./bin/openvibe-acquisition-server</code>. In the Acquisition server window, click Connect, then Play.  
 
Next, use another terminal tab to run <code>./bin/openvibe-designer</code>. In the Designer window, click the Play button to start recording. You should see the signal being captured in real time.
 
Do not unplug the device while recording, as this may cause the program to hang.
 
When you're finished:
1. Press Stop in the Designer window.
2. Then press Stop and Disconnect in the Acquisition Server window.
 
After that, you can navigate to the folder you selected earlier to save your recordings. You’ll find the raw sleep data files there.


=== MacOS ===
=== MacOS ===