FieldTrip Buffer Server on Neuromag Linux - labp/na-online_ow-toolbox GitHub Wiki
WARNING: Be careful when modifying the production system!
- Create folder
na-onlineandna-online/fieldtripinhome - Get FieldTrip Buffer
- Start
neuromag2ft - May re-compile FieldTrip Buffer respectively
neuromag2ft
-
Prepare Neuromag workstation
cd ~ mkdir na-online mkdir na-online/fieldtrip -
Download FieldTrip code. You may have to do it on another workstation with git!
# Workstation with git cd ~ mkdir na-online_dependencies cd ~/na-online_dependencies git clone https://github.com/fieldtrip/fieldtrip.git # Neuromag workstation cd ~/na-online/fieldtrip scp -r <user>@<git workstation>:~/na-online_dependencies/fieldtrip/realtime ./ -
Start
neuromag2ft, you may have to open a port in the firewall. The following command specifies the port 4217 (same port as MNE Real-time Server)cd ~/na-online/fieldtrip/realtime/src/acquisition/neuromag/bin/x86_64-pc-linux-gnu ./neuromag2ft --bufport 4217 -
Optional: Due to the error
- GLIBC ... not found, FieldTrip Buffer respectivelyneuromag2fthas to be re-compiled on the Neuromag workstation# Compile FieldTrip Buffer cd ~/na-online/fieldtrip/realtime/src/buffer/src make clean make # Compile neuromag2ft cd ~/na-online/fieldtrip/realtime/src/acquisition/neuromag make clean make