<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.bci2000.org/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Contributions%3AFlexEEG</id>
	<title>Contributions:FlexEEG - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.bci2000.org/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Contributions%3AFlexEEG"/>
	<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:FlexEEG&amp;action=history"/>
	<updated>2026-06-26T01:43:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:FlexEEG&amp;diff=11135&amp;oldid=prev</id>
		<title>Jhill: /* Source Code Revisions */</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:FlexEEG&amp;diff=11135&amp;oldid=prev"/>
		<updated>2024-02-23T21:52:47Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Source Code Revisions&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:52, 23 February 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l19&quot;&gt;Line 19:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 19:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Known to compile under: 7860&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Known to compile under: 7860&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Broken since: --&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Broken since: --&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* Known issues: (as at 7860) The API freezes if you press Set Config more than once per session.  Then you have to physically power-cycle the device before you can connect again.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Functional Description==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Functional Description==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wikidb-bci_:diff:1.41:old-11133:rev-11135:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Jhill</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:FlexEEG&amp;diff=11133&amp;oldid=prev</id>
		<title>Jhill: Created page with &quot;==Synopsis== This source module supports the FlexEEG system made by [https://www.neuroconcise.co.uk/ NeuroCONCISE Ltd]. Its key component is the ADC called &lt;tt&gt;NC_flexXADC&lt;/tt&gt;.  ==Location== http://{{SERVERNAME}}/svn/trunk/src/contrib/SignalSource/FlexEEG  ==Versioning== ===Authors=== Tony Moore, Jeremy Hill  ===Version History=== * Revision r7860 2024-02-23 jhill: first debugged commit  ===Source Code Revisions===  * Initial development: 7855--7860 * Tested under: 7860...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:FlexEEG&amp;diff=11133&amp;oldid=prev"/>
		<updated>2024-02-23T21:47:57Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Synopsis== This source module supports the FlexEEG system made by [https://www.neuroconcise.co.uk/ NeuroCONCISE Ltd]. Its key component is the ADC called &amp;lt;tt&amp;gt;NC_flexXADC&amp;lt;/tt&amp;gt;.  ==Location== http://{{SERVERNAME}}/svn/trunk/src/contrib/SignalSource/FlexEEG  ==Versioning== ===Authors=== Tony Moore, Jeremy Hill  ===Version History=== * Revision r7860 2024-02-23 jhill: first debugged commit  ===Source Code Revisions===  * Initial development: 7855--7860 * Tested under: 7860...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Synopsis==&lt;br /&gt;
This source module supports the FlexEEG system made by [https://www.neuroconcise.co.uk/ NeuroCONCISE Ltd].&lt;br /&gt;
Its key component is the ADC called &amp;lt;tt&amp;gt;NC_flexXADC&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Location==&lt;br /&gt;
http://{{SERVERNAME}}/svn/trunk/src/contrib/SignalSource/FlexEEG&lt;br /&gt;
&lt;br /&gt;
==Versioning==&lt;br /&gt;
===Authors===&lt;br /&gt;
Tony Moore, Jeremy Hill&lt;br /&gt;
&lt;br /&gt;
===Version History===&lt;br /&gt;
* Revision r7860 2024-02-23 jhill: first debugged commit&lt;br /&gt;
&lt;br /&gt;
===Source Code Revisions===&lt;br /&gt;
&lt;br /&gt;
* Initial development: 7855--7860&lt;br /&gt;
* Tested under: 7860 (Windows)&lt;br /&gt;
* Known to compile under: 7860&lt;br /&gt;
* Broken since: --&lt;br /&gt;
&lt;br /&gt;
==Functional Description==&lt;br /&gt;
This source module supports the FlexEEG systems made by [https://www.neuroconcise.co.uk/ NeuroCONCISE Ltd].&lt;br /&gt;
&lt;br /&gt;
For best results, set the &amp;lt;tt&amp;gt;FlexEEGPort&amp;lt;/tt&amp;gt; environment variable to specify the default serial port address for the computer you are using (e.g. &amp;lt;tt&amp;gt;COM9&amp;lt;/tt&amp;gt; on Windows).&lt;br /&gt;
On Windows 11, the dialog that allows you to create or edit environment variables is at: Control Panel-&amp;gt;System and Security-&amp;gt;System-&amp;gt;Advanced system settings-&amp;gt;Environment Variables&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
The &amp;lt;tt&amp;gt;FlexEEG&amp;lt;/tt&amp;gt; source module requires the &amp;lt;tt&amp;gt;flexX64.dll&amp;lt;/tt&amp;gt; dynamic library. This is part of the manufacturer&amp;#039;s API. The file must be placed in the &amp;lt;tt&amp;gt;prog&amp;lt;/tt&amp;gt; directory.   A compiled version of the dynamic library for 64-bit Windows is supplied in the &amp;lt;tt&amp;gt;lib&amp;lt;/tt&amp;gt; subdirectory, and will be copied to prog during the build process.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&lt;br /&gt;
===SampleBlockSize, SamplingRate, SourceCh, SourceChGain, SourceChOffset, TransmitChList===&lt;br /&gt;
&lt;br /&gt;
These parameters are the same as for other BCI2000 source modules. For current devices (as at Feb 2024),&lt;br /&gt;
the &amp;#039;&amp;#039;&amp;#039;SamplingRate&amp;#039;&amp;#039;&amp;#039; should always be either 125 or 250.  The &amp;#039;&amp;#039;&amp;#039;SampleBlockSize&amp;#039;&amp;#039;&amp;#039; must be at least 24 (a&lt;br /&gt;
value of 25 at 250Hz gives you 100ms blocks).  The &amp;#039;&amp;#039;&amp;#039;SourceChOffset&amp;#039;&amp;#039;&amp;#039; values should be all 0 and the&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;SourceChGain&amp;#039;&amp;#039;&amp;#039; values should be all 1 (or both can be left at &amp;quot;auto&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
===PortName===&lt;br /&gt;
&lt;br /&gt;
This is the port on which the headset connects, e.g. &amp;lt;tt&amp;gt;COM9&amp;lt;/tt&amp;gt; on Windows.&lt;br /&gt;
You may lastingly set the default value on a particular computer by configuring a system environment variable called&lt;br /&gt;
&amp;lt;tt&amp;gt;FlexEEGPort&amp;lt;/tt&amp;gt;.&lt;br /&gt;
    &lt;br /&gt;
===AcquisitionMode===&lt;br /&gt;
&lt;br /&gt;
This allows you to switch between normal signal acquisition (code 0), acquiring a square-wave test signal (code 1), or&lt;br /&gt;
shorting the inputs for purposes of offset or noise measurement (code 2).&lt;br /&gt;
&lt;br /&gt;
===DCfilter===&lt;br /&gt;
&lt;br /&gt;
This turns on (1) or off (0) the device&amp;#039;s built-in DC filter.&lt;br /&gt;
&lt;br /&gt;
===Resolution===&lt;br /&gt;
&lt;br /&gt;
This sets the device&amp;#039;s digitization precision to 16-bit (code 1) or 24-bit (code 0).&lt;br /&gt;
&lt;br /&gt;
==States==&lt;br /&gt;
    &lt;br /&gt;
===TODO===&lt;br /&gt;
&lt;br /&gt;
Need a state that reflects the device&amp;#039;s current battery level, and code for periodically querying the device and updating this state.&lt;br /&gt;
&lt;br /&gt;
==Streams==&lt;br /&gt;
&lt;br /&gt;
===Trigger===&lt;br /&gt;
&lt;br /&gt;
Streams the digital trigger channels from the device (this device feature is still under development as at Feb 2024).&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
[[Contributions:ADCs]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributions]][[Category:Data Acquisition]]&lt;/div&gt;</summary>
		<author><name>Jhill</name></author>
	</entry>
</feed>