<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.bci2000.org/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Eaarnoutse</id>
	<title>BCI2000 Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.bci2000.org/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Eaarnoutse"/>
	<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php/Special:Contributions/Eaarnoutse"/>
	<updated>2026-06-09T09:15:37Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:MicromedADC&amp;diff=5825</id>
		<title>Contributions:MicromedADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:MicromedADC&amp;diff=5825"/>
		<updated>2010-10-06T07:23:38Z</updated>

		<summary type="html">&lt;p&gt;Eaarnoutse: /* MicromedCondition */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
This module can be used to read data sent over TCP/IP from a Micromed acquisition unit running SystemPLUS Rev. 1.02.1056.&lt;br /&gt;
&lt;br /&gt;
==Location==&lt;br /&gt;
http://{{SERVERNAME}}/svn/trunk/src/contrib/SignalSource/Micromed&lt;br /&gt;
&lt;br /&gt;
==Versioning==&lt;br /&gt;
===Author===&lt;br /&gt;
Erik J. Aarnoutse&lt;br /&gt;
Rudolf Magnus Institute, UMC Dept. Psychiatry, Utrecht, The Netherlands&lt;br /&gt;
May 19, 2006&lt;br /&gt;
===Version History===&lt;br /&gt;
V0.01 - 19/04/2006 - First working version, based on Neusoscan.exe&lt;br /&gt;
&lt;br /&gt;
V0.02 - 08/05/2006 - Added condition testing, 22bit mode and downsampling&lt;br /&gt;
&lt;br /&gt;
V0.03 - 17/05/2006 - Added notchfilter&lt;br /&gt;
&lt;br /&gt;
V0.04 - 19/09/2006 - Added digital trigger packets, changed note packet&lt;br /&gt;
&lt;br /&gt;
V0.05 - 27/11/2006 - Added Priority, fixed digital trigger code&lt;br /&gt;
&lt;br /&gt;
V0.06 - 13/03/2007 - Added note output in textfile&lt;br /&gt;
&lt;br /&gt;
V0.07 - 04/04/2007 - Added error handling: server shuts down if stalling&lt;br /&gt;
&lt;br /&gt;
V2.00 - 29/06/2008 - Updated for BCI2000 v2.0&lt;br /&gt;
&lt;br /&gt;
===Source Code Revisions===&lt;br /&gt;
(In this section, indicate the BCI2000 source code revisions (changesets) &lt;br /&gt;
that you used when developing your contribution, and information about &lt;br /&gt;
testing/compilation. Adapt the list to your own needs. &lt;br /&gt;
Hint: You obtain the revision of a source code repository by &lt;br /&gt;
right-clicking its top level directory, and choosing &amp;quot;show log&amp;quot; from the &lt;br /&gt;
TortoiseSVN submenu.)&lt;br /&gt;
*Initial development: 1126&lt;br /&gt;
*Tested under: 1126&lt;br /&gt;
*Known to compile under: 2040&lt;br /&gt;
*Broken since: --&lt;br /&gt;
&lt;br /&gt;
==Functional Description==&lt;br /&gt;
The BCI source module that receives the data from the acquisition is the server, so it must be in listening mode before the acquisition unit starts to save data (data is sent only during recording). Micromed sends 64 data packets per second for SD, 32 for LTM. The connection is reset if the computer running BCI2000 is too slow to read all packets. This happens gracefully in version 2.0. Make sure you have SystemPlus 1.02.1091 or higher, in this version Micromed also gracefully closes the TCP/IP connection at BCI2000 errors.&lt;br /&gt;
A packet of data is structured in 2 sections the first is the header and the second is information data. The first packet sent from the client is the header of an EEG Micromed trace and is read for condition checking. If a note is added in SystemPLUS it is sent as a note packet to the source module. If a digital trigger is sent the trigger code is sent to the source module in two ways: the complete code and a bitmasked code. This allows to send information on a condition (eg in SIGFRIED) and extra information for offline analysis.&lt;br /&gt;
The header packet and the data packets are in the same format as in a Micromed trace file. The note packet sends the complete note buffer, and written in a textfile with the Micromed Sample Number.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
To activate data transfer via TCP, it is necessary to add 3 registry keys on the acquisition unit under &amp;lt;tt&amp;gt;HKEY_CURRENT_USER\Software\VB and VBA Program Settings\Brain Quick - System 98\EEG_Settings&amp;lt;/tt&amp;gt;:&lt;br /&gt;
#&amp;quot;tcpSendAcq&amp;quot; is a string type key which must be set to &amp;quot;1&amp;quot; to activate data transfer via TCP, and to &amp;quot;0&amp;quot; to deactivate it&lt;br /&gt;
#&amp;quot;tcpServerName&amp;quot; is a string type key that represents the IP address of the computer to receive EEG data.&lt;br /&gt;
#&amp;quot;tcpPortNumber&amp;quot; is a string type key that represents the port number used (e.g., &amp;quot;5000&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===NotchFilter===&lt;br /&gt;
Power line notch filter.&lt;br /&gt;
*0: disabled,&lt;br /&gt;
*1: at 50 Hz,&lt;br /&gt;
*2: at 60 Hz&lt;br /&gt;
===SampleBlockSize===&lt;br /&gt;
The number of samples transmitted at a time in the BCI2000 system. If SampleBlockSize is a multiple of SamplingRate/64, data packets are merged. This way the BCI system can run on less than 64 sampleblocks per second, which saves CPU power.&lt;br /&gt;
===SamplingRate===&lt;br /&gt;
The sample rate set by the acquisition unit.&lt;br /&gt;
===ServerAddress===&lt;br /&gt;
Address and port of the BCI Server. You can enter &amp;quot;*:5000&amp;quot; if your port number is 5000. This means that the server listens to all IP addresses, localhost and external. The port number can be set in the acquisition unit by changing the registry setting &amp;quot;tcpPortNumber&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Packet Rate===&lt;br /&gt;
Number of TCP/IP packets per second: 32 for LTM,64 for SD&lt;br /&gt;
===SignalType===&lt;br /&gt;
Numeric type of output signal:&lt;br /&gt;
*0: int16,&lt;br /&gt;
*3: int32. &lt;br /&gt;
Other values are not allowed. Use 0 for Micromeds 16 bit mode, 3 for 22 bit mode: only the first 22 bits are used, but data packets are filled with 32 bit integers.&lt;br /&gt;
===Condition Mask===&lt;br /&gt;
Bitmask. Digital trigger code AND Condition Mask equals conditions without extra information. When not used, set to 0xFF.&lt;br /&gt;
&lt;br /&gt;
===Priority===&lt;br /&gt;
CPU Priority. Default=1, set higher if the CPU load is too heavy.&lt;br /&gt;
===SourceCh===&lt;br /&gt;
The number of digitized and stored channels, must match the number of channels in the acquisition unit.&lt;br /&gt;
&lt;br /&gt;
==States==&lt;br /&gt;
===MicromedCode===&lt;br /&gt;
The serial code read into the Micromed acquisition computer.&lt;br /&gt;
&lt;br /&gt;
===MicromedCondition===&lt;br /&gt;
The MicromedCode bitmasked with ConditionMask. This way you can use the first bits to flag a condition, while changing the MicromedCode for each trial.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
[[User Reference:Filters]], [[Contributions:ADCs]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributions]][[Category:Data Acquisition]]&lt;/div&gt;</summary>
		<author><name>Eaarnoutse</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:MicromedADC&amp;diff=5824</id>
		<title>Contributions:MicromedADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:MicromedADC&amp;diff=5824"/>
		<updated>2010-10-06T07:21:33Z</updated>

		<summary type="html">&lt;p&gt;Eaarnoutse: /* MicromedCode */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
This module can be used to read data sent over TCP/IP from a Micromed acquisition unit running SystemPLUS Rev. 1.02.1056.&lt;br /&gt;
&lt;br /&gt;
==Location==&lt;br /&gt;
http://{{SERVERNAME}}/svn/trunk/src/contrib/SignalSource/Micromed&lt;br /&gt;
&lt;br /&gt;
==Versioning==&lt;br /&gt;
===Author===&lt;br /&gt;
Erik J. Aarnoutse&lt;br /&gt;
Rudolf Magnus Institute, UMC Dept. Psychiatry, Utrecht, The Netherlands&lt;br /&gt;
May 19, 2006&lt;br /&gt;
===Version History===&lt;br /&gt;
V0.01 - 19/04/2006 - First working version, based on Neusoscan.exe&lt;br /&gt;
&lt;br /&gt;
V0.02 - 08/05/2006 - Added condition testing, 22bit mode and downsampling&lt;br /&gt;
&lt;br /&gt;
V0.03 - 17/05/2006 - Added notchfilter&lt;br /&gt;
&lt;br /&gt;
V0.04 - 19/09/2006 - Added digital trigger packets, changed note packet&lt;br /&gt;
&lt;br /&gt;
V0.05 - 27/11/2006 - Added Priority, fixed digital trigger code&lt;br /&gt;
&lt;br /&gt;
V0.06 - 13/03/2007 - Added note output in textfile&lt;br /&gt;
&lt;br /&gt;
V0.07 - 04/04/2007 - Added error handling: server shuts down if stalling&lt;br /&gt;
&lt;br /&gt;
V2.00 - 29/06/2008 - Updated for BCI2000 v2.0&lt;br /&gt;
&lt;br /&gt;
===Source Code Revisions===&lt;br /&gt;
(In this section, indicate the BCI2000 source code revisions (changesets) &lt;br /&gt;
that you used when developing your contribution, and information about &lt;br /&gt;
testing/compilation. Adapt the list to your own needs. &lt;br /&gt;
Hint: You obtain the revision of a source code repository by &lt;br /&gt;
right-clicking its top level directory, and choosing &amp;quot;show log&amp;quot; from the &lt;br /&gt;
TortoiseSVN submenu.)&lt;br /&gt;
*Initial development: 1126&lt;br /&gt;
*Tested under: 1126&lt;br /&gt;
*Known to compile under: 2040&lt;br /&gt;
*Broken since: --&lt;br /&gt;
&lt;br /&gt;
==Functional Description==&lt;br /&gt;
The BCI source module that receives the data from the acquisition is the server, so it must be in listening mode before the acquisition unit starts to save data (data is sent only during recording). Micromed sends 64 data packets per second for SD, 32 for LTM. The connection is reset if the computer running BCI2000 is too slow to read all packets. This happens gracefully in version 2.0. Make sure you have SystemPlus 1.02.1091 or higher, in this version Micromed also gracefully closes the TCP/IP connection at BCI2000 errors.&lt;br /&gt;
A packet of data is structured in 2 sections the first is the header and the second is information data. The first packet sent from the client is the header of an EEG Micromed trace and is read for condition checking. If a note is added in SystemPLUS it is sent as a note packet to the source module. If a digital trigger is sent the trigger code is sent to the source module in two ways: the complete code and a bitmasked code. This allows to send information on a condition (eg in SIGFRIED) and extra information for offline analysis.&lt;br /&gt;
The header packet and the data packets are in the same format as in a Micromed trace file. The note packet sends the complete note buffer, and written in a textfile with the Micromed Sample Number.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
To activate data transfer via TCP, it is necessary to add 3 registry keys on the acquisition unit under &amp;lt;tt&amp;gt;HKEY_CURRENT_USER\Software\VB and VBA Program Settings\Brain Quick - System 98\EEG_Settings&amp;lt;/tt&amp;gt;:&lt;br /&gt;
#&amp;quot;tcpSendAcq&amp;quot; is a string type key which must be set to &amp;quot;1&amp;quot; to activate data transfer via TCP, and to &amp;quot;0&amp;quot; to deactivate it&lt;br /&gt;
#&amp;quot;tcpServerName&amp;quot; is a string type key that represents the IP address of the computer to receive EEG data.&lt;br /&gt;
#&amp;quot;tcpPortNumber&amp;quot; is a string type key that represents the port number used (e.g., &amp;quot;5000&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===NotchFilter===&lt;br /&gt;
Power line notch filter.&lt;br /&gt;
*0: disabled,&lt;br /&gt;
*1: at 50 Hz,&lt;br /&gt;
*2: at 60 Hz&lt;br /&gt;
===SampleBlockSize===&lt;br /&gt;
The number of samples transmitted at a time in the BCI2000 system. If SampleBlockSize is a multiple of SamplingRate/64, data packets are merged. This way the BCI system can run on less than 64 sampleblocks per second, which saves CPU power.&lt;br /&gt;
===SamplingRate===&lt;br /&gt;
The sample rate set by the acquisition unit.&lt;br /&gt;
===ServerAddress===&lt;br /&gt;
Address and port of the BCI Server. You can enter &amp;quot;*:5000&amp;quot; if your port number is 5000. This means that the server listens to all IP addresses, localhost and external. The port number can be set in the acquisition unit by changing the registry setting &amp;quot;tcpPortNumber&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Packet Rate===&lt;br /&gt;
Number of TCP/IP packets per second: 32 for LTM,64 for SD&lt;br /&gt;
===SignalType===&lt;br /&gt;
Numeric type of output signal:&lt;br /&gt;
*0: int16,&lt;br /&gt;
*3: int32. &lt;br /&gt;
Other values are not allowed. Use 0 for Micromeds 16 bit mode, 3 for 22 bit mode: only the first 22 bits are used, but data packets are filled with 32 bit integers.&lt;br /&gt;
===Condition Mask===&lt;br /&gt;
Bitmask. Digital trigger code AND Condition Mask equals conditions without extra information. When not used, set to 0xFF.&lt;br /&gt;
&lt;br /&gt;
===Priority===&lt;br /&gt;
CPU Priority. Default=1, set higher if the CPU load is too heavy.&lt;br /&gt;
===SourceCh===&lt;br /&gt;
The number of digitized and stored channels, must match the number of channels in the acquisition unit.&lt;br /&gt;
&lt;br /&gt;
==States==&lt;br /&gt;
===MicromedCode===&lt;br /&gt;
The serial code read into the Micromed acquisition computer.&lt;br /&gt;
&lt;br /&gt;
===MicromedCondition===&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
[[User Reference:Filters]], [[Contributions:ADCs]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributions]][[Category:Data Acquisition]]&lt;/div&gt;</summary>
		<author><name>Eaarnoutse</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:MicromedADC&amp;diff=5823</id>
		<title>Contributions:MicromedADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:MicromedADC&amp;diff=5823"/>
		<updated>2010-10-06T07:20:07Z</updated>

		<summary type="html">&lt;p&gt;Eaarnoutse: /* ServerAddress */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
This module can be used to read data sent over TCP/IP from a Micromed acquisition unit running SystemPLUS Rev. 1.02.1056.&lt;br /&gt;
&lt;br /&gt;
==Location==&lt;br /&gt;
http://{{SERVERNAME}}/svn/trunk/src/contrib/SignalSource/Micromed&lt;br /&gt;
&lt;br /&gt;
==Versioning==&lt;br /&gt;
===Author===&lt;br /&gt;
Erik J. Aarnoutse&lt;br /&gt;
Rudolf Magnus Institute, UMC Dept. Psychiatry, Utrecht, The Netherlands&lt;br /&gt;
May 19, 2006&lt;br /&gt;
===Version History===&lt;br /&gt;
V0.01 - 19/04/2006 - First working version, based on Neusoscan.exe&lt;br /&gt;
&lt;br /&gt;
V0.02 - 08/05/2006 - Added condition testing, 22bit mode and downsampling&lt;br /&gt;
&lt;br /&gt;
V0.03 - 17/05/2006 - Added notchfilter&lt;br /&gt;
&lt;br /&gt;
V0.04 - 19/09/2006 - Added digital trigger packets, changed note packet&lt;br /&gt;
&lt;br /&gt;
V0.05 - 27/11/2006 - Added Priority, fixed digital trigger code&lt;br /&gt;
&lt;br /&gt;
V0.06 - 13/03/2007 - Added note output in textfile&lt;br /&gt;
&lt;br /&gt;
V0.07 - 04/04/2007 - Added error handling: server shuts down if stalling&lt;br /&gt;
&lt;br /&gt;
V2.00 - 29/06/2008 - Updated for BCI2000 v2.0&lt;br /&gt;
&lt;br /&gt;
===Source Code Revisions===&lt;br /&gt;
(In this section, indicate the BCI2000 source code revisions (changesets) &lt;br /&gt;
that you used when developing your contribution, and information about &lt;br /&gt;
testing/compilation. Adapt the list to your own needs. &lt;br /&gt;
Hint: You obtain the revision of a source code repository by &lt;br /&gt;
right-clicking its top level directory, and choosing &amp;quot;show log&amp;quot; from the &lt;br /&gt;
TortoiseSVN submenu.)&lt;br /&gt;
*Initial development: 1126&lt;br /&gt;
*Tested under: 1126&lt;br /&gt;
*Known to compile under: 2040&lt;br /&gt;
*Broken since: --&lt;br /&gt;
&lt;br /&gt;
==Functional Description==&lt;br /&gt;
The BCI source module that receives the data from the acquisition is the server, so it must be in listening mode before the acquisition unit starts to save data (data is sent only during recording). Micromed sends 64 data packets per second for SD, 32 for LTM. The connection is reset if the computer running BCI2000 is too slow to read all packets. This happens gracefully in version 2.0. Make sure you have SystemPlus 1.02.1091 or higher, in this version Micromed also gracefully closes the TCP/IP connection at BCI2000 errors.&lt;br /&gt;
A packet of data is structured in 2 sections the first is the header and the second is information data. The first packet sent from the client is the header of an EEG Micromed trace and is read for condition checking. If a note is added in SystemPLUS it is sent as a note packet to the source module. If a digital trigger is sent the trigger code is sent to the source module in two ways: the complete code and a bitmasked code. This allows to send information on a condition (eg in SIGFRIED) and extra information for offline analysis.&lt;br /&gt;
The header packet and the data packets are in the same format as in a Micromed trace file. The note packet sends the complete note buffer, and written in a textfile with the Micromed Sample Number.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
To activate data transfer via TCP, it is necessary to add 3 registry keys on the acquisition unit under &amp;lt;tt&amp;gt;HKEY_CURRENT_USER\Software\VB and VBA Program Settings\Brain Quick - System 98\EEG_Settings&amp;lt;/tt&amp;gt;:&lt;br /&gt;
#&amp;quot;tcpSendAcq&amp;quot; is a string type key which must be set to &amp;quot;1&amp;quot; to activate data transfer via TCP, and to &amp;quot;0&amp;quot; to deactivate it&lt;br /&gt;
#&amp;quot;tcpServerName&amp;quot; is a string type key that represents the IP address of the computer to receive EEG data.&lt;br /&gt;
#&amp;quot;tcpPortNumber&amp;quot; is a string type key that represents the port number used (e.g., &amp;quot;5000&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===NotchFilter===&lt;br /&gt;
Power line notch filter.&lt;br /&gt;
*0: disabled,&lt;br /&gt;
*1: at 50 Hz,&lt;br /&gt;
*2: at 60 Hz&lt;br /&gt;
===SampleBlockSize===&lt;br /&gt;
The number of samples transmitted at a time in the BCI2000 system. If SampleBlockSize is a multiple of SamplingRate/64, data packets are merged. This way the BCI system can run on less than 64 sampleblocks per second, which saves CPU power.&lt;br /&gt;
===SamplingRate===&lt;br /&gt;
The sample rate set by the acquisition unit.&lt;br /&gt;
===ServerAddress===&lt;br /&gt;
Address and port of the BCI Server. You can enter &amp;quot;*:5000&amp;quot; if your port number is 5000. This means that the server listens to all IP addresses, localhost and external. The port number can be set in the acquisition unit by changing the registry setting &amp;quot;tcpPortNumber&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Packet Rate===&lt;br /&gt;
Number of TCP/IP packets per second: 32 for LTM,64 for SD&lt;br /&gt;
===SignalType===&lt;br /&gt;
Numeric type of output signal:&lt;br /&gt;
*0: int16,&lt;br /&gt;
*3: int32. &lt;br /&gt;
Other values are not allowed. Use 0 for Micromeds 16 bit mode, 3 for 22 bit mode: only the first 22 bits are used, but data packets are filled with 32 bit integers.&lt;br /&gt;
===Condition Mask===&lt;br /&gt;
Bitmask. Digital trigger code AND Condition Mask equals conditions without extra information. When not used, set to 0xFF.&lt;br /&gt;
&lt;br /&gt;
===Priority===&lt;br /&gt;
CPU Priority. Default=1, set higher if the CPU load is too heavy.&lt;br /&gt;
===SourceCh===&lt;br /&gt;
The number of digitized and stored channels, must match the number of channels in the acquisition unit.&lt;br /&gt;
&lt;br /&gt;
==States==&lt;br /&gt;
===MicromedCode===&lt;br /&gt;
===MicromedCondition===&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
[[User Reference:Filters]], [[Contributions:ADCs]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributions]][[Category:Data Acquisition]]&lt;/div&gt;</summary>
		<author><name>Eaarnoutse</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:MicromedADC&amp;diff=3920</id>
		<title>Contributions:MicromedADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:MicromedADC&amp;diff=3920"/>
		<updated>2008-06-29T22:26:30Z</updated>

		<summary type="html">&lt;p&gt;Eaarnoutse: /* Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
This module can be used to read data sent over TCP/IP from a Micromed acquisition unit running SystemPLUS Rev. 1.02.1056.&lt;br /&gt;
&lt;br /&gt;
==Location==&lt;br /&gt;
http://{{SERVERNAME}}/svn/trunk/src/contrib/SignalSource/Micromed&lt;br /&gt;
&lt;br /&gt;
==Versioning==&lt;br /&gt;
===Author===&lt;br /&gt;
Erik J. Aarnoutse&lt;br /&gt;
Rudolf Magnus Institute, UMC Dept. Psychiatry, Utrecht, The Netherlands&lt;br /&gt;
May 19, 2006&lt;br /&gt;
===Version History===&lt;br /&gt;
V0.01 - 19/04/2006 - First working version, based on Neusoscan.exe&lt;br /&gt;
&lt;br /&gt;
V0.02 - 08/05/2006 - Added condition testing, 22bit mode and downsampling&lt;br /&gt;
&lt;br /&gt;
V0.03 - 17/05/2006 - Added notchfilter&lt;br /&gt;
&lt;br /&gt;
V0.04 - 19/09/2006 - Added digital trigger packets, changed note packet&lt;br /&gt;
&lt;br /&gt;
V0.05 - 27/11/2006 - Added Priority, fixed digital trigger code&lt;br /&gt;
&lt;br /&gt;
V0.06 - 13/03/2007 - Added note output in textfile&lt;br /&gt;
&lt;br /&gt;
V0.07 - 04/04/2007 - Added error handling: server shuts down if stalling&lt;br /&gt;
&lt;br /&gt;
V2.00 - 29/06/2008 - Updated for BCI2000 v2.0&lt;br /&gt;
&lt;br /&gt;
===Source Code Revisions===&lt;br /&gt;
(In this section, indicate the BCI2000 source code revisions (changesets) &lt;br /&gt;
that you used when developing your contribution, and information about &lt;br /&gt;
testing/compilation. Adapt the list to your own needs. &lt;br /&gt;
Hint: You obtain the revision of a source code repository by &lt;br /&gt;
right-clicking its top level directory, and choosing &amp;quot;show log&amp;quot; from the &lt;br /&gt;
TortoiseSVN submenu.)&lt;br /&gt;
*Initial development: 1126&lt;br /&gt;
*Tested under: 1126&lt;br /&gt;
*Known to compile under: 2040&lt;br /&gt;
*Broken since: --&lt;br /&gt;
&lt;br /&gt;
==Functional Description==&lt;br /&gt;
The BCI source module that receives the data from the acquisition is the server so it must be in listening mode before the acquisition unit starts to save data (data is sent only during recording). Micromed sends 64 data packets per second for SD, 32 for LTM. The connection is reset if the computer running BCI2000 is too slow to read all packets. This happens gracefully in version 2.0. Make sure you have SystemPlus 1.02.1091 or higher, in this version Micromed also gracefully closes the TCP/IP connection at BCI2000 errors.&lt;br /&gt;
A packet of data is structured in 2 sections the first is the header and the second is information data. The first packet sent from the client is the header of an EEG Micromed trace and is read for condition checking. If a note is added in SystemPLUS it is sent as a note packet to the source module. If a digital trigger is sent the trigger code is sent to the source module in two ways: the complete code and a bitmasked code. This allows to send information on a condition (eg in SIGFRIED) and extra information for offline analysis.&lt;br /&gt;
The header packet and the data packets are in the same format as in a Micromed trace file. The note packet sends the complete note buffer, and written in a textfile with the Micromed Samplenummer.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
To active this function is necessary to add 3 registry keys on the acquisition unit under &amp;lt;tt&amp;gt;HKEY_CURRENT_USER\Software\VB and VBA Program Settings\Brain Quick - System 98\EEG_Settings&amp;lt;/tt&amp;gt;:&lt;br /&gt;
#&amp;quot;tcpSendAcq&amp;quot; that is a string type. Set &amp;quot;1&amp;quot; to active the eeg sending data via tcp function otherwise &amp;quot;0&amp;quot;.&lt;br /&gt;
#&amp;quot;tcpServerName&amp;quot; that is a string type that represent the server name of the computer that receive the eeg trace data.&lt;br /&gt;
#&amp;quot;tcpPortNumber&amp;quot; that is a string type that represent the port number. (e.g. 5000)&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===NotchFilter===&lt;br /&gt;
Power line notch filter.&lt;br /&gt;
*0: disabled,&lt;br /&gt;
*1: at 50 Hz,&lt;br /&gt;
*2: at 60 Hz&lt;br /&gt;
===SampleBlockSize===&lt;br /&gt;
The number of samples transmitted at a time in the BCI2000 system. If SampleBlockSize is a multiple of SamplingRate/64, data packets are merged. This way the BCI system can run on less than 64 sampleblocks per second, which saves CPU power.&lt;br /&gt;
===SamplingRate===&lt;br /&gt;
The sample rate set by the acquisition unit.&lt;br /&gt;
===ServerAddress===&lt;br /&gt;
Address and port of the Micromed BCI Server. The port number can be set in the acquisition unit by changing the registry setting &amp;quot;tcpPortNumber&amp;quot;.&lt;br /&gt;
===Packet Rate===&lt;br /&gt;
Number of TCP/IP packets per second: 32 for LTM,64 for SD&lt;br /&gt;
===SignalType===&lt;br /&gt;
Numeric type of output signal:&lt;br /&gt;
*0: int16,&lt;br /&gt;
*3: int32. &lt;br /&gt;
Other values are not allowed. Use 0 for Micromeds 16 bit mode, 3 for 22 bit mode: only the first 22 bits are used, but data packets are filled with 32 bit integers.&lt;br /&gt;
===Condition Mask===&lt;br /&gt;
Bitmask. Digital trigger code AND Condition Mask equals conditions without extra information. When not used set 0xFF&lt;br /&gt;
===Priority===&lt;br /&gt;
CPU Priority. Default=1, set higher if the CPU load is too heavy.&lt;br /&gt;
===SourceCh===&lt;br /&gt;
The number of digitized and stored channels, must match the number of channels in the acquisition unit.&lt;br /&gt;
&lt;br /&gt;
==States==&lt;br /&gt;
MicromedCode&lt;br /&gt;
MicromedCondition&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
[[User Reference:Filters]], [[Contributions:ADCs]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributions]][[Category:Data Acquisition]]&lt;/div&gt;</summary>
		<author><name>Eaarnoutse</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:MicromedADC&amp;diff=3919</id>
		<title>Contributions:MicromedADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:MicromedADC&amp;diff=3919"/>
		<updated>2008-06-29T22:20:35Z</updated>

		<summary type="html">&lt;p&gt;Eaarnoutse: /* States */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
This module can be used to read data sent over TCP/IP from a Micromed acquisition unit running SystemPLUS Rev. 1.02.1056.&lt;br /&gt;
&lt;br /&gt;
==Location==&lt;br /&gt;
http://{{SERVERNAME}}/svn/trunk/src/contrib/SignalSource/Micromed&lt;br /&gt;
&lt;br /&gt;
==Versioning==&lt;br /&gt;
===Author===&lt;br /&gt;
Erik J. Aarnoutse&lt;br /&gt;
Rudolf Magnus Institute, UMC Dept. Psychiatry, Utrecht, The Netherlands&lt;br /&gt;
May 19, 2006&lt;br /&gt;
===Version History===&lt;br /&gt;
V0.01 - 19/04/2006 - First working version, based on Neusoscan.exe&lt;br /&gt;
&lt;br /&gt;
V0.02 - 08/05/2006 - Added condition testing, 22bit mode and downsampling&lt;br /&gt;
&lt;br /&gt;
V0.03 - 17/05/2006 - Added notchfilter&lt;br /&gt;
&lt;br /&gt;
V0.04 - 19/09/2006 - Added digital trigger packets, changed note packet&lt;br /&gt;
&lt;br /&gt;
V0.05 - 27/11/2006 - Added Priority, fixed digital trigger code&lt;br /&gt;
&lt;br /&gt;
V0.06 - 13/03/2007 - Added note output in textfile&lt;br /&gt;
&lt;br /&gt;
V0.07 - 04/04/2007 - Added error handling: server shuts down if stalling&lt;br /&gt;
&lt;br /&gt;
V2.00 - 29/06/2008 - Updated for BCI2000 v2.0&lt;br /&gt;
&lt;br /&gt;
===Source Code Revisions===&lt;br /&gt;
(In this section, indicate the BCI2000 source code revisions (changesets) &lt;br /&gt;
that you used when developing your contribution, and information about &lt;br /&gt;
testing/compilation. Adapt the list to your own needs. &lt;br /&gt;
Hint: You obtain the revision of a source code repository by &lt;br /&gt;
right-clicking its top level directory, and choosing &amp;quot;show log&amp;quot; from the &lt;br /&gt;
TortoiseSVN submenu.)&lt;br /&gt;
*Initial development: 1126&lt;br /&gt;
*Tested under: 1126&lt;br /&gt;
*Known to compile under: 2040&lt;br /&gt;
*Broken since: --&lt;br /&gt;
&lt;br /&gt;
==Functional Description==&lt;br /&gt;
The BCI source module that receives the data from the acquisition is the server so it must be in listening mode before the acquisition unit starts to save data (data is sent only during recording). Micromed sends 64 data packets per second for SD, 32 for LTM. The connection is reset if the computer running BCI2000 is too slow to read all packets. This happens gracefully in version 2.0. Make sure you have SystemPlus 1.02.1091 or higher, in this version Micromed also gracefully closes the TCP/IP connection at BCI2000 errors.&lt;br /&gt;
A packet of data is structured in 2 sections the first is the header and the second is information data. The first packet sent from the client is the header of an EEG Micromed trace and is read for condition checking. If a note is added in SystemPLUS it is sent as a note packet to the source module. If a digital trigger is sent the trigger code is sent to the source module in two ways: the complete code and a bitmasked code. This allows to send information on a condition (eg in SIGFRIED) and extra information for offline analysis.&lt;br /&gt;
The header packet and the data packets are in the same format as in a Micromed trace file. The note packet sends the complete note buffer, and written in a textfile with the Micromed Samplenummer.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
To active this function is necessary to add 3 registry keys on the acquisition unit under &amp;lt;tt&amp;gt;HKEY_CURRENT_USER\Software\VB and VBA Program Settings\Brain Quick - System 98\EEG_Settings&amp;lt;/tt&amp;gt;:&lt;br /&gt;
#&amp;quot;tcpSendAcq&amp;quot; that is a string type. Set &amp;quot;1&amp;quot; to active the eeg sending data via tcp function otherwise &amp;quot;0&amp;quot;.&lt;br /&gt;
#&amp;quot;tcpServerName&amp;quot; that is a string type that represent the server name of the computer that receive the eeg trace data.&lt;br /&gt;
#&amp;quot;tcpPortNumber&amp;quot; that is a string type that represent the port number. (e.g. 5000)&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===NotchFilter===&lt;br /&gt;
Power line notch filter.&lt;br /&gt;
*0: disabled,&lt;br /&gt;
*1: at 50 Hz,&lt;br /&gt;
*2: at 60 Hz&lt;br /&gt;
===SampleBlockSize===&lt;br /&gt;
The number of samples transmitted at a time in the BCI2000 system. If SampleBlockSize is a multiple of SamplingRate/64, data packets are merged. This way the BCI system can run on less than 64 sampleblocks per second, which saves CPU power.&lt;br /&gt;
===SamplingRate===&lt;br /&gt;
The sample rate set by the acquisition unit.&lt;br /&gt;
===ServerAddress===&lt;br /&gt;
Address and port of the Micromed BCI Server. The port number can be set in the acquisition unit by changing the registry setting &amp;quot;tcpPortNumber&amp;quot;.&lt;br /&gt;
===SignalType===&lt;br /&gt;
Numeric type of output signal:&lt;br /&gt;
*0: int16,&lt;br /&gt;
*3: int32. &lt;br /&gt;
Other values are not allowed. Use 0 for Micromeds 16 bit mode, 3 for 22 bit mode: only the first 22 bits are used, but data packets are filled with 32 bit integers.&lt;br /&gt;
===SourceCh===&lt;br /&gt;
The number of digitized and stored channels, must match the number of channels in the acquisition unit.&lt;br /&gt;
&lt;br /&gt;
==States==&lt;br /&gt;
MicromedCode&lt;br /&gt;
MicromedCondition&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
[[User Reference:Filters]], [[Contributions:ADCs]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributions]][[Category:Data Acquisition]]&lt;/div&gt;</summary>
		<author><name>Eaarnoutse</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:MicromedADC&amp;diff=3918</id>
		<title>Contributions:MicromedADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:MicromedADC&amp;diff=3918"/>
		<updated>2008-06-29T22:18:46Z</updated>

		<summary type="html">&lt;p&gt;Eaarnoutse: /* Source Code Revisions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
This module can be used to read data sent over TCP/IP from a Micromed acquisition unit running SystemPLUS Rev. 1.02.1056.&lt;br /&gt;
&lt;br /&gt;
==Location==&lt;br /&gt;
http://{{SERVERNAME}}/svn/trunk/src/contrib/SignalSource/Micromed&lt;br /&gt;
&lt;br /&gt;
==Versioning==&lt;br /&gt;
===Author===&lt;br /&gt;
Erik J. Aarnoutse&lt;br /&gt;
Rudolf Magnus Institute, UMC Dept. Psychiatry, Utrecht, The Netherlands&lt;br /&gt;
May 19, 2006&lt;br /&gt;
===Version History===&lt;br /&gt;
V0.01 - 19/04/2006 - First working version, based on Neusoscan.exe&lt;br /&gt;
&lt;br /&gt;
V0.02 - 08/05/2006 - Added condition testing, 22bit mode and downsampling&lt;br /&gt;
&lt;br /&gt;
V0.03 - 17/05/2006 - Added notchfilter&lt;br /&gt;
&lt;br /&gt;
V0.04 - 19/09/2006 - Added digital trigger packets, changed note packet&lt;br /&gt;
&lt;br /&gt;
V0.05 - 27/11/2006 - Added Priority, fixed digital trigger code&lt;br /&gt;
&lt;br /&gt;
V0.06 - 13/03/2007 - Added note output in textfile&lt;br /&gt;
&lt;br /&gt;
V0.07 - 04/04/2007 - Added error handling: server shuts down if stalling&lt;br /&gt;
&lt;br /&gt;
V2.00 - 29/06/2008 - Updated for BCI2000 v2.0&lt;br /&gt;
&lt;br /&gt;
===Source Code Revisions===&lt;br /&gt;
(In this section, indicate the BCI2000 source code revisions (changesets) &lt;br /&gt;
that you used when developing your contribution, and information about &lt;br /&gt;
testing/compilation. Adapt the list to your own needs. &lt;br /&gt;
Hint: You obtain the revision of a source code repository by &lt;br /&gt;
right-clicking its top level directory, and choosing &amp;quot;show log&amp;quot; from the &lt;br /&gt;
TortoiseSVN submenu.)&lt;br /&gt;
*Initial development: 1126&lt;br /&gt;
*Tested under: 1126&lt;br /&gt;
*Known to compile under: 2040&lt;br /&gt;
*Broken since: --&lt;br /&gt;
&lt;br /&gt;
==Functional Description==&lt;br /&gt;
The BCI source module that receives the data from the acquisition is the server so it must be in listening mode before the acquisition unit starts to save data (data is sent only during recording). Micromed sends 64 data packets per second for SD, 32 for LTM. The connection is reset if the computer running BCI2000 is too slow to read all packets. This happens gracefully in version 2.0. Make sure you have SystemPlus 1.02.1091 or higher, in this version Micromed also gracefully closes the TCP/IP connection at BCI2000 errors.&lt;br /&gt;
A packet of data is structured in 2 sections the first is the header and the second is information data. The first packet sent from the client is the header of an EEG Micromed trace and is read for condition checking. If a note is added in SystemPLUS it is sent as a note packet to the source module. If a digital trigger is sent the trigger code is sent to the source module in two ways: the complete code and a bitmasked code. This allows to send information on a condition (eg in SIGFRIED) and extra information for offline analysis.&lt;br /&gt;
The header packet and the data packets are in the same format as in a Micromed trace file. The note packet sends the complete note buffer, and written in a textfile with the Micromed Samplenummer.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
To active this function is necessary to add 3 registry keys on the acquisition unit under &amp;lt;tt&amp;gt;HKEY_CURRENT_USER\Software\VB and VBA Program Settings\Brain Quick - System 98\EEG_Settings&amp;lt;/tt&amp;gt;:&lt;br /&gt;
#&amp;quot;tcpSendAcq&amp;quot; that is a string type. Set &amp;quot;1&amp;quot; to active the eeg sending data via tcp function otherwise &amp;quot;0&amp;quot;.&lt;br /&gt;
#&amp;quot;tcpServerName&amp;quot; that is a string type that represent the server name of the computer that receive the eeg trace data.&lt;br /&gt;
#&amp;quot;tcpPortNumber&amp;quot; that is a string type that represent the port number. (e.g. 5000)&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===NotchFilter===&lt;br /&gt;
Power line notch filter.&lt;br /&gt;
*0: disabled,&lt;br /&gt;
*1: at 50 Hz,&lt;br /&gt;
*2: at 60 Hz&lt;br /&gt;
===SampleBlockSize===&lt;br /&gt;
The number of samples transmitted at a time in the BCI2000 system. If SampleBlockSize is a multiple of SamplingRate/64, data packets are merged. This way the BCI system can run on less than 64 sampleblocks per second, which saves CPU power.&lt;br /&gt;
===SamplingRate===&lt;br /&gt;
The sample rate set by the acquisition unit.&lt;br /&gt;
===ServerAddress===&lt;br /&gt;
Address and port of the Micromed BCI Server. The port number can be set in the acquisition unit by changing the registry setting &amp;quot;tcpPortNumber&amp;quot;.&lt;br /&gt;
===SignalType===&lt;br /&gt;
Numeric type of output signal:&lt;br /&gt;
*0: int16,&lt;br /&gt;
*3: int32. &lt;br /&gt;
Other values are not allowed. Use 0 for Micromeds 16 bit mode, 3 for 22 bit mode: only the first 22 bits are used, but data packets are filled with 32 bit integers.&lt;br /&gt;
===SourceCh===&lt;br /&gt;
The number of digitized and stored channels, must match the number of channels in the acquisition unit.&lt;br /&gt;
&lt;br /&gt;
==States==&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
[[User Reference:Filters]], [[Contributions:ADCs]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributions]][[Category:Data Acquisition]]&lt;/div&gt;</summary>
		<author><name>Eaarnoutse</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:MicromedADC&amp;diff=3917</id>
		<title>Contributions:MicromedADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:MicromedADC&amp;diff=3917"/>
		<updated>2008-06-29T22:18:21Z</updated>

		<summary type="html">&lt;p&gt;Eaarnoutse: /* Version History */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
This module can be used to read data sent over TCP/IP from a Micromed acquisition unit running SystemPLUS Rev. 1.02.1056.&lt;br /&gt;
&lt;br /&gt;
==Location==&lt;br /&gt;
http://{{SERVERNAME}}/svn/trunk/src/contrib/SignalSource/Micromed&lt;br /&gt;
&lt;br /&gt;
==Versioning==&lt;br /&gt;
===Author===&lt;br /&gt;
Erik J. Aarnoutse&lt;br /&gt;
Rudolf Magnus Institute, UMC Dept. Psychiatry, Utrecht, The Netherlands&lt;br /&gt;
May 19, 2006&lt;br /&gt;
===Version History===&lt;br /&gt;
V0.01 - 19/04/2006 - First working version, based on Neusoscan.exe&lt;br /&gt;
&lt;br /&gt;
V0.02 - 08/05/2006 - Added condition testing, 22bit mode and downsampling&lt;br /&gt;
&lt;br /&gt;
V0.03 - 17/05/2006 - Added notchfilter&lt;br /&gt;
&lt;br /&gt;
V0.04 - 19/09/2006 - Added digital trigger packets, changed note packet&lt;br /&gt;
&lt;br /&gt;
V0.05 - 27/11/2006 - Added Priority, fixed digital trigger code&lt;br /&gt;
&lt;br /&gt;
V0.06 - 13/03/2007 - Added note output in textfile&lt;br /&gt;
&lt;br /&gt;
V0.07 - 04/04/2007 - Added error handling: server shuts down if stalling&lt;br /&gt;
&lt;br /&gt;
V2.00 - 29/06/2008 - Updated for BCI2000 v2.0&lt;br /&gt;
&lt;br /&gt;
===Source Code Revisions===&lt;br /&gt;
(In this section, indicate the BCI2000 source code revisions (changesets) &lt;br /&gt;
that you used when developing your contribution, and information about &lt;br /&gt;
testing/compilation. Adapt the list to your own needs. &lt;br /&gt;
Hint: You obtain the revision of a source code repository by &lt;br /&gt;
right-clicking its top level directory, and choosing &amp;quot;show log&amp;quot; from the &lt;br /&gt;
TortoiseSVN submenu.)&lt;br /&gt;
*Initial development: 1126&lt;br /&gt;
*Tested under: 1126&lt;br /&gt;
*Known to compile under: 1528&lt;br /&gt;
*Broken since: --&lt;br /&gt;
&lt;br /&gt;
==Functional Description==&lt;br /&gt;
The BCI source module that receives the data from the acquisition is the server so it must be in listening mode before the acquisition unit starts to save data (data is sent only during recording). Micromed sends 64 data packets per second for SD, 32 for LTM. The connection is reset if the computer running BCI2000 is too slow to read all packets. This happens gracefully in version 2.0. Make sure you have SystemPlus 1.02.1091 or higher, in this version Micromed also gracefully closes the TCP/IP connection at BCI2000 errors.&lt;br /&gt;
A packet of data is structured in 2 sections the first is the header and the second is information data. The first packet sent from the client is the header of an EEG Micromed trace and is read for condition checking. If a note is added in SystemPLUS it is sent as a note packet to the source module. If a digital trigger is sent the trigger code is sent to the source module in two ways: the complete code and a bitmasked code. This allows to send information on a condition (eg in SIGFRIED) and extra information for offline analysis.&lt;br /&gt;
The header packet and the data packets are in the same format as in a Micromed trace file. The note packet sends the complete note buffer, and written in a textfile with the Micromed Samplenummer.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
To active this function is necessary to add 3 registry keys on the acquisition unit under &amp;lt;tt&amp;gt;HKEY_CURRENT_USER\Software\VB and VBA Program Settings\Brain Quick - System 98\EEG_Settings&amp;lt;/tt&amp;gt;:&lt;br /&gt;
#&amp;quot;tcpSendAcq&amp;quot; that is a string type. Set &amp;quot;1&amp;quot; to active the eeg sending data via tcp function otherwise &amp;quot;0&amp;quot;.&lt;br /&gt;
#&amp;quot;tcpServerName&amp;quot; that is a string type that represent the server name of the computer that receive the eeg trace data.&lt;br /&gt;
#&amp;quot;tcpPortNumber&amp;quot; that is a string type that represent the port number. (e.g. 5000)&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===NotchFilter===&lt;br /&gt;
Power line notch filter.&lt;br /&gt;
*0: disabled,&lt;br /&gt;
*1: at 50 Hz,&lt;br /&gt;
*2: at 60 Hz&lt;br /&gt;
===SampleBlockSize===&lt;br /&gt;
The number of samples transmitted at a time in the BCI2000 system. If SampleBlockSize is a multiple of SamplingRate/64, data packets are merged. This way the BCI system can run on less than 64 sampleblocks per second, which saves CPU power.&lt;br /&gt;
===SamplingRate===&lt;br /&gt;
The sample rate set by the acquisition unit.&lt;br /&gt;
===ServerAddress===&lt;br /&gt;
Address and port of the Micromed BCI Server. The port number can be set in the acquisition unit by changing the registry setting &amp;quot;tcpPortNumber&amp;quot;.&lt;br /&gt;
===SignalType===&lt;br /&gt;
Numeric type of output signal:&lt;br /&gt;
*0: int16,&lt;br /&gt;
*3: int32. &lt;br /&gt;
Other values are not allowed. Use 0 for Micromeds 16 bit mode, 3 for 22 bit mode: only the first 22 bits are used, but data packets are filled with 32 bit integers.&lt;br /&gt;
===SourceCh===&lt;br /&gt;
The number of digitized and stored channels, must match the number of channels in the acquisition unit.&lt;br /&gt;
&lt;br /&gt;
==States==&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
[[User Reference:Filters]], [[Contributions:ADCs]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributions]][[Category:Data Acquisition]]&lt;/div&gt;</summary>
		<author><name>Eaarnoutse</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:MicromedADC&amp;diff=3916</id>
		<title>Contributions:MicromedADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:MicromedADC&amp;diff=3916"/>
		<updated>2008-06-29T22:16:38Z</updated>

		<summary type="html">&lt;p&gt;Eaarnoutse: /* Functional Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
This module can be used to read data sent over TCP/IP from a Micromed acquisition unit running SystemPLUS Rev. 1.02.1056.&lt;br /&gt;
&lt;br /&gt;
==Location==&lt;br /&gt;
http://{{SERVERNAME}}/svn/trunk/src/contrib/SignalSource/Micromed&lt;br /&gt;
&lt;br /&gt;
==Versioning==&lt;br /&gt;
===Author===&lt;br /&gt;
Erik J. Aarnoutse&lt;br /&gt;
Rudolf Magnus Institute, UMC Dept. Psychiatry, Utrecht, The Netherlands&lt;br /&gt;
May 19, 2006&lt;br /&gt;
===Version History===&lt;br /&gt;
V0.01 - 19/04/2006 - First working version, based on Neusoscan.exe&lt;br /&gt;
&lt;br /&gt;
V0.02 - 08/05/2006 - Added condition testing, 22bit mode and downsampling&lt;br /&gt;
&lt;br /&gt;
V0.03 - 17/05/2006 - Added notchfilter&lt;br /&gt;
&lt;br /&gt;
===Source Code Revisions===&lt;br /&gt;
(In this section, indicate the BCI2000 source code revisions (changesets) &lt;br /&gt;
that you used when developing your contribution, and information about &lt;br /&gt;
testing/compilation. Adapt the list to your own needs. &lt;br /&gt;
Hint: You obtain the revision of a source code repository by &lt;br /&gt;
right-clicking its top level directory, and choosing &amp;quot;show log&amp;quot; from the &lt;br /&gt;
TortoiseSVN submenu.)&lt;br /&gt;
*Initial development: 1126&lt;br /&gt;
*Tested under: 1126&lt;br /&gt;
*Known to compile under: 1528&lt;br /&gt;
*Broken since: --&lt;br /&gt;
&lt;br /&gt;
==Functional Description==&lt;br /&gt;
The BCI source module that receives the data from the acquisition is the server so it must be in listening mode before the acquisition unit starts to save data (data is sent only during recording). Micromed sends 64 data packets per second for SD, 32 for LTM. The connection is reset if the computer running BCI2000 is too slow to read all packets. This happens gracefully in version 2.0. Make sure you have SystemPlus 1.02.1091 or higher, in this version Micromed also gracefully closes the TCP/IP connection at BCI2000 errors.&lt;br /&gt;
A packet of data is structured in 2 sections the first is the header and the second is information data. The first packet sent from the client is the header of an EEG Micromed trace and is read for condition checking. If a note is added in SystemPLUS it is sent as a note packet to the source module. If a digital trigger is sent the trigger code is sent to the source module in two ways: the complete code and a bitmasked code. This allows to send information on a condition (eg in SIGFRIED) and extra information for offline analysis.&lt;br /&gt;
The header packet and the data packets are in the same format as in a Micromed trace file. The note packet sends the complete note buffer, and written in a textfile with the Micromed Samplenummer.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
To active this function is necessary to add 3 registry keys on the acquisition unit under &amp;lt;tt&amp;gt;HKEY_CURRENT_USER\Software\VB and VBA Program Settings\Brain Quick - System 98\EEG_Settings&amp;lt;/tt&amp;gt;:&lt;br /&gt;
#&amp;quot;tcpSendAcq&amp;quot; that is a string type. Set &amp;quot;1&amp;quot; to active the eeg sending data via tcp function otherwise &amp;quot;0&amp;quot;.&lt;br /&gt;
#&amp;quot;tcpServerName&amp;quot; that is a string type that represent the server name of the computer that receive the eeg trace data.&lt;br /&gt;
#&amp;quot;tcpPortNumber&amp;quot; that is a string type that represent the port number. (e.g. 5000)&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===NotchFilter===&lt;br /&gt;
Power line notch filter.&lt;br /&gt;
*0: disabled,&lt;br /&gt;
*1: at 50 Hz,&lt;br /&gt;
*2: at 60 Hz&lt;br /&gt;
===SampleBlockSize===&lt;br /&gt;
The number of samples transmitted at a time in the BCI2000 system. If SampleBlockSize is a multiple of SamplingRate/64, data packets are merged. This way the BCI system can run on less than 64 sampleblocks per second, which saves CPU power.&lt;br /&gt;
===SamplingRate===&lt;br /&gt;
The sample rate set by the acquisition unit.&lt;br /&gt;
===ServerAddress===&lt;br /&gt;
Address and port of the Micromed BCI Server. The port number can be set in the acquisition unit by changing the registry setting &amp;quot;tcpPortNumber&amp;quot;.&lt;br /&gt;
===SignalType===&lt;br /&gt;
Numeric type of output signal:&lt;br /&gt;
*0: int16,&lt;br /&gt;
*3: int32. &lt;br /&gt;
Other values are not allowed. Use 0 for Micromeds 16 bit mode, 3 for 22 bit mode: only the first 22 bits are used, but data packets are filled with 32 bit integers.&lt;br /&gt;
===SourceCh===&lt;br /&gt;
The number of digitized and stored channels, must match the number of channels in the acquisition unit.&lt;br /&gt;
&lt;br /&gt;
==States==&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
[[User Reference:Filters]], [[Contributions:ADCs]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributions]][[Category:Data Acquisition]]&lt;/div&gt;</summary>
		<author><name>Eaarnoutse</name></author>
	</entry>
</feed>