Differences
This shows you the differences between two versions of the page.
reference:ft_realtime_modeegproxy [2018/08/23 14:43] |
reference:ft_realtime_modeegproxy [2018/08/23 14:43] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== FT_REALTIME_MODEEGPROXY ===== | ||
+ | |||
+ | Note that this reference documentation is identical to the help that is displayed in MATLAB when you type "help ft_realtime_modeegproxy". | ||
+ | |||
+ | <html><pre> | ||
+ | <a href=/reference/ft_realtime_modeegproxy><font color=green>FT_REALTIME_MODEEGPROXY</font></a> reads continuous data from a modeeg EEG acquisition system | ||
+ | through the serial port or through BlueTooth and writes it to a FieldTrip buffer. | ||
+ | |||
+ | The FieldTrip buffer is a network transparent server that allows the acquisition | ||
+ | client to stream data to it. An analysis client can connect to read the data upon | ||
+ | request. Multiple clients can connect simultaneously, each analyzing a specific | ||
+ | aspect of the data concurrently. | ||
+ | |||
+ | Use as | ||
+ | ft_realtime_modeegproxy(cfg) | ||
+ | |||
+ | The configuration should contain | ||
+ | cfg.filename = string, name of the serial port (default = '/dev/tty.FireFly-B106-SPP') | ||
+ | cfg.feedback = 'yes' or 'no' (default = 'no') | ||
+ | cfg.blocksize = number, in seconds (default = 0.125) | ||
+ | |||
+ | The target to write the data to is configured as | ||
+ | cfg.target.datafile = string, target destination for the data (default = 'buffer://localhost:1972') | ||
+ | cfg.target.dataformat = string, default is determined automatic | ||
+ | |||
+ | To stop this realtime function, you have to press Ctrl-C | ||
+ | |||
+ | See also <a href=/reference/ft_realtime_signalproxy><font color=green>FT_REALTIME_SIGNALPROXY</font></a>, <a href=/reference/ft_realtime_signalviewer><font color=green>FT_REALTIME_SIGNALVIEWER</font></a> | ||
+ | </pre></html> | ||