<?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=Ratko</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=Ratko"/>
	<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php/Special:Contributions/Ratko"/>
	<updated>2026-06-30T08:04:13Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:LiveAmpADC&amp;diff=7667</id>
		<title>Contributions:LiveAmpADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:LiveAmpADC&amp;diff=7667"/>
		<updated>2017-01-17T13:51:11Z</updated>

		<summary type="html">&lt;p&gt;Ratko: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;LiveAmpADC&lt;br /&gt;
&lt;br /&gt;
==Function==&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;LiveAmpADC&#039;&#039; filter acquires data from a &#039;&#039;LiveAmp&#039;&#039; wireless (Bluetooth) amplifier. &lt;br /&gt;
The &#039;&#039;LiveAmp&#039;&#039; is an amplifier/digitizer combination from Brain Products.&lt;br /&gt;
Support for this device in BCI2000 consists of a BCI2000-compatible Source Module (&#039;&#039;LiveAmpSource.exe&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
===LiveAmp Hardware===&lt;br /&gt;
&lt;br /&gt;
Either up to 32 referential EEG/ExG channels (with either passive or active electrodes) or up to 24 EEG/ExG referential channels plus up to 8 bipolar ExG channels (with passive electrodes only).\\ &lt;br /&gt;
8 AUX channel can be attached to AUX input, using AUXbox. Tehre si one Trigger channel and 8 Digital I/=.&lt;br /&gt;
There are built-in 3-axis acceleration sensor with 3 separate channels (x, y, z).\\ &lt;br /&gt;
More on hardware can be found at: [http://www.brainproducts.com/productdetails.php?id=63 LiveAmp Technical details]. &lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
The BlueTooth dongle UBT21 must be installed first. The driver comes with the LiveAmp.&lt;br /&gt;
&lt;br /&gt;
==Parameters:LiveAmpADC==&lt;br /&gt;
Parameters common to all source modules are described under [[User Reference:DataIOFilter]].&lt;br /&gt;
In addition, the &#039;&#039;LiveAmpADC&#039;&#039; provides the following parameters:&lt;br /&gt;
&lt;br /&gt;
[[File:LiveAmpADC.png| 500px| center| ]]&lt;br /&gt;
&lt;br /&gt;
===SerialNumber===&lt;br /&gt;
Each LiveAmp has the serial number. The serial number can be found on the back of the amplifier. This number must be set as a parameter (without letters &amp;quot;LA-&amp;quot;). It is necessary for the Bluetooth connection &lt;br /&gt;
&lt;br /&gt;
===SourceCh===&lt;br /&gt;
The total number of channels: EEG + AUX + Acc + Triggers (see parameters below). &lt;br /&gt;
&lt;br /&gt;
===SampleBlockSize===&lt;br /&gt;
Samples per channel per digitized block. &lt;br /&gt;
Together with the sampling rate, this parameter determines how often per second data are collected, processed, and feedback is updated. For example, at 500 Hz sampling and a SampleBlockSize of 20, the system (e.g., source signal display, signal processing, and stimulus presentation) will be updated 25 times per second.&lt;br /&gt;
&lt;br /&gt;
===SamplingRate===&lt;br /&gt;
The sample rate of the system. All data is either acquired at 250, 500 or 1000Hz&lt;br /&gt;
In case you are experiencing problems by higher sampling rates (e.g., data loss, jerky display, etc.), increase the SampleBlockSize so that you are updating the system less frequently (usually, updating the system 20-30 times per second is sufficient for most applications), and increase Visualize-&amp;gt;VisualizeSourceDecimation. This parameter will decrease the number of samples per second that are actually drawn in the Source display.&lt;br /&gt;
&lt;br /&gt;
===SourceChGain===&lt;br /&gt;
Gain for each channel. &lt;br /&gt;
&lt;br /&gt;
===SourceChOffset===&lt;br /&gt;
Offset for each channel.&lt;br /&gt;
&lt;br /&gt;
===ChannelNames===&lt;br /&gt;
Names of each channel.&lt;br /&gt;
&lt;br /&gt;
===AcquisitionMode===&lt;br /&gt;
Data acquisition mode, it can be: &lt;br /&gt;
*inactive - no recording&lt;br /&gt;
*analog signal acquisition - standard recording mode&lt;br /&gt;
*test signal - a test signal, same on all channels&lt;br /&gt;
&lt;br /&gt;
==Parameters:LiveAmp==&lt;br /&gt;
&lt;br /&gt;
===EegChList===&lt;br /&gt;
List of indexes of EEG channels used. For example, you can write index in any order, like: 21, 3, 5, 6, 7, 8 (the order of channels does not matter). That means that only 6 EEG physical channels will be recorder: 3,5,6,7,8 and 21. Channels may not be listed twice.&lt;br /&gt;
&lt;br /&gt;
===BipolarChannels===&lt;br /&gt;
Checking this option the last 8 of 32 channels will be bipolar. When user wants to record bipolar channel, he/she must put appropriate indexes in the &#039;EegCHList&#039; (indexes between 25 and 32). &lt;br /&gt;
&lt;br /&gt;
===AuxChList===&lt;br /&gt;
List of indexes of AUX channels. For example, if there are 6 AUX available, you can put 1, 2, 5, 6. That mans that only 4 AUX channel will be recorder, with indexes 1,2, 5 and 6.&lt;br /&gt;
&lt;br /&gt;
===ACCList===&lt;br /&gt;
List of indexes of Acc (acceleration sensor) channels. There are 3 Acc channels, with indexes 1(x), 2(y) and 3(z).&lt;br /&gt;
&lt;br /&gt;
===TriggerChList===&lt;br /&gt;
List of indexes of trigger channels. There is one analog and 8 digital channels. The order of indexes can be used in the same manner as EEG and AUX channel indexes. &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>Ratko</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:LiveAmpADC&amp;diff=7666</id>
		<title>Contributions:LiveAmpADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:LiveAmpADC&amp;diff=7666"/>
		<updated>2017-01-17T13:48:54Z</updated>

		<summary type="html">&lt;p&gt;Ratko: /* Parameters:LiveAmpADC */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;LiveAmpADC&lt;br /&gt;
&lt;br /&gt;
==Function==&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;LiveAmpADC&#039;&#039; filter acquires data from a &#039;&#039;LiveAmp&#039;&#039; wireless (Bluetooth) amplifier. &lt;br /&gt;
The &#039;&#039;LiveAmp&#039;&#039; is an amplifier/digitizer combination from Brain Products.&lt;br /&gt;
Support for this device in BCI2000 consists of a BCI2000-compatible Source Module (&#039;&#039;LiveAmpSource.exe&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
===LiveAmp Hardware===&lt;br /&gt;
&lt;br /&gt;
Either up to 32 referential EEG/ExG channels (with either passive or active electrodes) or up to 24 EEG/ExG referential channels plus up to 8 bipolar ExG channels (with passive electrodes only).\\ &lt;br /&gt;
8 AUX channel can be attached to AUX input, using AUXbox. Tehre si one Trigger channel and 8 Digital I/=.&lt;br /&gt;
There are built-in 3-axis acceleration sensor with 3 separate channels (x, y, z).\\ &lt;br /&gt;
More on hardware can be found at: [http://www.brainproducts.com/productdetails.php?id=63 LiveAmp Technical details]. &lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
The BlueTooth dongle UBT21 must be installed first. The driver comes with the LiveAmp.&lt;br /&gt;
&lt;br /&gt;
==Parameters:LiveAmpADC==&lt;br /&gt;
Parameters common to all source modules are described under [[User Reference:DataIOFilter]].&lt;br /&gt;
In addition, the &#039;&#039;LiveAmpADC&#039;&#039; provides the following parameters:&lt;br /&gt;
&lt;br /&gt;
[[File:LiveAmpADC.png| 500px| left| ]]&lt;br /&gt;
&lt;br /&gt;
===SerialNumber===&lt;br /&gt;
Each LiveAmp has the serial number. The serial number can be found on the back of the amplifier. This number must be set as a parameter (without letters &amp;quot;LA-&amp;quot;). It is necessary for the Bluetooth connection &lt;br /&gt;
&lt;br /&gt;
===SourceCh===&lt;br /&gt;
The total number of channels: EEG + AUX + Acc + Triggers (see parameters below). &lt;br /&gt;
&lt;br /&gt;
===SampleBlockSize===&lt;br /&gt;
Samples per channel per digitized block. &lt;br /&gt;
Together with the sampling rate, this parameter determines how often per second data are collected, processed, and feedback is updated. For example, at 500 Hz sampling and a SampleBlockSize of 20, the system (e.g., source signal display, signal processing, and stimulus presentation) will be updated 25 times per second.&lt;br /&gt;
&lt;br /&gt;
===SamplingRate===&lt;br /&gt;
The sample rate of the system. All data is either acquired at 250, 500 or 1000Hz&lt;br /&gt;
In case you are experiencing problems by higher sampling rates (e.g., data loss, jerky display, etc.), increase the SampleBlockSize so that you are updating the system less frequently (usually, updating the system 20-30 times per second is sufficient for most applications), and increase Visualize-&amp;gt;VisualizeSourceDecimation. This parameter will decrease the number of samples per second that are actually drawn in the Source display.&lt;br /&gt;
&lt;br /&gt;
===SourceChGain===&lt;br /&gt;
Gain for each channel. &lt;br /&gt;
&lt;br /&gt;
===SourceChOffset===&lt;br /&gt;
Offset for each channel.&lt;br /&gt;
&lt;br /&gt;
===ChannelNames===&lt;br /&gt;
Names of each channel.&lt;br /&gt;
&lt;br /&gt;
===AcquisitionMode===&lt;br /&gt;
Data acquisition mode, it can be: &lt;br /&gt;
*inactive - no recording&lt;br /&gt;
*analog signal acquisition - standard recording mode&lt;br /&gt;
*test signal - a test signal, same on all channels&lt;br /&gt;
&lt;br /&gt;
==Parameters:LiveAmp==&lt;br /&gt;
&lt;br /&gt;
===EegChList===&lt;br /&gt;
List of indexes of EEG channels used. For example, you can write index in any order, like: 21, 3, 5, 6, 7, 8 (the order of channels does not matter). That means that only 6 EEG physical channels will be recorder: 3,5,6,7,8 and 21. Channels may not be listed twice.&lt;br /&gt;
&lt;br /&gt;
===BipolarChannels===&lt;br /&gt;
Checking this option the last 8 of 32 channels will be bipolar. When user wants to record bipolar channel, he/she must put appropriate indexes in the &#039;EegCHList&#039; (indexes between 25 and 32). &lt;br /&gt;
&lt;br /&gt;
===AuxChList===&lt;br /&gt;
List of indexes of AUX channels. For example, if there are 6 AUX available, you can put 1, 2, 5, 6. That mans that only 4 AUX channel will be recorder, with indexes 1,2, 5 and 6.&lt;br /&gt;
&lt;br /&gt;
===ACCList===&lt;br /&gt;
List of indexes of Acc (acceleration sensor) channels. There are 3 Acc channels, with indexes 1(x), 2(y) and 3(z).&lt;br /&gt;
&lt;br /&gt;
===TriggerChList===&lt;br /&gt;
List of indexes of trigger channels. There is one analog and 8 digital channels. The order of indexes can be used in the same manner as EEG and AUX channel indexes. &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>Ratko</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:LiveAmpADC&amp;diff=7665</id>
		<title>Contributions:LiveAmpADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:LiveAmpADC&amp;diff=7665"/>
		<updated>2017-01-17T13:47:17Z</updated>

		<summary type="html">&lt;p&gt;Ratko: /* Parameters:LiveAmpADC */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;LiveAmpADC&lt;br /&gt;
&lt;br /&gt;
==Function==&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;LiveAmpADC&#039;&#039; filter acquires data from a &#039;&#039;LiveAmp&#039;&#039; wireless (Bluetooth) amplifier. &lt;br /&gt;
The &#039;&#039;LiveAmp&#039;&#039; is an amplifier/digitizer combination from Brain Products.&lt;br /&gt;
Support for this device in BCI2000 consists of a BCI2000-compatible Source Module (&#039;&#039;LiveAmpSource.exe&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
===LiveAmp Hardware===&lt;br /&gt;
&lt;br /&gt;
Either up to 32 referential EEG/ExG channels (with either passive or active electrodes) or up to 24 EEG/ExG referential channels plus up to 8 bipolar ExG channels (with passive electrodes only).\\ &lt;br /&gt;
8 AUX channel can be attached to AUX input, using AUXbox. Tehre si one Trigger channel and 8 Digital I/=.&lt;br /&gt;
There are built-in 3-axis acceleration sensor with 3 separate channels (x, y, z).\\ &lt;br /&gt;
More on hardware can be found at: [http://www.brainproducts.com/productdetails.php?id=63 LiveAmp Technical details]. &lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
The BlueTooth dongle UBT21 must be installed first. The driver comes with the LiveAmp.&lt;br /&gt;
&lt;br /&gt;
==Parameters:LiveAmpADC==&lt;br /&gt;
Parameters common to all source modules are described under [[User Reference:DataIOFilter]].&lt;br /&gt;
In addition, the &#039;&#039;LiveAmpADC&#039;&#039; provides the following parameters:&lt;br /&gt;
&lt;br /&gt;
[[File:LiveAmpADC.png|500px|left]]&lt;br /&gt;
&lt;br /&gt;
===SerialNumber===&lt;br /&gt;
Each LiveAmp has the serial number. The serial number can be found on the back of the amplifier. This number must be set as a parameter (without letters &amp;quot;LA-&amp;quot;). It is necessary for the Bluetooth connection &lt;br /&gt;
&lt;br /&gt;
===SourceCh===&lt;br /&gt;
The total number of channels: EEG + AUX + Acc + Triggers (see parameters below). &lt;br /&gt;
&lt;br /&gt;
===SampleBlockSize===&lt;br /&gt;
Samples per channel per digitized block. &lt;br /&gt;
Together with the sampling rate, this parameter determines how often per second data are collected, processed, and feedback is updated. For example, at 500 Hz sampling and a SampleBlockSize of 20, the system (e.g., source signal display, signal processing, and stimulus presentation) will be updated 25 times per second.&lt;br /&gt;
&lt;br /&gt;
===SamplingRate===&lt;br /&gt;
The sample rate of the system. All data is either acquired at 250, 500 or 1000Hz&lt;br /&gt;
In case you are experiencing problems by higher sampling rates (e.g., data loss, jerky display, etc.), increase the SampleBlockSize so that you are updating the system less frequently (usually, updating the system 20-30 times per second is sufficient for most applications), and increase Visualize-&amp;gt;VisualizeSourceDecimation. This parameter will decrease the number of samples per second that are actually drawn in the Source display.&lt;br /&gt;
&lt;br /&gt;
===SourceChGain===&lt;br /&gt;
Gain for each channel. &lt;br /&gt;
&lt;br /&gt;
===SourceChOffset===&lt;br /&gt;
Offset for each channel.&lt;br /&gt;
&lt;br /&gt;
===ChannelNames===&lt;br /&gt;
Names of each channel.&lt;br /&gt;
&lt;br /&gt;
===AcquisitionMode===&lt;br /&gt;
Data acquisition mode, it can be: &lt;br /&gt;
*inactive - no recording&lt;br /&gt;
*analog signal acquisition - standard recording mode&lt;br /&gt;
*test signal - a test signal, same on all channels&lt;br /&gt;
&lt;br /&gt;
==Parameters:LiveAmp==&lt;br /&gt;
&lt;br /&gt;
===EegChList===&lt;br /&gt;
List of indexes of EEG channels used. For example, you can write index in any order, like: 21, 3, 5, 6, 7, 8 (the order of channels does not matter). That means that only 6 EEG physical channels will be recorder: 3,5,6,7,8 and 21. Channels may not be listed twice.&lt;br /&gt;
&lt;br /&gt;
===BipolarChannels===&lt;br /&gt;
Checking this option the last 8 of 32 channels will be bipolar. When user wants to record bipolar channel, he/she must put appropriate indexes in the &#039;EegCHList&#039; (indexes between 25 and 32). &lt;br /&gt;
&lt;br /&gt;
===AuxChList===&lt;br /&gt;
List of indexes of AUX channels. For example, if there are 6 AUX available, you can put 1, 2, 5, 6. That mans that only 4 AUX channel will be recorder, with indexes 1,2, 5 and 6.&lt;br /&gt;
&lt;br /&gt;
===ACCList===&lt;br /&gt;
List of indexes of Acc (acceleration sensor) channels. There are 3 Acc channels, with indexes 1(x), 2(y) and 3(z).&lt;br /&gt;
&lt;br /&gt;
===TriggerChList===&lt;br /&gt;
List of indexes of trigger channels. There is one analog and 8 digital channels. The order of indexes can be used in the same manner as EEG and AUX channel indexes. &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>Ratko</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:LiveAmpADC&amp;diff=7664</id>
		<title>Contributions:LiveAmpADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:LiveAmpADC&amp;diff=7664"/>
		<updated>2017-01-17T13:46:54Z</updated>

		<summary type="html">&lt;p&gt;Ratko: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;LiveAmpADC&lt;br /&gt;
&lt;br /&gt;
==Function==&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;LiveAmpADC&#039;&#039; filter acquires data from a &#039;&#039;LiveAmp&#039;&#039; wireless (Bluetooth) amplifier. &lt;br /&gt;
The &#039;&#039;LiveAmp&#039;&#039; is an amplifier/digitizer combination from Brain Products.&lt;br /&gt;
Support for this device in BCI2000 consists of a BCI2000-compatible Source Module (&#039;&#039;LiveAmpSource.exe&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
===LiveAmp Hardware===&lt;br /&gt;
&lt;br /&gt;
Either up to 32 referential EEG/ExG channels (with either passive or active electrodes) or up to 24 EEG/ExG referential channels plus up to 8 bipolar ExG channels (with passive electrodes only).\\ &lt;br /&gt;
8 AUX channel can be attached to AUX input, using AUXbox. Tehre si one Trigger channel and 8 Digital I/=.&lt;br /&gt;
There are built-in 3-axis acceleration sensor with 3 separate channels (x, y, z).\\ &lt;br /&gt;
More on hardware can be found at: [http://www.brainproducts.com/productdetails.php?id=63 LiveAmp Technical details]. &lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
The BlueTooth dongle UBT21 must be installed first. The driver comes with the LiveAmp.&lt;br /&gt;
&lt;br /&gt;
==Parameters:LiveAmpADC==&lt;br /&gt;
Parameters common to all source modules are described under [[User Reference:DataIOFilter]].&lt;br /&gt;
In addition, the &#039;&#039;LiveAmpADC&#039;&#039; provides the following parameters:&lt;br /&gt;
&lt;br /&gt;
===SerialNumber===&lt;br /&gt;
Each LiveAmp has the serial number. The serial number can be found on the back of the amplifier. This number must be set as a parameter (without letters &amp;quot;LA-&amp;quot;). It is necessary for the Bluetooth connection &lt;br /&gt;
&lt;br /&gt;
===SourceCh===&lt;br /&gt;
The total number of channels: EEG + AUX + Acc + Triggers (see parameters below). &lt;br /&gt;
&lt;br /&gt;
===SampleBlockSize===&lt;br /&gt;
Samples per channel per digitized block. &lt;br /&gt;
Together with the sampling rate, this parameter determines how often per second data are collected, processed, and feedback is updated. For example, at 500 Hz sampling and a SampleBlockSize of 20, the system (e.g., source signal display, signal processing, and stimulus presentation) will be updated 25 times per second.&lt;br /&gt;
&lt;br /&gt;
===SamplingRate===&lt;br /&gt;
The sample rate of the system. All data is either acquired at 250, 500 or 1000Hz&lt;br /&gt;
In case you are experiencing problems by higher sampling rates (e.g., data loss, jerky display, etc.), increase the SampleBlockSize so that you are updating the system less frequently (usually, updating the system 20-30 times per second is sufficient for most applications), and increase Visualize-&amp;gt;VisualizeSourceDecimation. This parameter will decrease the number of samples per second that are actually drawn in the Source display.&lt;br /&gt;
&lt;br /&gt;
===SourceChGain===&lt;br /&gt;
Gain for each channel. &lt;br /&gt;
&lt;br /&gt;
===SourceChOffset===&lt;br /&gt;
Offset for each channel.&lt;br /&gt;
&lt;br /&gt;
===ChannelNames===&lt;br /&gt;
Names of each channel.&lt;br /&gt;
&lt;br /&gt;
===AcquisitionMode===&lt;br /&gt;
Data acquisition mode, it can be: &lt;br /&gt;
*inactive - no recording&lt;br /&gt;
*analog signal acquisition - standard recording mode&lt;br /&gt;
*test signal - a test signal, same on all channels&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Parameters:LiveAmp==&lt;br /&gt;
&lt;br /&gt;
===EegChList===&lt;br /&gt;
List of indexes of EEG channels used. For example, you can write index in any order, like: 21, 3, 5, 6, 7, 8 (the order of channels does not matter). That means that only 6 EEG physical channels will be recorder: 3,5,6,7,8 and 21. Channels may not be listed twice.&lt;br /&gt;
&lt;br /&gt;
===BipolarChannels===&lt;br /&gt;
Checking this option the last 8 of 32 channels will be bipolar. When user wants to record bipolar channel, he/she must put appropriate indexes in the &#039;EegCHList&#039; (indexes between 25 and 32). &lt;br /&gt;
&lt;br /&gt;
===AuxChList===&lt;br /&gt;
List of indexes of AUX channels. For example, if there are 6 AUX available, you can put 1, 2, 5, 6. That mans that only 4 AUX channel will be recorder, with indexes 1,2, 5 and 6.&lt;br /&gt;
&lt;br /&gt;
===ACCList===&lt;br /&gt;
List of indexes of Acc (acceleration sensor) channels. There are 3 Acc channels, with indexes 1(x), 2(y) and 3(z).&lt;br /&gt;
&lt;br /&gt;
===TriggerChList===&lt;br /&gt;
List of indexes of trigger channels. There is one analog and 8 digital channels. The order of indexes can be used in the same manner as EEG and AUX channel indexes. &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>Ratko</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=File:LiveAmpADC.png&amp;diff=7663</id>
		<title>File:LiveAmpADC.png</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=File:LiveAmpADC.png&amp;diff=7663"/>
		<updated>2017-01-17T13:41:17Z</updated>

		<summary type="html">&lt;p&gt;Ratko: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ratko</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:LiveAmpADC&amp;diff=7662</id>
		<title>Contributions:LiveAmpADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:LiveAmpADC&amp;diff=7662"/>
		<updated>2017-01-17T13:40:01Z</updated>

		<summary type="html">&lt;p&gt;Ratko: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;LiveAmpADC&lt;br /&gt;
&lt;br /&gt;
==Function==&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;LiveAmpADC&#039;&#039; filter acquires data from a &#039;&#039;LiveAmp&#039;&#039; wireless (Bluetooth) amplifier. &lt;br /&gt;
The &#039;&#039;LiveAmp&#039;&#039; is an amplifier/digitizer combination from Brain Products.&lt;br /&gt;
Support for this device in BCI2000 consists of a BCI2000-compatible Source Module (&#039;&#039;LiveAmpSource.exe&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
===LiveAmp Hardware===&lt;br /&gt;
&lt;br /&gt;
Either up to 32 referential EEG/ExG channels (with either passive or active electrodes) or up to 24 EEG/ExG referential channels plus up to 8 bipolar ExG channels (with passive electrodes only).\\ &lt;br /&gt;
8 AUX channel can be attached to AUX input, using AUXbox. Tehre si one Trigger channel and 8 Digital I/=.&lt;br /&gt;
There are built-in 3-axis acceleration sensor with 3 separate channels (x, y, z).\\ &lt;br /&gt;
More on hardware can be found at: [http://www.brainproducts.com/productdetails.php?id=63 LiveAmp Technical details]. &lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
The BlueTooth dongle UBT21 must be installed first. The driver comes with the LiveAmp.&lt;br /&gt;
&lt;br /&gt;
[[File:Example.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Parameters:LiveAmpADC==&lt;br /&gt;
Parameters common to all source modules are described under [[User Reference:DataIOFilter]].&lt;br /&gt;
In addition, the &#039;&#039;LiveAmpADC&#039;&#039; provides the following parameters:&lt;br /&gt;
&lt;br /&gt;
===SerialNumber===&lt;br /&gt;
Each LiveAmp has the serial number. The serial number can be found on the back of the amplifier. This number must be set as a parameter (without letters &amp;quot;LA-&amp;quot;). It is necessary for the Bluetooth connection &lt;br /&gt;
&lt;br /&gt;
===SourceCh===&lt;br /&gt;
The total number of channels: EEG + AUX + Acc + Triggers (see parameters below). &lt;br /&gt;
&lt;br /&gt;
===SampleBlockSize===&lt;br /&gt;
Samples per channel per digitized block. &lt;br /&gt;
Together with the sampling rate, this parameter determines how often per second data are collected, processed, and feedback is updated. For example, at 500 Hz sampling and a SampleBlockSize of 20, the system (e.g., source signal display, signal processing, and stimulus presentation) will be updated 25 times per second.&lt;br /&gt;
&lt;br /&gt;
===SamplingRate===&lt;br /&gt;
The sample rate of the system. All data is either acquired at 250, 500 or 1000Hz&lt;br /&gt;
In case you are experiencing problems by higher sampling rates (e.g., data loss, jerky display, etc.), increase the SampleBlockSize so that you are updating the system less frequently (usually, updating the system 20-30 times per second is sufficient for most applications), and increase Visualize-&amp;gt;VisualizeSourceDecimation. This parameter will decrease the number of samples per second that are actually drawn in the Source display.&lt;br /&gt;
&lt;br /&gt;
===SourceChGain===&lt;br /&gt;
Gain for each channel. &lt;br /&gt;
&lt;br /&gt;
===SourceChOffset===&lt;br /&gt;
Offset for each channel.&lt;br /&gt;
&lt;br /&gt;
===ChannelNames===&lt;br /&gt;
Names of each channel.&lt;br /&gt;
&lt;br /&gt;
===AcquisitionMode===&lt;br /&gt;
Data acquisition mode, it can be: &lt;br /&gt;
*inactive - no recording&lt;br /&gt;
*analog signal acquisition - standard recording mode&lt;br /&gt;
*test signal - a test signal, same on all channels&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Parameters:LiveAmp==&lt;br /&gt;
&lt;br /&gt;
===EegChList===&lt;br /&gt;
List of indexes of EEG channels used. For example, you can write index in any order, like: 21, 3, 5, 6, 7, 8 (the order of channels does not matter). That means that only 6 EEG physical channels will be recorder: 3,5,6,7,8 and 21. Channels may not be listed twice.&lt;br /&gt;
&lt;br /&gt;
===BipolarChannels===&lt;br /&gt;
Checking this option the last 8 of 32 channels will be bipolar. When user wants to record bipolar channel, he/she must put appropriate indexes in the &#039;EegCHList&#039; (indexes between 25 and 32). &lt;br /&gt;
&lt;br /&gt;
===AuxChList===&lt;br /&gt;
List of indexes of AUX channels. For example, if there are 6 AUX available, you can put 1, 2, 5, 6. That mans that only 4 AUX channel will be recorder, with indexes 1,2, 5 and 6.&lt;br /&gt;
&lt;br /&gt;
===ACCList===&lt;br /&gt;
List of indexes of Acc (acceleration sensor) channels. There are 3 Acc channels, with indexes 1(x), 2(y) and 3(z).&lt;br /&gt;
&lt;br /&gt;
===TriggerChList===&lt;br /&gt;
List of indexes of trigger channels. There is one analog and 8 digital channels. The order of indexes can be used in the same manner as EEG and AUX channel indexes. &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>Ratko</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:LiveAmpADC&amp;diff=7661</id>
		<title>Contributions:LiveAmpADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:LiveAmpADC&amp;diff=7661"/>
		<updated>2017-01-17T12:00:43Z</updated>

		<summary type="html">&lt;p&gt;Ratko: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;LiveAmpADC&lt;br /&gt;
&lt;br /&gt;
==Function==&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;LiveAmpADC&#039;&#039; filter acquires data from a &#039;&#039;LiveAmp&#039;&#039; wireless (Bluetooth) amplifier. &lt;br /&gt;
The &#039;&#039;LiveAmp&#039;&#039; is an amplifier/digitizer combination from Brain Products.&lt;br /&gt;
Support for this device in BCI2000 consists of a BCI2000-compatible Source Module (&#039;&#039;LiveAmpSource.exe&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
===LiveAmp Hardware===&lt;br /&gt;
&lt;br /&gt;
Either up to 32 referential EEG/ExG channels (with either passive or active electrodes) or up to 24 EEG/ExG referential channels plus up to 8 bipolar ExG channels (with passive electrodes only).\\ &lt;br /&gt;
8 AUX channel can be attached to AUX input, using AUXbox. Tehre si one Trigger channel and 8 Digital I/=.&lt;br /&gt;
There are built-in 3-axis acceleration sensor with 3 separate channels (x, y, z).\\ &lt;br /&gt;
More on hardware can be found at: [http://www.brainproducts.com/productdetails.php?id=63 LiveAmp Technical details]. &lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
The BlueTooth dongle UBT21 must be installed first. The driver comes with the LiveAmp.&lt;br /&gt;
&lt;br /&gt;
==Parameters:LiveAmpADC==&lt;br /&gt;
Parameters common to all source modules are described under [[User Reference:DataIOFilter]].&lt;br /&gt;
In addition, the &#039;&#039;LiveAmpADC&#039;&#039; provides the following parameters:&lt;br /&gt;
&lt;br /&gt;
===SerialNumber===&lt;br /&gt;
Each LiveAmp has the serial number. The serial number can be found on the back of the amplifier. This number must be set as a parameter (without letters &amp;quot;LA-&amp;quot;). It is necessary for the Bluetooth connection &lt;br /&gt;
&lt;br /&gt;
===SourceCh===&lt;br /&gt;
The total number of channels: EEG + AUX + Acc + Triggers (see parameters below). &lt;br /&gt;
&lt;br /&gt;
===SampleBlockSize===&lt;br /&gt;
Samples per channel per digitized block. &lt;br /&gt;
Together with the sampling rate, this parameter determines how often per second data are collected, processed, and feedback is updated. For example, at 500 Hz sampling and a SampleBlockSize of 20, the system (e.g., source signal display, signal processing, and stimulus presentation) will be updated 25 times per second.&lt;br /&gt;
&lt;br /&gt;
===SamplingRate===&lt;br /&gt;
The sample rate of the system. All data is either acquired at 250, 500 or 1000Hz&lt;br /&gt;
In case you are experiencing problems by higher sampling rates (e.g., data loss, jerky display, etc.), increase the SampleBlockSize so that you are updating the system less frequently (usually, updating the system 20-30 times per second is sufficient for most applications), and increase Visualize-&amp;gt;VisualizeSourceDecimation. This parameter will decrease the number of samples per second that are actually drawn in the Source display.&lt;br /&gt;
&lt;br /&gt;
===SourceChGain===&lt;br /&gt;
Gain for each channel. &lt;br /&gt;
&lt;br /&gt;
===SourceChOffset===&lt;br /&gt;
Offset for each channel.&lt;br /&gt;
&lt;br /&gt;
===ChannelNames===&lt;br /&gt;
Names of each channel.&lt;br /&gt;
&lt;br /&gt;
===AcquisitionMode===&lt;br /&gt;
Data acquisition mode, it can be: inactive, analog signal acquisition and test signal.&lt;br /&gt;
&lt;br /&gt;
==Parameters:LiveAmp==&lt;br /&gt;
&lt;br /&gt;
===EegChList===&lt;br /&gt;
List of indexes of EEG channels used. For example, you can write index in any order, like: 21, 3, 5, 6, 7, 8. That means that only 6 EEG physical channels will be recorder: 3,5,6,7,8 and 21.&lt;br /&gt;
&lt;br /&gt;
===BipolarChannels===&lt;br /&gt;
Checking this option the last 8 of 32 channels will be bipolar. When user wants to record bipolar channel, he/she must put appropriate indexes in the &#039;EegCHList&#039; (indexes between 25 and 32). &lt;br /&gt;
&lt;br /&gt;
===AuxChList===&lt;br /&gt;
List of indexes of AUX channels. For example, if there are 6 AUX available, you can put 1, 2, 5, 6. That mans that only 4 AUX channel will be recorder, with indexes 1,2, 5 and 6.&lt;br /&gt;
&lt;br /&gt;
===ACCList===&lt;br /&gt;
List of indexes of Acc (acceleration sensor) channels. There are 3 Acc channels, with indexes 1(x) ,2(y) and 3(z).&lt;br /&gt;
&lt;br /&gt;
===TriggerChList===&lt;br /&gt;
List of indexes of trigger channels. There is one analog and 8 digital channels. &lt;br /&gt;
&lt;br /&gt;
===SourceChList===&lt;br /&gt;
The list of channels that should be acquired from the vAmp device.&lt;br /&gt;
The total number of channels listed should correspond to &#039;&#039;SourceCh&#039;&#039;. &lt;br /&gt;
The order of channels does not matter; i.e., &#039;1 2 3 4&#039; is the same as &#039;2 3 1 4&#039;. The channels are always in ascending order.&lt;br /&gt;
Channels may not be listed twice; e.g., entering &#039;1 2 3 4 5 6 7 1&#039; if &#039;&#039;SourceCh&#039;&#039; = &#039;8&#039; will result in an error.&lt;br /&gt;
If this parameter is left blank (the default), then all channels are acquired.&lt;br /&gt;
For the V-Amp 16, channels 1-16 are EEG channels, 17-18 are Auxiliary channels, and 19 are the 8 digital channels stored in bits.&lt;br /&gt;
For the V-Amp 8, channels 1-8 are EEG channels, 9-10 are Auxiliary channels and 11 is the digital channel.&lt;br /&gt;
 &lt;br /&gt;
===AcquisitionMode===&lt;br /&gt;
*If set to &#039;&#039;analog signal acquisition&#039;&#039;, the V-Amp records analog signal voltages (default). &lt;br /&gt;
*If set to &#039;&#039;high-speed acquisition&#039;&#039;, the V-Amp records analog signals at 20 kHz instead of 2000 Hz.&lt;br /&gt;
*If set to &#039;&#039;Calibration&#039;&#039;, the signal output is a square wave test signal generated by the V-Amp (which can be used to verify correct system calibration). &lt;br /&gt;
*If set to &#039;&#039;Impedance&#039;&#039;, impedance data is recorded instead of the signal. The impedance values are showm in the V-Amp display. Values are currently updated 3 times per second. &lt;br /&gt;
*If set to &#039;&#039;high-speed calibration&#039;&#039;, a square wave is generated at 20 kHz.&lt;br /&gt;
&lt;br /&gt;
==Additional Information==&lt;br /&gt;
&lt;br /&gt;
===Data Storage===&lt;br /&gt;
*The signal is originally recorded from the V-Amp as 32-bit integers, and converted into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. &lt;br /&gt;
*The auxiliary input units are in volts.&lt;br /&gt;
*(&#039;&#039;SourceChOffset&#039;&#039; is assumed (and required) to be zero for all channels.) &lt;br /&gt;
BCI2000 Signal Processing or any offline analysis routine can derive, as with any other BCI2000 source module, sample values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; by subtracting, from each stored sample, &#039;&#039;SourceChOffset&#039;&#039; (i.e., zero), and multiplying it with &#039;&#039;SourceChGain&#039;&#039; for each channel. If &#039;&#039;SignalType&#039;&#039; is set to float32, data samples are stored in units of &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. In this case, &#039;&#039;SourceChGain&#039;&#039; should be a list of 1&#039;s (because the conversion factor between data samples into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; is 1.0 for each channel). Still, when values other than 0 and 1 are specified, a consistent data file will be produced, i.e. values will be transformed before they are written to the file, such that applying SourceChOffset and SourceChGain will reproduce the original values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===V-Amp Service Troubleshooting===&lt;br /&gt;
Please note that when BrainVision Recorder was running on the computer before you are using BCI2000 there is a daemon service called &amp;quot;VAmpService.exe&amp;quot; running in background on the computer. This service must be stopped before using V-Amp amplifier. &lt;br /&gt;
&lt;br /&gt;
[[File:Log_VampServiceDetected.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to stop the “VAmpService.exe”, the following steps need to be done:&lt;br /&gt;
&lt;br /&gt;
1. Open Windows Start menu by clicking on icon [[File:StartWin.png]]  in left-bottom corner.&lt;br /&gt;
&lt;br /&gt;
2. In Windows Start menu type Services, and click on „Services“ when it appears in the menu. &lt;br /&gt;
&lt;br /&gt;
[[File:VampServiceOff_step1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Service window opens, showing the list of services running on your PC.&lt;br /&gt;
   &lt;br /&gt;
[[File:ServiceExplorer.png]]&lt;br /&gt;
&lt;br /&gt;
4. Search for the „VAmpService“ in the list.&lt;br /&gt;
&lt;br /&gt;
5. Right-click on „VAmpService“ and the drop-down menu will appear.&lt;br /&gt;
&lt;br /&gt;
6. From the drop-down menu select “Stop”. This action stops the service.&lt;br /&gt;
&lt;br /&gt;
Now you can use V-Amp device.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A more convenient way to solve this problem is to edit the *.bat-file for your experiment like described below, especially if you are using BCI2000 and BrainVision Recorder alternately. This avoids problems with BrainVision Recorder that you might encounter when killing the &amp;quot;VampService.exe&amp;quot; process.&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Uninstall&#039;&#039;&#039;&lt;br /&gt;
 cd ..\prog&lt;br /&gt;
 start &#039;&#039;&#039;vAmpSource.exe&#039;&#039;&#039; 127.0.0.1&lt;br /&gt;
 start ARSignalProcessing 127.0.0.1&lt;br /&gt;
 start CursorTask.exe 127.0.0.1&lt;br /&gt;
 &#039;&#039;&#039;operator.exe&#039;&#039;&#039;&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Install&#039;&#039;&#039;&lt;br /&gt;
 cd ..&lt;br /&gt;
&lt;br /&gt;
Make sure that the path to &amp;quot;VAmpService.exe&amp;quot; is correct on your system.&lt;br /&gt;
Please keep in mind that you have to customize the *.bat-file shown above regarding your experiment. For using the V-Amp in the way described, the highlightened parts are important.&lt;br /&gt;
Please note that the commandline-window will stay open during the usage of BCI2000 (unlike when using the other *.bat-files) because of the operator.exe is started without the &amp;quot;start&amp;quot;-parameter. This is necessary to make sure that the VAmpService.exe process is started again just when BCI2000 is closed.&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>Ratko</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:LiveAmpADC&amp;diff=7660</id>
		<title>Contributions:LiveAmpADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:LiveAmpADC&amp;diff=7660"/>
		<updated>2017-01-17T11:45:21Z</updated>

		<summary type="html">&lt;p&gt;Ratko: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;LiveAmpADC&lt;br /&gt;
&lt;br /&gt;
==Function==&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;LiveAmpADC&#039;&#039; filter acquires data from a &#039;&#039;LiveAmp&#039;&#039; wireless (Bluetooth) amplifier. &lt;br /&gt;
The &#039;&#039;LiveAmp&#039;&#039; is an amplifier/digitizer combination from Brain Products.&lt;br /&gt;
Support for this device in BCI2000 consists of a BCI2000-compatible Source Module (&#039;&#039;LiveAmpSource.exe&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
===LiveAmp Hardware===&lt;br /&gt;
&lt;br /&gt;
Either up to 32 referential EEG/ExG channels (with either passive or active electrodes) or up to 24 EEG/ExG referential channels plus up to 8 bipolar ExG channels (with passive electrodes only).\\ &lt;br /&gt;
8 AUX channel can be attached to AUX input, using AUXbox. Tehre si one Trigger channel and 8 Digital I/=.&lt;br /&gt;
There are built-in 3-axis acceleration sensor with 3 separate channels (x, y, z).\\ &lt;br /&gt;
More on hardware can be found at: [http://www.brainproducts.com/productdetails.php?id=63 LiveAmp Technical details]. &lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
The BlueTooth dongle UBT21 must be installed first. The driver comes with the LiveAmp.&lt;br /&gt;
&lt;br /&gt;
==Parameters:LiveAmpADC==&lt;br /&gt;
Parameters common to all source modules are described under [[User Reference:DataIOFilter]].&lt;br /&gt;
In addition, the &#039;&#039;LiveAmpADC&#039;&#039; provides the following parameters:&lt;br /&gt;
&lt;br /&gt;
===SerialNumber===&lt;br /&gt;
Each LiveAmp has the serial number. The serial number can be found on the back of the amplifier. This number must be set as a parameter (without letters &amp;quot;LA-&amp;quot;). It is necessary for the Bluetooth connection &lt;br /&gt;
&lt;br /&gt;
===SourceCh===&lt;br /&gt;
The total number of channels: EEG + AUX + Acc + Triggers. &lt;br /&gt;
&lt;br /&gt;
===SampleBlockSize===&lt;br /&gt;
Samples per channel per digitized block. &lt;br /&gt;
Together with the sampling rate, this parameter determines how often per second data are collected, processed, and feedback is updated. For example, at 500 Hz sampling and a SampleBlockSize of 20, the system (e.g., source signal display, signal processing, and stimulus presentation) will be updated 25 times per second.&lt;br /&gt;
&lt;br /&gt;
===SamplingRate===&lt;br /&gt;
The sample rate of the system. All data is either acquired at 250, 500 or 1000Hz&lt;br /&gt;
In case you are experiencing problems by higher sampling rates (e.g., data loss, jerky display, etc.), increase the SampleBlockSize so that you are updating the system less frequently (usually, updating the system 20-30 times per second is sufficient for most applications), and increase Visualize-&amp;gt;VisualizeSourceDecimation. This parameter will decrease the number of samples per second that are actually drawn in the Source display.&lt;br /&gt;
&lt;br /&gt;
===SourceChGain===&lt;br /&gt;
Gain for each channel.&lt;br /&gt;
&lt;br /&gt;
===SourceChOffset===&lt;br /&gt;
Offset for each channel.&lt;br /&gt;
&lt;br /&gt;
===ChannelNames===&lt;br /&gt;
Names of each channel.&lt;br /&gt;
&lt;br /&gt;
===AcquisitionMode===&lt;br /&gt;
Data acquisition mode, it can be: inactive, analog signal acquisition and test signal.&lt;br /&gt;
&lt;br /&gt;
==Parameters:LiveAmp==&lt;br /&gt;
&lt;br /&gt;
===EegChList===&lt;br /&gt;
List of indexes of EEG channels used. &lt;br /&gt;
&lt;br /&gt;
===SourceChList===&lt;br /&gt;
The list of channels that should be acquired from the vAmp device.&lt;br /&gt;
The total number of channels listed should correspond to &#039;&#039;SourceCh&#039;&#039;. &lt;br /&gt;
The order of channels does not matter; i.e., &#039;1 2 3 4&#039; is the same as &#039;2 3 1 4&#039;. The channels are always in ascending order.&lt;br /&gt;
Channels may not be listed twice; e.g., entering &#039;1 2 3 4 5 6 7 1&#039; if &#039;&#039;SourceCh&#039;&#039; = &#039;8&#039; will result in an error.&lt;br /&gt;
If this parameter is left blank (the default), then all channels are acquired.&lt;br /&gt;
For the V-Amp 16, channels 1-16 are EEG channels, 17-18 are Auxiliary channels, and 19 are the 8 digital channels stored in bits.&lt;br /&gt;
For the V-Amp 8, channels 1-8 are EEG channels, 9-10 are Auxiliary channels and 11 is the digital channel.&lt;br /&gt;
 &lt;br /&gt;
===AcquisitionMode===&lt;br /&gt;
*If set to &#039;&#039;analog signal acquisition&#039;&#039;, the V-Amp records analog signal voltages (default). &lt;br /&gt;
*If set to &#039;&#039;high-speed acquisition&#039;&#039;, the V-Amp records analog signals at 20 kHz instead of 2000 Hz.&lt;br /&gt;
*If set to &#039;&#039;Calibration&#039;&#039;, the signal output is a square wave test signal generated by the V-Amp (which can be used to verify correct system calibration). &lt;br /&gt;
*If set to &#039;&#039;Impedance&#039;&#039;, impedance data is recorded instead of the signal. The impedance values are showm in the V-Amp display. Values are currently updated 3 times per second. &lt;br /&gt;
*If set to &#039;&#039;high-speed calibration&#039;&#039;, a square wave is generated at 20 kHz.&lt;br /&gt;
&lt;br /&gt;
==Additional Information==&lt;br /&gt;
&lt;br /&gt;
===Data Storage===&lt;br /&gt;
*The signal is originally recorded from the V-Amp as 32-bit integers, and converted into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. &lt;br /&gt;
*The auxiliary input units are in volts.&lt;br /&gt;
*(&#039;&#039;SourceChOffset&#039;&#039; is assumed (and required) to be zero for all channels.) &lt;br /&gt;
BCI2000 Signal Processing or any offline analysis routine can derive, as with any other BCI2000 source module, sample values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; by subtracting, from each stored sample, &#039;&#039;SourceChOffset&#039;&#039; (i.e., zero), and multiplying it with &#039;&#039;SourceChGain&#039;&#039; for each channel. If &#039;&#039;SignalType&#039;&#039; is set to float32, data samples are stored in units of &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. In this case, &#039;&#039;SourceChGain&#039;&#039; should be a list of 1&#039;s (because the conversion factor between data samples into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; is 1.0 for each channel). Still, when values other than 0 and 1 are specified, a consistent data file will be produced, i.e. values will be transformed before they are written to the file, such that applying SourceChOffset and SourceChGain will reproduce the original values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===V-Amp Service Troubleshooting===&lt;br /&gt;
Please note that when BrainVision Recorder was running on the computer before you are using BCI2000 there is a daemon service called &amp;quot;VAmpService.exe&amp;quot; running in background on the computer. This service must be stopped before using V-Amp amplifier. &lt;br /&gt;
&lt;br /&gt;
[[File:Log_VampServiceDetected.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to stop the “VAmpService.exe”, the following steps need to be done:&lt;br /&gt;
&lt;br /&gt;
1. Open Windows Start menu by clicking on icon [[File:StartWin.png]]  in left-bottom corner.&lt;br /&gt;
&lt;br /&gt;
2. In Windows Start menu type Services, and click on „Services“ when it appears in the menu. &lt;br /&gt;
&lt;br /&gt;
[[File:VampServiceOff_step1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Service window opens, showing the list of services running on your PC.&lt;br /&gt;
   &lt;br /&gt;
[[File:ServiceExplorer.png]]&lt;br /&gt;
&lt;br /&gt;
4. Search for the „VAmpService“ in the list.&lt;br /&gt;
&lt;br /&gt;
5. Right-click on „VAmpService“ and the drop-down menu will appear.&lt;br /&gt;
&lt;br /&gt;
6. From the drop-down menu select “Stop”. This action stops the service.&lt;br /&gt;
&lt;br /&gt;
Now you can use V-Amp device.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A more convenient way to solve this problem is to edit the *.bat-file for your experiment like described below, especially if you are using BCI2000 and BrainVision Recorder alternately. This avoids problems with BrainVision Recorder that you might encounter when killing the &amp;quot;VampService.exe&amp;quot; process.&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Uninstall&#039;&#039;&#039;&lt;br /&gt;
 cd ..\prog&lt;br /&gt;
 start &#039;&#039;&#039;vAmpSource.exe&#039;&#039;&#039; 127.0.0.1&lt;br /&gt;
 start ARSignalProcessing 127.0.0.1&lt;br /&gt;
 start CursorTask.exe 127.0.0.1&lt;br /&gt;
 &#039;&#039;&#039;operator.exe&#039;&#039;&#039;&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Install&#039;&#039;&#039;&lt;br /&gt;
 cd ..&lt;br /&gt;
&lt;br /&gt;
Make sure that the path to &amp;quot;VAmpService.exe&amp;quot; is correct on your system.&lt;br /&gt;
Please keep in mind that you have to customize the *.bat-file shown above regarding your experiment. For using the V-Amp in the way described, the highlightened parts are important.&lt;br /&gt;
Please note that the commandline-window will stay open during the usage of BCI2000 (unlike when using the other *.bat-files) because of the operator.exe is started without the &amp;quot;start&amp;quot;-parameter. This is necessary to make sure that the VAmpService.exe process is started again just when BCI2000 is closed.&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>Ratko</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:LiveAmpADC&amp;diff=7659</id>
		<title>Contributions:LiveAmpADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:LiveAmpADC&amp;diff=7659"/>
		<updated>2017-01-16T15:24:55Z</updated>

		<summary type="html">&lt;p&gt;Ratko: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;LiveAmpADC&lt;br /&gt;
&lt;br /&gt;
==Function==&lt;br /&gt;
The &#039;&#039;LiveAmpADC&#039;&#039; filter acquires data from a &#039;&#039;LiveAmp&#039;&#039; wireless (Bluetooth) amplifier. &lt;br /&gt;
The &#039;&#039;LiveAmp&#039;&#039; is an amplifier/digitizer combination from Brain Products.&lt;br /&gt;
Support for this device in BCI2000 consists of a BCI2000-compatible Source Module (&#039;&#039;LiveAmpSource.exe&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
===LiveAmp Hardware===&lt;br /&gt;
The LiveAmp consists of 32 independent 24-bit A/D converters that can sample at: 250, 500 and 1000 Hz.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
The necessary system drivers are located in the BCI2000\src\extlib\brainproducts\vamp\ folder. To install the driver, follow these steps:&lt;br /&gt;
&lt;br /&gt;
# Plug in the V-Amp to a USB port. Windows should recognize it, and start to install drivers.&lt;br /&gt;
# Depending on the version of Windows being used, a Found New Hardware dialog should appear. Do NOT search online for drivers; instead, select Don&#039;t Search Online.&lt;br /&gt;
# When it asks you to insert the disc that came with the amplifier, select the option that allows you to browse for the driver.&lt;br /&gt;
# Navigate to BCI2000\src\extlib\brainproducts\vamp\. It should find the driver files, and installed the necessary software.&lt;br /&gt;
# For the last step, copy the files DiBpGmbH.dll and FirstAmp.dll to the BCI2000\prog\ folder.&lt;br /&gt;
# You should now be able to run the vAmpSource.exe module in BCI2000.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
Parameters common to all source modules are described under [[User Reference:DataIOFilter]].&lt;br /&gt;
In addition, the &#039;&#039;vAmpADC&#039;&#039; provides the following parameters:&lt;br /&gt;
&lt;br /&gt;
===SamplingRate===&lt;br /&gt;
The sample rate of the system. All data is either acquired at 2000 Hz or 20 kHz, and then decimated to the desired rate. Therefore, only rates that are integer divisors of the base rates are accepted. In 2000 Hz mode, the valid rates are:&lt;br /&gt;
&lt;br /&gt;
*2000&lt;br /&gt;
*1000&lt;br /&gt;
*666.6&lt;br /&gt;
*500&lt;br /&gt;
*400&lt;br /&gt;
*333.3&lt;br /&gt;
*285.7&lt;br /&gt;
*250&lt;br /&gt;
*222.22&lt;br /&gt;
*200&lt;br /&gt;
&lt;br /&gt;
In 20 kHz mode, 10 times the above rates are valid.&lt;br /&gt;
Prior to decimation, a 2nd-order anti-aliasing Butterworth filter with a corner frequency of 0.45 times the sample rate is applied to the signal.&lt;br /&gt;
All sampling rates are supported for one or more amplifiers. If you are sampling at high rates, the CPU may be overloaded depending on the speed of your computer and the BCI2000 configuration. In case you are experiencing problems (e.g., data loss, jerky display, etc.), increase the SampleBlockSize so that you are updating the system less frequently (usually, updating the system 20-30 times per second is sufficient for most applications), and increase Visualize-&amp;gt;VisualizeSourceDecimation. This parameter will decrease the number of samples per second that are actually drawn in the Source display.&lt;br /&gt;
&lt;br /&gt;
===HPFilterCorner===&lt;br /&gt;
A high-pass digital filter for removing DC offsets. This occurs after data has been read into BCI2000.&lt;br /&gt;
&lt;br /&gt;
===SampleBlockSize===&lt;br /&gt;
Samples per channel per digitized block. &lt;br /&gt;
Together with the sampling rate, this parameter determines how often per second data are collected, processed, and feedback is updated. For example, at 600 Hz sampling and a SampleBlockSize of 20, the system (e.g., source signal display, signal processing, and stimulus presentation) will be updated 30 times per second.&lt;br /&gt;
&lt;br /&gt;
===SourceCh===&lt;br /&gt;
The total number of channels. In high-speed mode, this number may not be higher than 5 (4 channels + digital).&lt;br /&gt;
&lt;br /&gt;
===SourceChList===&lt;br /&gt;
The list of channels that should be acquired from the vAmp device.&lt;br /&gt;
The total number of channels listed should correspond to &#039;&#039;SourceCh&#039;&#039;. &lt;br /&gt;
The order of channels does not matter; i.e., &#039;1 2 3 4&#039; is the same as &#039;2 3 1 4&#039;. The channels are always in ascending order.&lt;br /&gt;
Channels may not be listed twice; e.g., entering &#039;1 2 3 4 5 6 7 1&#039; if &#039;&#039;SourceCh&#039;&#039; = &#039;8&#039; will result in an error.&lt;br /&gt;
If this parameter is left blank (the default), then all channels are acquired.&lt;br /&gt;
For the V-Amp 16, channels 1-16 are EEG channels, 17-18 are Auxiliary channels, and 19 are the 8 digital channels stored in bits.&lt;br /&gt;
For the V-Amp 8, channels 1-8 are EEG channels, 9-10 are Auxiliary channels and 11 is the digital channel.&lt;br /&gt;
 &lt;br /&gt;
===AcquisitionMode===&lt;br /&gt;
*If set to &#039;&#039;analog signal acquisition&#039;&#039;, the V-Amp records analog signal voltages (default). &lt;br /&gt;
*If set to &#039;&#039;high-speed acquisition&#039;&#039;, the V-Amp records analog signals at 20 kHz instead of 2000 Hz.&lt;br /&gt;
*If set to &#039;&#039;Calibration&#039;&#039;, the signal output is a square wave test signal generated by the V-Amp (which can be used to verify correct system calibration). &lt;br /&gt;
*If set to &#039;&#039;Impedance&#039;&#039;, impedance data is recorded instead of the signal. The impedance values are showm in the V-Amp display. Values are currently updated 3 times per second. &lt;br /&gt;
*If set to &#039;&#039;high-speed calibration&#039;&#039;, a square wave is generated at 20 kHz.&lt;br /&gt;
&lt;br /&gt;
==Additional Information==&lt;br /&gt;
&lt;br /&gt;
===Data Storage===&lt;br /&gt;
*The signal is originally recorded from the V-Amp as 32-bit integers, and converted into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. &lt;br /&gt;
*The auxiliary input units are in volts.&lt;br /&gt;
*(&#039;&#039;SourceChOffset&#039;&#039; is assumed (and required) to be zero for all channels.) &lt;br /&gt;
BCI2000 Signal Processing or any offline analysis routine can derive, as with any other BCI2000 source module, sample values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; by subtracting, from each stored sample, &#039;&#039;SourceChOffset&#039;&#039; (i.e., zero), and multiplying it with &#039;&#039;SourceChGain&#039;&#039; for each channel. If &#039;&#039;SignalType&#039;&#039; is set to float32, data samples are stored in units of &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. In this case, &#039;&#039;SourceChGain&#039;&#039; should be a list of 1&#039;s (because the conversion factor between data samples into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; is 1.0 for each channel). Still, when values other than 0 and 1 are specified, a consistent data file will be produced, i.e. values will be transformed before they are written to the file, such that applying SourceChOffset and SourceChGain will reproduce the original values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===V-Amp Service Troubleshooting===&lt;br /&gt;
Please note that when BrainVision Recorder was running on the computer before you are using BCI2000 there is a daemon service called &amp;quot;VAmpService.exe&amp;quot; running in background on the computer. This service must be stopped before using V-Amp amplifier. &lt;br /&gt;
&lt;br /&gt;
[[File:Log_VampServiceDetected.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to stop the “VAmpService.exe”, the following steps need to be done:&lt;br /&gt;
&lt;br /&gt;
1. Open Windows Start menu by clicking on icon [[File:StartWin.png]]  in left-bottom corner.&lt;br /&gt;
&lt;br /&gt;
2. In Windows Start menu type Services, and click on „Services“ when it appears in the menu. &lt;br /&gt;
&lt;br /&gt;
[[File:VampServiceOff_step1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Service window opens, showing the list of services running on your PC.&lt;br /&gt;
   &lt;br /&gt;
[[File:ServiceExplorer.png]]&lt;br /&gt;
&lt;br /&gt;
4. Search for the „VAmpService“ in the list.&lt;br /&gt;
&lt;br /&gt;
5. Right-click on „VAmpService“ and the drop-down menu will appear.&lt;br /&gt;
&lt;br /&gt;
6. From the drop-down menu select “Stop”. This action stops the service.&lt;br /&gt;
&lt;br /&gt;
Now you can use V-Amp device.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A more convenient way to solve this problem is to edit the *.bat-file for your experiment like described below, especially if you are using BCI2000 and BrainVision Recorder alternately. This avoids problems with BrainVision Recorder that you might encounter when killing the &amp;quot;VampService.exe&amp;quot; process.&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Uninstall&#039;&#039;&#039;&lt;br /&gt;
 cd ..\prog&lt;br /&gt;
 start &#039;&#039;&#039;vAmpSource.exe&#039;&#039;&#039; 127.0.0.1&lt;br /&gt;
 start ARSignalProcessing 127.0.0.1&lt;br /&gt;
 start CursorTask.exe 127.0.0.1&lt;br /&gt;
 &#039;&#039;&#039;operator.exe&#039;&#039;&#039;&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Install&#039;&#039;&#039;&lt;br /&gt;
 cd ..&lt;br /&gt;
&lt;br /&gt;
Make sure that the path to &amp;quot;VAmpService.exe&amp;quot; is correct on your system.&lt;br /&gt;
Please keep in mind that you have to customize the *.bat-file shown above regarding your experiment. For using the V-Amp in the way described, the highlightened parts are important.&lt;br /&gt;
Please note that the commandline-window will stay open during the usage of BCI2000 (unlike when using the other *.bat-files) because of the operator.exe is started without the &amp;quot;start&amp;quot;-parameter. This is necessary to make sure that the VAmpService.exe process is started again just when BCI2000 is closed.&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>Ratko</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:LiveAmpADC&amp;diff=7658</id>
		<title>Contributions:LiveAmpADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:LiveAmpADC&amp;diff=7658"/>
		<updated>2017-01-16T15:17:45Z</updated>

		<summary type="html">&lt;p&gt;Ratko: Created page with &amp;quot;LiveAmpADC&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;LiveAmpADC&lt;/div&gt;</summary>
		<author><name>Ratko</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:ADCs&amp;diff=7657</id>
		<title>Contributions:ADCs</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:ADCs&amp;diff=7657"/>
		<updated>2017-01-16T15:16:51Z</updated>

		<summary type="html">&lt;p&gt;Ratko: Add a link to the LiveAmpADC page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following data acquisition filters are available in the [[Contributions:Contents|Contributions]] section of BCI2000:&lt;br /&gt;
&lt;br /&gt;
*[[Contributions:AmpServerProADC]]: Interface to the EGI AmpServerPro.&lt;br /&gt;
*[[Contributions:BioRadioADC]]: Interface to the BioRadio amplifer.&lt;br /&gt;
*[[Contributions:Biosemi2ADC]]: Interface to the Biosemi amplifier.&lt;br /&gt;
*[[Contributions:Blackrock]]: Interface Blackrock devices through CereLink.&lt;br /&gt;
*[[Contributions:B-Alert]]: Interface to B-Alert brain monitoring systems.&lt;br /&gt;
*[[Contributions:DAS_ADC]]: Interface to MeasurementComputing AD cards.&lt;br /&gt;
*[[Contributions:DTADC]]: Interface to Data Translation boards.&lt;br /&gt;
*[[Contributions:Emotiv]]: Interface to the Emotiv EPOC.&lt;br /&gt;
*[[Contributions:FieldTripBufferSource]]: Interface to the FieldTrip buffer.&lt;br /&gt;
*[[Contributions:FilePlayback]]: A source module that replays sessions from recorded data files.&lt;br /&gt;
*[[Contributions:gHIamp]]: Interface to the gHIamp.&lt;br /&gt;
*[[Contributions:gNautilus]]: Interface to the gNautilus bypassing the server&lt;br /&gt;
*[[Contributions:gNautilusNEEDAccess]]: Interface to the gNautilus via g.NEEDAccess.&lt;br /&gt;
*[[Contributions:MicromedADC]]: Interface to the Micromed EEG system.&lt;br /&gt;
*[[Contributions:ModularEEG]]: Interface to the ModularEEG system.&lt;br /&gt;
*[[Contributions:Neuralynx]]: Interface to Neuralynx systems&lt;br /&gt;
*[[Contributions:NIADC]]: Interface to National Instruments boards.&lt;br /&gt;
*[[Contributions:NIDAQ-MX]]: Interface to National Instruments boards using the MX driver.&lt;br /&gt;
*[[Contributions:NIDAQLogger]]: Interface to multiple National Instruments DAQ boards using MX driver (INPUT ONLY).&lt;br /&gt;
*[[Contributions:NIDAQFilter]]: Interface to multiple National Instruments DAQ boards using MX driver (OUTPUT ONLY).&lt;br /&gt;
*[[Contributions:NeuroscanADC]]: Neuroscan Acquire socket protocol client.&lt;br /&gt;
*[[Contributions:NeuroscanAccessSDK]]: Interface to Neuroscan Direct Access SDK.&lt;br /&gt;
*[[Contributions:NeuroSky]]: Interface to Neurosky MindSet.&lt;br /&gt;
*[[Contributions:NicoletOne]]: Interface to NicoletOne nEEG series amplifiers.&lt;br /&gt;
*[[Contributions:ctfneurod]]: CTF RealTime to Neuroscan Acquire relay.&lt;br /&gt;
*[[Contributions:RDAClientADC]]: Brain Vision RDA socket protocol client.&lt;br /&gt;
*[[Contributions:TDTADC]]: Interface to Tucker-Davis Pentusa systems.&lt;br /&gt;
*[[Contributions:TMSiADC]]: Interface to TMSi Refa and Porti systems.&lt;br /&gt;
*[[Contributions:vAmpADC]]: Interface to Brain Products V-amp systems.&lt;br /&gt;
*[[Contributions:EnobioADC]]: Interface to Enobio sensor.&lt;br /&gt;
*[[Contributions:DSISerial]]: Interface to Dry Sensor Interface (DSI) EEG systems by Wearable Sensing.&lt;br /&gt;
*[[Contributions:MicRecorderFilter]]: Interface to the system soundcard, logging audio input.&lt;br /&gt;
*[[Contributions:actiCHampADC]]: Interface to the Brain Products actiCHamp system.&lt;br /&gt;
*[[Contributions:LiveAmpADC]]: Interface to the Brain Products LiveAmp system.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
[[User Reference:Filters]], [[Contributions:How to use a Contributed Source Module]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Contents]][[Category:Data Acquisition]]&lt;/div&gt;</summary>
		<author><name>Ratko</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=7635</id>
		<title>Contributions:vAmpADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=7635"/>
		<updated>2016-06-20T12:47:43Z</updated>

		<summary type="html">&lt;p&gt;Ratko: /* V-Amp Service Troubleshooting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Function==&lt;br /&gt;
The &#039;&#039;vAmpADC&#039;&#039; filter acquires data from a &#039;&#039;V-Amp&#039;&#039; or &#039;&#039;FirstAmp&#039;&#039; EEG amplifier. &lt;br /&gt;
The &#039;&#039;V-Amp&#039;&#039; is an amplifier/digitizer combination from Brain Products.&lt;br /&gt;
Support for this device in BCI2000 consists of a BCI2000-compatible Source Module (&#039;&#039;vAmpSource.exe&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
===V-Amp Hardware===&lt;br /&gt;
The V-Amp consists of 16 independent 24-bit A/D converters that can sample at &lt;br /&gt;
up to 2 kHz per channel (16 channels, plus 2 auxiliary) or 20kHz per channel (4 channels).&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
The necessary system drivers are located in the BCI2000\src\extlib\brainproducts\vamp\ folder. To install the driver, follow these steps:&lt;br /&gt;
&lt;br /&gt;
# Plug in the V-Amp to a USB port. Windows should recognize it, and start to install drivers.&lt;br /&gt;
# Depending on the version of Windows being used, a Found New Hardware dialog should appear. Do NOT search online for drivers; instead, select Don&#039;t Search Online.&lt;br /&gt;
# When it asks you to insert the disc that came with the amplifier, select the option that allows you to browse for the driver.&lt;br /&gt;
# Navigate to BCI2000\src\extlib\brainproducts\vamp\. It should find the driver files, and installed the necessary software.&lt;br /&gt;
# For the last step, copy the files DiBpGmbH.dll and FirstAmp.dll to the BCI2000\prog\ folder.&lt;br /&gt;
# You should now be able to run the vAmpSource.exe module in BCI2000.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
Parameters common to all source modules are described under [[User Reference:DataIOFilter]].&lt;br /&gt;
In addition, the &#039;&#039;vAmpADC&#039;&#039; provides the following parameters:&lt;br /&gt;
&lt;br /&gt;
===SamplingRate===&lt;br /&gt;
The sample rate of the system. All data is either acquired at 2000 Hz or 20 kHz, and then decimated to the desired rate. Therefore, only rates that are integer divisors of the base rates are accepted. In 2000 Hz mode, the valid rates are:&lt;br /&gt;
&lt;br /&gt;
*2000&lt;br /&gt;
*1000&lt;br /&gt;
*666.6&lt;br /&gt;
*500&lt;br /&gt;
*400&lt;br /&gt;
*333.3&lt;br /&gt;
*285.7&lt;br /&gt;
*250&lt;br /&gt;
*222.22&lt;br /&gt;
*200&lt;br /&gt;
&lt;br /&gt;
In 20 kHz mode, 10 times the above rates are valid.&lt;br /&gt;
Prior to decimation, a 2nd-order anti-aliasing Butterworth filter with a corner frequency of 0.45 times the sample rate is applied to the signal.&lt;br /&gt;
All sampling rates are supported for one or more amplifiers. If you are sampling at high rates, the CPU may be overloaded depending on the speed of your computer and the BCI2000 configuration. In case you are experiencing problems (e.g., data loss, jerky display, etc.), increase the SampleBlockSize so that you are updating the system less frequently (usually, updating the system 20-30 times per second is sufficient for most applications), and increase Visualize-&amp;gt;VisualizeSourceDecimation. This parameter will decrease the number of samples per second that are actually drawn in the Source display.&lt;br /&gt;
&lt;br /&gt;
===HPFilterCorner===&lt;br /&gt;
A high-pass digital filter for removing DC offsets. This occurs after data has been read into BCI2000.&lt;br /&gt;
&lt;br /&gt;
===SampleBlockSize===&lt;br /&gt;
Samples per channel per digitized block. &lt;br /&gt;
Together with the sampling rate, this parameter determines how often per second data are collected, processed, and feedback is updated. For example, at 600 Hz sampling and a SampleBlockSize of 20, the system (e.g., source signal display, signal processing, and stimulus presentation) will be updated 30 times per second.&lt;br /&gt;
&lt;br /&gt;
===SourceCh===&lt;br /&gt;
The total number of channels. In high-speed mode, this number may not be higher than 5 (4 channels + digital).&lt;br /&gt;
&lt;br /&gt;
===SourceChList===&lt;br /&gt;
The list of channels that should be acquired from the vAmp device.&lt;br /&gt;
The total number of channels listed should correspond to &#039;&#039;SourceCh&#039;&#039;. &lt;br /&gt;
The order of channels does not matter; i.e., &#039;1 2 3 4&#039; is the same as &#039;2 3 1 4&#039;. The channels are always in ascending order.&lt;br /&gt;
Channels may not be listed twice; e.g., entering &#039;1 2 3 4 5 6 7 1&#039; if &#039;&#039;SourceCh&#039;&#039; = &#039;8&#039; will result in an error.&lt;br /&gt;
If this parameter is left blank (the default), then all channels are acquired.&lt;br /&gt;
For the V-Amp 16, channels 1-16 are EEG channels, 17-18 are Auxiliary channels, and 19 are the 8 digital channels stored in bits.&lt;br /&gt;
For the V-Amp 8, channels 1-8 are EEG channels, 9-10 are Auxiliary channels and 11 is the digital channel.&lt;br /&gt;
 &lt;br /&gt;
===AcquisitionMode===&lt;br /&gt;
*If set to &#039;&#039;analog signal acquisition&#039;&#039;, the V-Amp records analog signal voltages (default). &lt;br /&gt;
*If set to &#039;&#039;high-speed acquisition&#039;&#039;, the V-Amp records analog signals at 20 kHz instead of 2000 Hz.&lt;br /&gt;
*If set to &#039;&#039;Calibration&#039;&#039;, the signal output is a square wave test signal generated by the V-Amp (which can be used to verify correct system calibration). &lt;br /&gt;
*If set to &#039;&#039;Impedance&#039;&#039;, impedance data is recorded instead of the signal. The impedance values are showm in the V-Amp display. Values are currently updated 3 times per second. &lt;br /&gt;
*If set to &#039;&#039;high-speed calibration&#039;&#039;, a square wave is generated at 20 kHz.&lt;br /&gt;
&lt;br /&gt;
==Additional Information==&lt;br /&gt;
&lt;br /&gt;
===Data Storage===&lt;br /&gt;
*The signal is originally recorded from the V-Amp as 32-bit integers, and converted into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. &lt;br /&gt;
*The auxiliary input units are in volts.&lt;br /&gt;
*(&#039;&#039;SourceChOffset&#039;&#039; is assumed (and required) to be zero for all channels.) &lt;br /&gt;
BCI2000 Signal Processing or any offline analysis routine can derive, as with any other BCI2000 source module, sample values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; by subtracting, from each stored sample, &#039;&#039;SourceChOffset&#039;&#039; (i.e., zero), and multiplying it with &#039;&#039;SourceChGain&#039;&#039; for each channel. If &#039;&#039;SignalType&#039;&#039; is set to float32, data samples are stored in units of &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. In this case, &#039;&#039;SourceChGain&#039;&#039; should be a list of 1&#039;s (because the conversion factor between data samples into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; is 1.0 for each channel). Still, when values other than 0 and 1 are specified, a consistent data file will be produced, i.e. values will be transformed before they are written to the file, such that applying SourceChOffset and SourceChGain will reproduce the original values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===V-Amp Service Troubleshooting===&lt;br /&gt;
Please note that when BrainVision Recorder was running on the computer before you are using BCI2000 there is a daemon service called &amp;quot;VAmpService.exe&amp;quot; running in background on the computer. This service must be stopped before using V-Amp amplifier. &lt;br /&gt;
&lt;br /&gt;
[[File:Log_VampServiceDetected.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to stop the “VAmpService.exe”, the following steps need to be done:&lt;br /&gt;
&lt;br /&gt;
1. Open Windows Start menu by clicking on icon [[File:StartWin.png]]  in left-bottom corner.&lt;br /&gt;
&lt;br /&gt;
2. In Windows Start menu type Services, and click on „Services“ when it appears in the menu. &lt;br /&gt;
&lt;br /&gt;
[[File:VampServiceOff_step1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Service window opens, showing the list of services running on your PC.&lt;br /&gt;
   &lt;br /&gt;
[[File:ServiceExplorer.png]]&lt;br /&gt;
&lt;br /&gt;
4. Search for the „VAmpService“ in the list.&lt;br /&gt;
&lt;br /&gt;
5. Right-click on „VAmpService“ and the drop-down menu will appear.&lt;br /&gt;
&lt;br /&gt;
6. From the drop-down menu select “Stop”. This action stops the service.&lt;br /&gt;
&lt;br /&gt;
Now you can use V-Amp device.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A more convenient way to solve this problem is to edit the *.bat-file for your experiment like described below, especially if you are using BCI2000 and BrainVision Recorder alternately. This avoids problems with BrainVision Recorder that you might encounter when killing the &amp;quot;VampService.exe&amp;quot; process.&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Uninstall&#039;&#039;&#039;&lt;br /&gt;
 cd ..\prog&lt;br /&gt;
 start &#039;&#039;&#039;vAmpSource.exe&#039;&#039;&#039; 127.0.0.1&lt;br /&gt;
 start ARSignalProcessing 127.0.0.1&lt;br /&gt;
 start CursorTask.exe 127.0.0.1&lt;br /&gt;
 &#039;&#039;&#039;operator.exe&#039;&#039;&#039;&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Install&#039;&#039;&#039;&lt;br /&gt;
 cd ..&lt;br /&gt;
&lt;br /&gt;
Make sure that the path to &amp;quot;VAmpService.exe&amp;quot; is correct on your system.&lt;br /&gt;
Please keep in mind that you have to customize the *.bat-file shown above regarding your experiment. For using the V-Amp in the way described, the highlightened parts are important.&lt;br /&gt;
Please note that the commandline-window will stay open during the usage of BCI2000 (unlike when using the other *.bat-files) because of the operator.exe is started without the &amp;quot;start&amp;quot;-parameter. This is necessary to make sure that the VAmpService.exe process is started again just when BCI2000 is closed.&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>Ratko</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=7634</id>
		<title>Contributions:vAmpADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=7634"/>
		<updated>2016-06-20T12:46:41Z</updated>

		<summary type="html">&lt;p&gt;Ratko: /* V-Amp Service Troubleshooting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Function==&lt;br /&gt;
The &#039;&#039;vAmpADC&#039;&#039; filter acquires data from a &#039;&#039;V-Amp&#039;&#039; or &#039;&#039;FirstAmp&#039;&#039; EEG amplifier. &lt;br /&gt;
The &#039;&#039;V-Amp&#039;&#039; is an amplifier/digitizer combination from Brain Products.&lt;br /&gt;
Support for this device in BCI2000 consists of a BCI2000-compatible Source Module (&#039;&#039;vAmpSource.exe&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
===V-Amp Hardware===&lt;br /&gt;
The V-Amp consists of 16 independent 24-bit A/D converters that can sample at &lt;br /&gt;
up to 2 kHz per channel (16 channels, plus 2 auxiliary) or 20kHz per channel (4 channels).&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
The necessary system drivers are located in the BCI2000\src\extlib\brainproducts\vamp\ folder. To install the driver, follow these steps:&lt;br /&gt;
&lt;br /&gt;
# Plug in the V-Amp to a USB port. Windows should recognize it, and start to install drivers.&lt;br /&gt;
# Depending on the version of Windows being used, a Found New Hardware dialog should appear. Do NOT search online for drivers; instead, select Don&#039;t Search Online.&lt;br /&gt;
# When it asks you to insert the disc that came with the amplifier, select the option that allows you to browse for the driver.&lt;br /&gt;
# Navigate to BCI2000\src\extlib\brainproducts\vamp\. It should find the driver files, and installed the necessary software.&lt;br /&gt;
# For the last step, copy the files DiBpGmbH.dll and FirstAmp.dll to the BCI2000\prog\ folder.&lt;br /&gt;
# You should now be able to run the vAmpSource.exe module in BCI2000.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
Parameters common to all source modules are described under [[User Reference:DataIOFilter]].&lt;br /&gt;
In addition, the &#039;&#039;vAmpADC&#039;&#039; provides the following parameters:&lt;br /&gt;
&lt;br /&gt;
===SamplingRate===&lt;br /&gt;
The sample rate of the system. All data is either acquired at 2000 Hz or 20 kHz, and then decimated to the desired rate. Therefore, only rates that are integer divisors of the base rates are accepted. In 2000 Hz mode, the valid rates are:&lt;br /&gt;
&lt;br /&gt;
*2000&lt;br /&gt;
*1000&lt;br /&gt;
*666.6&lt;br /&gt;
*500&lt;br /&gt;
*400&lt;br /&gt;
*333.3&lt;br /&gt;
*285.7&lt;br /&gt;
*250&lt;br /&gt;
*222.22&lt;br /&gt;
*200&lt;br /&gt;
&lt;br /&gt;
In 20 kHz mode, 10 times the above rates are valid.&lt;br /&gt;
Prior to decimation, a 2nd-order anti-aliasing Butterworth filter with a corner frequency of 0.45 times the sample rate is applied to the signal.&lt;br /&gt;
All sampling rates are supported for one or more amplifiers. If you are sampling at high rates, the CPU may be overloaded depending on the speed of your computer and the BCI2000 configuration. In case you are experiencing problems (e.g., data loss, jerky display, etc.), increase the SampleBlockSize so that you are updating the system less frequently (usually, updating the system 20-30 times per second is sufficient for most applications), and increase Visualize-&amp;gt;VisualizeSourceDecimation. This parameter will decrease the number of samples per second that are actually drawn in the Source display.&lt;br /&gt;
&lt;br /&gt;
===HPFilterCorner===&lt;br /&gt;
A high-pass digital filter for removing DC offsets. This occurs after data has been read into BCI2000.&lt;br /&gt;
&lt;br /&gt;
===SampleBlockSize===&lt;br /&gt;
Samples per channel per digitized block. &lt;br /&gt;
Together with the sampling rate, this parameter determines how often per second data are collected, processed, and feedback is updated. For example, at 600 Hz sampling and a SampleBlockSize of 20, the system (e.g., source signal display, signal processing, and stimulus presentation) will be updated 30 times per second.&lt;br /&gt;
&lt;br /&gt;
===SourceCh===&lt;br /&gt;
The total number of channels. In high-speed mode, this number may not be higher than 5 (4 channels + digital).&lt;br /&gt;
&lt;br /&gt;
===SourceChList===&lt;br /&gt;
The list of channels that should be acquired from the vAmp device.&lt;br /&gt;
The total number of channels listed should correspond to &#039;&#039;SourceCh&#039;&#039;. &lt;br /&gt;
The order of channels does not matter; i.e., &#039;1 2 3 4&#039; is the same as &#039;2 3 1 4&#039;. The channels are always in ascending order.&lt;br /&gt;
Channels may not be listed twice; e.g., entering &#039;1 2 3 4 5 6 7 1&#039; if &#039;&#039;SourceCh&#039;&#039; = &#039;8&#039; will result in an error.&lt;br /&gt;
If this parameter is left blank (the default), then all channels are acquired.&lt;br /&gt;
For the V-Amp 16, channels 1-16 are EEG channels, 17-18 are Auxiliary channels, and 19 are the 8 digital channels stored in bits.&lt;br /&gt;
For the V-Amp 8, channels 1-8 are EEG channels, 9-10 are Auxiliary channels and 11 is the digital channel.&lt;br /&gt;
 &lt;br /&gt;
===AcquisitionMode===&lt;br /&gt;
*If set to &#039;&#039;analog signal acquisition&#039;&#039;, the V-Amp records analog signal voltages (default). &lt;br /&gt;
*If set to &#039;&#039;high-speed acquisition&#039;&#039;, the V-Amp records analog signals at 20 kHz instead of 2000 Hz.&lt;br /&gt;
*If set to &#039;&#039;Calibration&#039;&#039;, the signal output is a square wave test signal generated by the V-Amp (which can be used to verify correct system calibration). &lt;br /&gt;
*If set to &#039;&#039;Impedance&#039;&#039;, impedance data is recorded instead of the signal. The impedance values are showm in the V-Amp display. Values are currently updated 3 times per second. &lt;br /&gt;
*If set to &#039;&#039;high-speed calibration&#039;&#039;, a square wave is generated at 20 kHz.&lt;br /&gt;
&lt;br /&gt;
==Additional Information==&lt;br /&gt;
&lt;br /&gt;
===Data Storage===&lt;br /&gt;
*The signal is originally recorded from the V-Amp as 32-bit integers, and converted into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. &lt;br /&gt;
*The auxiliary input units are in volts.&lt;br /&gt;
*(&#039;&#039;SourceChOffset&#039;&#039; is assumed (and required) to be zero for all channels.) &lt;br /&gt;
BCI2000 Signal Processing or any offline analysis routine can derive, as with any other BCI2000 source module, sample values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; by subtracting, from each stored sample, &#039;&#039;SourceChOffset&#039;&#039; (i.e., zero), and multiplying it with &#039;&#039;SourceChGain&#039;&#039; for each channel. If &#039;&#039;SignalType&#039;&#039; is set to float32, data samples are stored in units of &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. In this case, &#039;&#039;SourceChGain&#039;&#039; should be a list of 1&#039;s (because the conversion factor between data samples into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; is 1.0 for each channel). Still, when values other than 0 and 1 are specified, a consistent data file will be produced, i.e. values will be transformed before they are written to the file, such that applying SourceChOffset and SourceChGain will reproduce the original values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===V-Amp Service Troubleshooting===&lt;br /&gt;
Please note that when BrainVision Recorder was running on the computer before you are using BCI2000 there is a daemon service called &amp;quot;VAmpService.exe&amp;quot; running in background on the computer. This service must be stopped before using V-Amp amplifier. &lt;br /&gt;
&lt;br /&gt;
[[File:Log_VampServiceDetected.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to stop the “VAmpService.exe”, the following steps need to be done:&lt;br /&gt;
&lt;br /&gt;
1. Open Windows Start menu by clicking on icon [[File:StartWin.png]]  in left-bottom corner.&lt;br /&gt;
&lt;br /&gt;
2. In Windows Start menu type Services, and click on „Services“ when it appears in the menu. &lt;br /&gt;
&lt;br /&gt;
[[File:VampServiceOff_step1.png]]&lt;br /&gt;
&lt;br /&gt;
3. Service window opens, showing the list of services running on your PC.&lt;br /&gt;
   &lt;br /&gt;
[[File:ServiceExplorer.png]]&lt;br /&gt;
&lt;br /&gt;
4. Search for the „VAmpService“ in the list.&lt;br /&gt;
&lt;br /&gt;
5. Right-click on „VAmpService“ and the drop-down menu will appear.&lt;br /&gt;
&lt;br /&gt;
6. From the drop-down menu select “Stop”. This action stops the service.&lt;br /&gt;
&lt;br /&gt;
Now you can use V-Amp device.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A more convenient way to solve this problem is to edit the *.bat-file for your experiment like described below, especially if you are using BCI2000 and BrainVision Recorder alternately. This avoids problems with BrainVision Recorder that you might encounter when killing the &amp;quot;VampService.exe&amp;quot; process.&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Uninstall&#039;&#039;&#039;&lt;br /&gt;
 cd ..\prog&lt;br /&gt;
 start &#039;&#039;&#039;vAmpSource.exe&#039;&#039;&#039; 127.0.0.1&lt;br /&gt;
 start ARSignalProcessing 127.0.0.1&lt;br /&gt;
 start CursorTask.exe 127.0.0.1&lt;br /&gt;
 &#039;&#039;&#039;operator.exe&#039;&#039;&#039;&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Install&#039;&#039;&#039;&lt;br /&gt;
 cd ..&lt;br /&gt;
&lt;br /&gt;
Make sure that the path to &amp;quot;VAmpService.exe&amp;quot; is correct on your system.&lt;br /&gt;
Please keep in mind that you have to customize the *.bat-file shown above regarding your experiment. For using the V-Amp in the way described, the highlightened parts are important.&lt;br /&gt;
Please note that the commandline-window will stay open during the usage of BCI2000 (unlike when using the other *.bat-files) because of the operator.exe is started without the &amp;quot;start&amp;quot;-parameter. This is necessary to make sure that the VAmpService.exe process is started again just when BCI2000 is closed.&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>Ratko</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=7633</id>
		<title>Contributions:vAmpADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=7633"/>
		<updated>2016-06-20T12:40:45Z</updated>

		<summary type="html">&lt;p&gt;Ratko: /* V-Amp Service Troubleshooting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Function==&lt;br /&gt;
The &#039;&#039;vAmpADC&#039;&#039; filter acquires data from a &#039;&#039;V-Amp&#039;&#039; or &#039;&#039;FirstAmp&#039;&#039; EEG amplifier. &lt;br /&gt;
The &#039;&#039;V-Amp&#039;&#039; is an amplifier/digitizer combination from Brain Products.&lt;br /&gt;
Support for this device in BCI2000 consists of a BCI2000-compatible Source Module (&#039;&#039;vAmpSource.exe&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
===V-Amp Hardware===&lt;br /&gt;
The V-Amp consists of 16 independent 24-bit A/D converters that can sample at &lt;br /&gt;
up to 2 kHz per channel (16 channels, plus 2 auxiliary) or 20kHz per channel (4 channels).&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
The necessary system drivers are located in the BCI2000\src\extlib\brainproducts\vamp\ folder. To install the driver, follow these steps:&lt;br /&gt;
&lt;br /&gt;
# Plug in the V-Amp to a USB port. Windows should recognize it, and start to install drivers.&lt;br /&gt;
# Depending on the version of Windows being used, a Found New Hardware dialog should appear. Do NOT search online for drivers; instead, select Don&#039;t Search Online.&lt;br /&gt;
# When it asks you to insert the disc that came with the amplifier, select the option that allows you to browse for the driver.&lt;br /&gt;
# Navigate to BCI2000\src\extlib\brainproducts\vamp\. It should find the driver files, and installed the necessary software.&lt;br /&gt;
# For the last step, copy the files DiBpGmbH.dll and FirstAmp.dll to the BCI2000\prog\ folder.&lt;br /&gt;
# You should now be able to run the vAmpSource.exe module in BCI2000.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
Parameters common to all source modules are described under [[User Reference:DataIOFilter]].&lt;br /&gt;
In addition, the &#039;&#039;vAmpADC&#039;&#039; provides the following parameters:&lt;br /&gt;
&lt;br /&gt;
===SamplingRate===&lt;br /&gt;
The sample rate of the system. All data is either acquired at 2000 Hz or 20 kHz, and then decimated to the desired rate. Therefore, only rates that are integer divisors of the base rates are accepted. In 2000 Hz mode, the valid rates are:&lt;br /&gt;
&lt;br /&gt;
*2000&lt;br /&gt;
*1000&lt;br /&gt;
*666.6&lt;br /&gt;
*500&lt;br /&gt;
*400&lt;br /&gt;
*333.3&lt;br /&gt;
*285.7&lt;br /&gt;
*250&lt;br /&gt;
*222.22&lt;br /&gt;
*200&lt;br /&gt;
&lt;br /&gt;
In 20 kHz mode, 10 times the above rates are valid.&lt;br /&gt;
Prior to decimation, a 2nd-order anti-aliasing Butterworth filter with a corner frequency of 0.45 times the sample rate is applied to the signal.&lt;br /&gt;
All sampling rates are supported for one or more amplifiers. If you are sampling at high rates, the CPU may be overloaded depending on the speed of your computer and the BCI2000 configuration. In case you are experiencing problems (e.g., data loss, jerky display, etc.), increase the SampleBlockSize so that you are updating the system less frequently (usually, updating the system 20-30 times per second is sufficient for most applications), and increase Visualize-&amp;gt;VisualizeSourceDecimation. This parameter will decrease the number of samples per second that are actually drawn in the Source display.&lt;br /&gt;
&lt;br /&gt;
===HPFilterCorner===&lt;br /&gt;
A high-pass digital filter for removing DC offsets. This occurs after data has been read into BCI2000.&lt;br /&gt;
&lt;br /&gt;
===SampleBlockSize===&lt;br /&gt;
Samples per channel per digitized block. &lt;br /&gt;
Together with the sampling rate, this parameter determines how often per second data are collected, processed, and feedback is updated. For example, at 600 Hz sampling and a SampleBlockSize of 20, the system (e.g., source signal display, signal processing, and stimulus presentation) will be updated 30 times per second.&lt;br /&gt;
&lt;br /&gt;
===SourceCh===&lt;br /&gt;
The total number of channels. In high-speed mode, this number may not be higher than 5 (4 channels + digital).&lt;br /&gt;
&lt;br /&gt;
===SourceChList===&lt;br /&gt;
The list of channels that should be acquired from the vAmp device.&lt;br /&gt;
The total number of channels listed should correspond to &#039;&#039;SourceCh&#039;&#039;. &lt;br /&gt;
The order of channels does not matter; i.e., &#039;1 2 3 4&#039; is the same as &#039;2 3 1 4&#039;. The channels are always in ascending order.&lt;br /&gt;
Channels may not be listed twice; e.g., entering &#039;1 2 3 4 5 6 7 1&#039; if &#039;&#039;SourceCh&#039;&#039; = &#039;8&#039; will result in an error.&lt;br /&gt;
If this parameter is left blank (the default), then all channels are acquired.&lt;br /&gt;
For the V-Amp 16, channels 1-16 are EEG channels, 17-18 are Auxiliary channels, and 19 are the 8 digital channels stored in bits.&lt;br /&gt;
For the V-Amp 8, channels 1-8 are EEG channels, 9-10 are Auxiliary channels and 11 is the digital channel.&lt;br /&gt;
 &lt;br /&gt;
===AcquisitionMode===&lt;br /&gt;
*If set to &#039;&#039;analog signal acquisition&#039;&#039;, the V-Amp records analog signal voltages (default). &lt;br /&gt;
*If set to &#039;&#039;high-speed acquisition&#039;&#039;, the V-Amp records analog signals at 20 kHz instead of 2000 Hz.&lt;br /&gt;
*If set to &#039;&#039;Calibration&#039;&#039;, the signal output is a square wave test signal generated by the V-Amp (which can be used to verify correct system calibration). &lt;br /&gt;
*If set to &#039;&#039;Impedance&#039;&#039;, impedance data is recorded instead of the signal. The impedance values are showm in the V-Amp display. Values are currently updated 3 times per second. &lt;br /&gt;
*If set to &#039;&#039;high-speed calibration&#039;&#039;, a square wave is generated at 20 kHz.&lt;br /&gt;
&lt;br /&gt;
==Additional Information==&lt;br /&gt;
&lt;br /&gt;
===Data Storage===&lt;br /&gt;
*The signal is originally recorded from the V-Amp as 32-bit integers, and converted into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. &lt;br /&gt;
*The auxiliary input units are in volts.&lt;br /&gt;
*(&#039;&#039;SourceChOffset&#039;&#039; is assumed (and required) to be zero for all channels.) &lt;br /&gt;
BCI2000 Signal Processing or any offline analysis routine can derive, as with any other BCI2000 source module, sample values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; by subtracting, from each stored sample, &#039;&#039;SourceChOffset&#039;&#039; (i.e., zero), and multiplying it with &#039;&#039;SourceChGain&#039;&#039; for each channel. If &#039;&#039;SignalType&#039;&#039; is set to float32, data samples are stored in units of &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. In this case, &#039;&#039;SourceChGain&#039;&#039; should be a list of 1&#039;s (because the conversion factor between data samples into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; is 1.0 for each channel). Still, when values other than 0 and 1 are specified, a consistent data file will be produced, i.e. values will be transformed before they are written to the file, such that applying SourceChOffset and SourceChGain will reproduce the original values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===V-Amp Service Troubleshooting===&lt;br /&gt;
Please note that when BrainVision Recorder was running on the computer before you are using BCI2000 there is a daemon service called &amp;quot;VAmpService.exe&amp;quot; running in background on the computer. This service must be stopped before using V-Amp amplifier. &lt;br /&gt;
&lt;br /&gt;
[[File:Log_VampServiceDetected.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to stop the “VAmpService.exe”, the following steps need to be done:&lt;br /&gt;
&lt;br /&gt;
1. Open Windows Start menu by clicking on icon [[File:StartWin.png]]  in left-bottom corner.&lt;br /&gt;
&lt;br /&gt;
2. In Windows Start menu type Services, and click on „Services“ when it appears in the menu. &lt;br /&gt;
&lt;br /&gt;
[[File:VampServiceOff_step1.png]]&lt;br /&gt;
&lt;br /&gt;
3. Service window opens, showing the list of services running on your PC.&lt;br /&gt;
   &lt;br /&gt;
[[File:ServiceExplorer.png]]&lt;br /&gt;
&lt;br /&gt;
4. Search for the „VAmpService“ in the list.&lt;br /&gt;
&lt;br /&gt;
5. Right-click on „VAmpService“ and the drop-down menu will appear.&lt;br /&gt;
&lt;br /&gt;
6. From the drop-down menu select “Stop”. This action stops the service.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A more convenient way to solve this problem is to edit the *.bat-file for your experiment like described below, especially if you are using BCI2000 and BrainVision Recorder alternately. This avoids problems with BrainVision Recorder that you might encounter when killing the &amp;quot;VampService.exe&amp;quot; process.&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Uninstall&#039;&#039;&#039;&lt;br /&gt;
 cd ..\prog&lt;br /&gt;
 start &#039;&#039;&#039;vAmpSource.exe&#039;&#039;&#039; 127.0.0.1&lt;br /&gt;
 start ARSignalProcessing 127.0.0.1&lt;br /&gt;
 start CursorTask.exe 127.0.0.1&lt;br /&gt;
 &#039;&#039;&#039;operator.exe&#039;&#039;&#039;&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Install&#039;&#039;&#039;&lt;br /&gt;
 cd ..&lt;br /&gt;
&lt;br /&gt;
Make sure that the path to &amp;quot;VAmpService.exe&amp;quot; is correct on your system.&lt;br /&gt;
Please keep in mind that you have to customize the *.bat-file shown above regarding your experiment. For using the V-Amp in the way described, the highlightened parts are important.&lt;br /&gt;
Please note that the commandline-window will stay open during the usage of BCI2000 (unlike when using the other *.bat-files) because of the operator.exe is started without the &amp;quot;start&amp;quot;-parameter. This is necessary to make sure that the VAmpService.exe process is started again just when BCI2000 is closed.&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>Ratko</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=7632</id>
		<title>Contributions:vAmpADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=7632"/>
		<updated>2016-06-20T12:40:31Z</updated>

		<summary type="html">&lt;p&gt;Ratko: /* V-Amp Service Troubleshooting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Function==&lt;br /&gt;
The &#039;&#039;vAmpADC&#039;&#039; filter acquires data from a &#039;&#039;V-Amp&#039;&#039; or &#039;&#039;FirstAmp&#039;&#039; EEG amplifier. &lt;br /&gt;
The &#039;&#039;V-Amp&#039;&#039; is an amplifier/digitizer combination from Brain Products.&lt;br /&gt;
Support for this device in BCI2000 consists of a BCI2000-compatible Source Module (&#039;&#039;vAmpSource.exe&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
===V-Amp Hardware===&lt;br /&gt;
The V-Amp consists of 16 independent 24-bit A/D converters that can sample at &lt;br /&gt;
up to 2 kHz per channel (16 channels, plus 2 auxiliary) or 20kHz per channel (4 channels).&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
The necessary system drivers are located in the BCI2000\src\extlib\brainproducts\vamp\ folder. To install the driver, follow these steps:&lt;br /&gt;
&lt;br /&gt;
# Plug in the V-Amp to a USB port. Windows should recognize it, and start to install drivers.&lt;br /&gt;
# Depending on the version of Windows being used, a Found New Hardware dialog should appear. Do NOT search online for drivers; instead, select Don&#039;t Search Online.&lt;br /&gt;
# When it asks you to insert the disc that came with the amplifier, select the option that allows you to browse for the driver.&lt;br /&gt;
# Navigate to BCI2000\src\extlib\brainproducts\vamp\. It should find the driver files, and installed the necessary software.&lt;br /&gt;
# For the last step, copy the files DiBpGmbH.dll and FirstAmp.dll to the BCI2000\prog\ folder.&lt;br /&gt;
# You should now be able to run the vAmpSource.exe module in BCI2000.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
Parameters common to all source modules are described under [[User Reference:DataIOFilter]].&lt;br /&gt;
In addition, the &#039;&#039;vAmpADC&#039;&#039; provides the following parameters:&lt;br /&gt;
&lt;br /&gt;
===SamplingRate===&lt;br /&gt;
The sample rate of the system. All data is either acquired at 2000 Hz or 20 kHz, and then decimated to the desired rate. Therefore, only rates that are integer divisors of the base rates are accepted. In 2000 Hz mode, the valid rates are:&lt;br /&gt;
&lt;br /&gt;
*2000&lt;br /&gt;
*1000&lt;br /&gt;
*666.6&lt;br /&gt;
*500&lt;br /&gt;
*400&lt;br /&gt;
*333.3&lt;br /&gt;
*285.7&lt;br /&gt;
*250&lt;br /&gt;
*222.22&lt;br /&gt;
*200&lt;br /&gt;
&lt;br /&gt;
In 20 kHz mode, 10 times the above rates are valid.&lt;br /&gt;
Prior to decimation, a 2nd-order anti-aliasing Butterworth filter with a corner frequency of 0.45 times the sample rate is applied to the signal.&lt;br /&gt;
All sampling rates are supported for one or more amplifiers. If you are sampling at high rates, the CPU may be overloaded depending on the speed of your computer and the BCI2000 configuration. In case you are experiencing problems (e.g., data loss, jerky display, etc.), increase the SampleBlockSize so that you are updating the system less frequently (usually, updating the system 20-30 times per second is sufficient for most applications), and increase Visualize-&amp;gt;VisualizeSourceDecimation. This parameter will decrease the number of samples per second that are actually drawn in the Source display.&lt;br /&gt;
&lt;br /&gt;
===HPFilterCorner===&lt;br /&gt;
A high-pass digital filter for removing DC offsets. This occurs after data has been read into BCI2000.&lt;br /&gt;
&lt;br /&gt;
===SampleBlockSize===&lt;br /&gt;
Samples per channel per digitized block. &lt;br /&gt;
Together with the sampling rate, this parameter determines how often per second data are collected, processed, and feedback is updated. For example, at 600 Hz sampling and a SampleBlockSize of 20, the system (e.g., source signal display, signal processing, and stimulus presentation) will be updated 30 times per second.&lt;br /&gt;
&lt;br /&gt;
===SourceCh===&lt;br /&gt;
The total number of channels. In high-speed mode, this number may not be higher than 5 (4 channels + digital).&lt;br /&gt;
&lt;br /&gt;
===SourceChList===&lt;br /&gt;
The list of channels that should be acquired from the vAmp device.&lt;br /&gt;
The total number of channels listed should correspond to &#039;&#039;SourceCh&#039;&#039;. &lt;br /&gt;
The order of channels does not matter; i.e., &#039;1 2 3 4&#039; is the same as &#039;2 3 1 4&#039;. The channels are always in ascending order.&lt;br /&gt;
Channels may not be listed twice; e.g., entering &#039;1 2 3 4 5 6 7 1&#039; if &#039;&#039;SourceCh&#039;&#039; = &#039;8&#039; will result in an error.&lt;br /&gt;
If this parameter is left blank (the default), then all channels are acquired.&lt;br /&gt;
For the V-Amp 16, channels 1-16 are EEG channels, 17-18 are Auxiliary channels, and 19 are the 8 digital channels stored in bits.&lt;br /&gt;
For the V-Amp 8, channels 1-8 are EEG channels, 9-10 are Auxiliary channels and 11 is the digital channel.&lt;br /&gt;
 &lt;br /&gt;
===AcquisitionMode===&lt;br /&gt;
*If set to &#039;&#039;analog signal acquisition&#039;&#039;, the V-Amp records analog signal voltages (default). &lt;br /&gt;
*If set to &#039;&#039;high-speed acquisition&#039;&#039;, the V-Amp records analog signals at 20 kHz instead of 2000 Hz.&lt;br /&gt;
*If set to &#039;&#039;Calibration&#039;&#039;, the signal output is a square wave test signal generated by the V-Amp (which can be used to verify correct system calibration). &lt;br /&gt;
*If set to &#039;&#039;Impedance&#039;&#039;, impedance data is recorded instead of the signal. The impedance values are showm in the V-Amp display. Values are currently updated 3 times per second. &lt;br /&gt;
*If set to &#039;&#039;high-speed calibration&#039;&#039;, a square wave is generated at 20 kHz.&lt;br /&gt;
&lt;br /&gt;
==Additional Information==&lt;br /&gt;
&lt;br /&gt;
===Data Storage===&lt;br /&gt;
*The signal is originally recorded from the V-Amp as 32-bit integers, and converted into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. &lt;br /&gt;
*The auxiliary input units are in volts.&lt;br /&gt;
*(&#039;&#039;SourceChOffset&#039;&#039; is assumed (and required) to be zero for all channels.) &lt;br /&gt;
BCI2000 Signal Processing or any offline analysis routine can derive, as with any other BCI2000 source module, sample values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; by subtracting, from each stored sample, &#039;&#039;SourceChOffset&#039;&#039; (i.e., zero), and multiplying it with &#039;&#039;SourceChGain&#039;&#039; for each channel. If &#039;&#039;SignalType&#039;&#039; is set to float32, data samples are stored in units of &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. In this case, &#039;&#039;SourceChGain&#039;&#039; should be a list of 1&#039;s (because the conversion factor between data samples into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; is 1.0 for each channel). Still, when values other than 0 and 1 are specified, a consistent data file will be produced, i.e. values will be transformed before they are written to the file, such that applying SourceChOffset and SourceChGain will reproduce the original values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===V-Amp Service Troubleshooting===&lt;br /&gt;
Please note that when BrainVision Recorder was running on the computer before you are using BCI2000 there is a daemon service called &amp;quot;VAmpService.exe&amp;quot; running in background on the computer. This service must be stopped before using V-Amp amplifier. &lt;br /&gt;
&lt;br /&gt;
[[File:Log_VampServiceDetected.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to stop the “VAmpService.exe”, the following steps need to be done:&lt;br /&gt;
&lt;br /&gt;
1. Open Windows Start menu by clicking on icon [[File:StartWin.png]]  in left-bottom corner.&lt;br /&gt;
&lt;br /&gt;
2. In Windows Start menu type Services, and click on „Services“ when it appears in the menu. &lt;br /&gt;
&lt;br /&gt;
[[File:VampServiceOff_step1.png]]&lt;br /&gt;
&lt;br /&gt;
3. Service window opens, showing the list of services running on your PC.&lt;br /&gt;
   &lt;br /&gt;
[[File:ServiceExplorer.png |thumb]]&lt;br /&gt;
&lt;br /&gt;
4. Search for the „VAmpService“ in the list.&lt;br /&gt;
&lt;br /&gt;
5. Right-click on „VAmpService“ and the drop-down menu will appear.&lt;br /&gt;
&lt;br /&gt;
6. From the drop-down menu select “Stop”. This action stops the service.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A more convenient way to solve this problem is to edit the *.bat-file for your experiment like described below, especially if you are using BCI2000 and BrainVision Recorder alternately. This avoids problems with BrainVision Recorder that you might encounter when killing the &amp;quot;VampService.exe&amp;quot; process.&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Uninstall&#039;&#039;&#039;&lt;br /&gt;
 cd ..\prog&lt;br /&gt;
 start &#039;&#039;&#039;vAmpSource.exe&#039;&#039;&#039; 127.0.0.1&lt;br /&gt;
 start ARSignalProcessing 127.0.0.1&lt;br /&gt;
 start CursorTask.exe 127.0.0.1&lt;br /&gt;
 &#039;&#039;&#039;operator.exe&#039;&#039;&#039;&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Install&#039;&#039;&#039;&lt;br /&gt;
 cd ..&lt;br /&gt;
&lt;br /&gt;
Make sure that the path to &amp;quot;VAmpService.exe&amp;quot; is correct on your system.&lt;br /&gt;
Please keep in mind that you have to customize the *.bat-file shown above regarding your experiment. For using the V-Amp in the way described, the highlightened parts are important.&lt;br /&gt;
Please note that the commandline-window will stay open during the usage of BCI2000 (unlike when using the other *.bat-files) because of the operator.exe is started without the &amp;quot;start&amp;quot;-parameter. This is necessary to make sure that the VAmpService.exe process is started again just when BCI2000 is closed.&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>Ratko</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=7631</id>
		<title>Contributions:vAmpADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=7631"/>
		<updated>2016-06-20T12:39:47Z</updated>

		<summary type="html">&lt;p&gt;Ratko: /* V-Amp Service Troubleshooting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Function==&lt;br /&gt;
The &#039;&#039;vAmpADC&#039;&#039; filter acquires data from a &#039;&#039;V-Amp&#039;&#039; or &#039;&#039;FirstAmp&#039;&#039; EEG amplifier. &lt;br /&gt;
The &#039;&#039;V-Amp&#039;&#039; is an amplifier/digitizer combination from Brain Products.&lt;br /&gt;
Support for this device in BCI2000 consists of a BCI2000-compatible Source Module (&#039;&#039;vAmpSource.exe&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
===V-Amp Hardware===&lt;br /&gt;
The V-Amp consists of 16 independent 24-bit A/D converters that can sample at &lt;br /&gt;
up to 2 kHz per channel (16 channels, plus 2 auxiliary) or 20kHz per channel (4 channels).&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
The necessary system drivers are located in the BCI2000\src\extlib\brainproducts\vamp\ folder. To install the driver, follow these steps:&lt;br /&gt;
&lt;br /&gt;
# Plug in the V-Amp to a USB port. Windows should recognize it, and start to install drivers.&lt;br /&gt;
# Depending on the version of Windows being used, a Found New Hardware dialog should appear. Do NOT search online for drivers; instead, select Don&#039;t Search Online.&lt;br /&gt;
# When it asks you to insert the disc that came with the amplifier, select the option that allows you to browse for the driver.&lt;br /&gt;
# Navigate to BCI2000\src\extlib\brainproducts\vamp\. It should find the driver files, and installed the necessary software.&lt;br /&gt;
# For the last step, copy the files DiBpGmbH.dll and FirstAmp.dll to the BCI2000\prog\ folder.&lt;br /&gt;
# You should now be able to run the vAmpSource.exe module in BCI2000.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
Parameters common to all source modules are described under [[User Reference:DataIOFilter]].&lt;br /&gt;
In addition, the &#039;&#039;vAmpADC&#039;&#039; provides the following parameters:&lt;br /&gt;
&lt;br /&gt;
===SamplingRate===&lt;br /&gt;
The sample rate of the system. All data is either acquired at 2000 Hz or 20 kHz, and then decimated to the desired rate. Therefore, only rates that are integer divisors of the base rates are accepted. In 2000 Hz mode, the valid rates are:&lt;br /&gt;
&lt;br /&gt;
*2000&lt;br /&gt;
*1000&lt;br /&gt;
*666.6&lt;br /&gt;
*500&lt;br /&gt;
*400&lt;br /&gt;
*333.3&lt;br /&gt;
*285.7&lt;br /&gt;
*250&lt;br /&gt;
*222.22&lt;br /&gt;
*200&lt;br /&gt;
&lt;br /&gt;
In 20 kHz mode, 10 times the above rates are valid.&lt;br /&gt;
Prior to decimation, a 2nd-order anti-aliasing Butterworth filter with a corner frequency of 0.45 times the sample rate is applied to the signal.&lt;br /&gt;
All sampling rates are supported for one or more amplifiers. If you are sampling at high rates, the CPU may be overloaded depending on the speed of your computer and the BCI2000 configuration. In case you are experiencing problems (e.g., data loss, jerky display, etc.), increase the SampleBlockSize so that you are updating the system less frequently (usually, updating the system 20-30 times per second is sufficient for most applications), and increase Visualize-&amp;gt;VisualizeSourceDecimation. This parameter will decrease the number of samples per second that are actually drawn in the Source display.&lt;br /&gt;
&lt;br /&gt;
===HPFilterCorner===&lt;br /&gt;
A high-pass digital filter for removing DC offsets. This occurs after data has been read into BCI2000.&lt;br /&gt;
&lt;br /&gt;
===SampleBlockSize===&lt;br /&gt;
Samples per channel per digitized block. &lt;br /&gt;
Together with the sampling rate, this parameter determines how often per second data are collected, processed, and feedback is updated. For example, at 600 Hz sampling and a SampleBlockSize of 20, the system (e.g., source signal display, signal processing, and stimulus presentation) will be updated 30 times per second.&lt;br /&gt;
&lt;br /&gt;
===SourceCh===&lt;br /&gt;
The total number of channels. In high-speed mode, this number may not be higher than 5 (4 channels + digital).&lt;br /&gt;
&lt;br /&gt;
===SourceChList===&lt;br /&gt;
The list of channels that should be acquired from the vAmp device.&lt;br /&gt;
The total number of channels listed should correspond to &#039;&#039;SourceCh&#039;&#039;. &lt;br /&gt;
The order of channels does not matter; i.e., &#039;1 2 3 4&#039; is the same as &#039;2 3 1 4&#039;. The channels are always in ascending order.&lt;br /&gt;
Channels may not be listed twice; e.g., entering &#039;1 2 3 4 5 6 7 1&#039; if &#039;&#039;SourceCh&#039;&#039; = &#039;8&#039; will result in an error.&lt;br /&gt;
If this parameter is left blank (the default), then all channels are acquired.&lt;br /&gt;
For the V-Amp 16, channels 1-16 are EEG channels, 17-18 are Auxiliary channels, and 19 are the 8 digital channels stored in bits.&lt;br /&gt;
For the V-Amp 8, channels 1-8 are EEG channels, 9-10 are Auxiliary channels and 11 is the digital channel.&lt;br /&gt;
 &lt;br /&gt;
===AcquisitionMode===&lt;br /&gt;
*If set to &#039;&#039;analog signal acquisition&#039;&#039;, the V-Amp records analog signal voltages (default). &lt;br /&gt;
*If set to &#039;&#039;high-speed acquisition&#039;&#039;, the V-Amp records analog signals at 20 kHz instead of 2000 Hz.&lt;br /&gt;
*If set to &#039;&#039;Calibration&#039;&#039;, the signal output is a square wave test signal generated by the V-Amp (which can be used to verify correct system calibration). &lt;br /&gt;
*If set to &#039;&#039;Impedance&#039;&#039;, impedance data is recorded instead of the signal. The impedance values are showm in the V-Amp display. Values are currently updated 3 times per second. &lt;br /&gt;
*If set to &#039;&#039;high-speed calibration&#039;&#039;, a square wave is generated at 20 kHz.&lt;br /&gt;
&lt;br /&gt;
==Additional Information==&lt;br /&gt;
&lt;br /&gt;
===Data Storage===&lt;br /&gt;
*The signal is originally recorded from the V-Amp as 32-bit integers, and converted into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. &lt;br /&gt;
*The auxiliary input units are in volts.&lt;br /&gt;
*(&#039;&#039;SourceChOffset&#039;&#039; is assumed (and required) to be zero for all channels.) &lt;br /&gt;
BCI2000 Signal Processing or any offline analysis routine can derive, as with any other BCI2000 source module, sample values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; by subtracting, from each stored sample, &#039;&#039;SourceChOffset&#039;&#039; (i.e., zero), and multiplying it with &#039;&#039;SourceChGain&#039;&#039; for each channel. If &#039;&#039;SignalType&#039;&#039; is set to float32, data samples are stored in units of &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. In this case, &#039;&#039;SourceChGain&#039;&#039; should be a list of 1&#039;s (because the conversion factor between data samples into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; is 1.0 for each channel). Still, when values other than 0 and 1 are specified, a consistent data file will be produced, i.e. values will be transformed before they are written to the file, such that applying SourceChOffset and SourceChGain will reproduce the original values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===V-Amp Service Troubleshooting===&lt;br /&gt;
Please note that when BrainVision Recorder was running on the computer before you are using BCI2000 there is a daemon service called &amp;quot;VAmpService.exe&amp;quot; running in background on the computer. This service must be stopped before using V-Amp amplifier. &lt;br /&gt;
&lt;br /&gt;
[[File:Log_VampServiceDetected.png|thumb |]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to stop the “VAmpService.exe”, the following steps need to be done:&lt;br /&gt;
&lt;br /&gt;
1. Open Windows Start menu by clicking on icon [[File:StartWin.png]]  in left-bottom corner.&lt;br /&gt;
&lt;br /&gt;
2. In Windows Start menu type Services, and click on „Services“ when it appears in the menu. &lt;br /&gt;
&lt;br /&gt;
[[File:VampServiceOff_step1.png|thumb |]]&lt;br /&gt;
&lt;br /&gt;
3. Service window opens, showing the list of services running on your PC.&lt;br /&gt;
   &lt;br /&gt;
[[File:ServiceExplorer.png|thumb |]]&lt;br /&gt;
&lt;br /&gt;
4. Search for the „VAmpService“ in the list.&lt;br /&gt;
&lt;br /&gt;
5. Right-click on „VAmpService“ and the drop-down menu will appear.&lt;br /&gt;
&lt;br /&gt;
6. From the drop-down menu select “Stop”. This action stops the service.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A more convenient way to solve this problem is to edit the *.bat-file for your experiment like described below, especially if you are using BCI2000 and BrainVision Recorder alternately. This avoids problems with BrainVision Recorder that you might encounter when killing the &amp;quot;VampService.exe&amp;quot; process.&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Uninstall&#039;&#039;&#039;&lt;br /&gt;
 cd ..\prog&lt;br /&gt;
 start &#039;&#039;&#039;vAmpSource.exe&#039;&#039;&#039; 127.0.0.1&lt;br /&gt;
 start ARSignalProcessing 127.0.0.1&lt;br /&gt;
 start CursorTask.exe 127.0.0.1&lt;br /&gt;
 &#039;&#039;&#039;operator.exe&#039;&#039;&#039;&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Install&#039;&#039;&#039;&lt;br /&gt;
 cd ..&lt;br /&gt;
&lt;br /&gt;
Make sure that the path to &amp;quot;VAmpService.exe&amp;quot; is correct on your system.&lt;br /&gt;
Please keep in mind that you have to customize the *.bat-file shown above regarding your experiment. For using the V-Amp in the way described, the highlightened parts are important.&lt;br /&gt;
Please note that the commandline-window will stay open during the usage of BCI2000 (unlike when using the other *.bat-files) because of the operator.exe is started without the &amp;quot;start&amp;quot;-parameter. This is necessary to make sure that the VAmpService.exe process is started again just when BCI2000 is closed.&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>Ratko</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=7630</id>
		<title>Contributions:vAmpADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=7630"/>
		<updated>2016-06-20T12:39:17Z</updated>

		<summary type="html">&lt;p&gt;Ratko: /* V-Amp Service Troubleshooting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Function==&lt;br /&gt;
The &#039;&#039;vAmpADC&#039;&#039; filter acquires data from a &#039;&#039;V-Amp&#039;&#039; or &#039;&#039;FirstAmp&#039;&#039; EEG amplifier. &lt;br /&gt;
The &#039;&#039;V-Amp&#039;&#039; is an amplifier/digitizer combination from Brain Products.&lt;br /&gt;
Support for this device in BCI2000 consists of a BCI2000-compatible Source Module (&#039;&#039;vAmpSource.exe&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
===V-Amp Hardware===&lt;br /&gt;
The V-Amp consists of 16 independent 24-bit A/D converters that can sample at &lt;br /&gt;
up to 2 kHz per channel (16 channels, plus 2 auxiliary) or 20kHz per channel (4 channels).&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
The necessary system drivers are located in the BCI2000\src\extlib\brainproducts\vamp\ folder. To install the driver, follow these steps:&lt;br /&gt;
&lt;br /&gt;
# Plug in the V-Amp to a USB port. Windows should recognize it, and start to install drivers.&lt;br /&gt;
# Depending on the version of Windows being used, a Found New Hardware dialog should appear. Do NOT search online for drivers; instead, select Don&#039;t Search Online.&lt;br /&gt;
# When it asks you to insert the disc that came with the amplifier, select the option that allows you to browse for the driver.&lt;br /&gt;
# Navigate to BCI2000\src\extlib\brainproducts\vamp\. It should find the driver files, and installed the necessary software.&lt;br /&gt;
# For the last step, copy the files DiBpGmbH.dll and FirstAmp.dll to the BCI2000\prog\ folder.&lt;br /&gt;
# You should now be able to run the vAmpSource.exe module in BCI2000.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
Parameters common to all source modules are described under [[User Reference:DataIOFilter]].&lt;br /&gt;
In addition, the &#039;&#039;vAmpADC&#039;&#039; provides the following parameters:&lt;br /&gt;
&lt;br /&gt;
===SamplingRate===&lt;br /&gt;
The sample rate of the system. All data is either acquired at 2000 Hz or 20 kHz, and then decimated to the desired rate. Therefore, only rates that are integer divisors of the base rates are accepted. In 2000 Hz mode, the valid rates are:&lt;br /&gt;
&lt;br /&gt;
*2000&lt;br /&gt;
*1000&lt;br /&gt;
*666.6&lt;br /&gt;
*500&lt;br /&gt;
*400&lt;br /&gt;
*333.3&lt;br /&gt;
*285.7&lt;br /&gt;
*250&lt;br /&gt;
*222.22&lt;br /&gt;
*200&lt;br /&gt;
&lt;br /&gt;
In 20 kHz mode, 10 times the above rates are valid.&lt;br /&gt;
Prior to decimation, a 2nd-order anti-aliasing Butterworth filter with a corner frequency of 0.45 times the sample rate is applied to the signal.&lt;br /&gt;
All sampling rates are supported for one or more amplifiers. If you are sampling at high rates, the CPU may be overloaded depending on the speed of your computer and the BCI2000 configuration. In case you are experiencing problems (e.g., data loss, jerky display, etc.), increase the SampleBlockSize so that you are updating the system less frequently (usually, updating the system 20-30 times per second is sufficient for most applications), and increase Visualize-&amp;gt;VisualizeSourceDecimation. This parameter will decrease the number of samples per second that are actually drawn in the Source display.&lt;br /&gt;
&lt;br /&gt;
===HPFilterCorner===&lt;br /&gt;
A high-pass digital filter for removing DC offsets. This occurs after data has been read into BCI2000.&lt;br /&gt;
&lt;br /&gt;
===SampleBlockSize===&lt;br /&gt;
Samples per channel per digitized block. &lt;br /&gt;
Together with the sampling rate, this parameter determines how often per second data are collected, processed, and feedback is updated. For example, at 600 Hz sampling and a SampleBlockSize of 20, the system (e.g., source signal display, signal processing, and stimulus presentation) will be updated 30 times per second.&lt;br /&gt;
&lt;br /&gt;
===SourceCh===&lt;br /&gt;
The total number of channels. In high-speed mode, this number may not be higher than 5 (4 channels + digital).&lt;br /&gt;
&lt;br /&gt;
===SourceChList===&lt;br /&gt;
The list of channels that should be acquired from the vAmp device.&lt;br /&gt;
The total number of channels listed should correspond to &#039;&#039;SourceCh&#039;&#039;. &lt;br /&gt;
The order of channels does not matter; i.e., &#039;1 2 3 4&#039; is the same as &#039;2 3 1 4&#039;. The channels are always in ascending order.&lt;br /&gt;
Channels may not be listed twice; e.g., entering &#039;1 2 3 4 5 6 7 1&#039; if &#039;&#039;SourceCh&#039;&#039; = &#039;8&#039; will result in an error.&lt;br /&gt;
If this parameter is left blank (the default), then all channels are acquired.&lt;br /&gt;
For the V-Amp 16, channels 1-16 are EEG channels, 17-18 are Auxiliary channels, and 19 are the 8 digital channels stored in bits.&lt;br /&gt;
For the V-Amp 8, channels 1-8 are EEG channels, 9-10 are Auxiliary channels and 11 is the digital channel.&lt;br /&gt;
 &lt;br /&gt;
===AcquisitionMode===&lt;br /&gt;
*If set to &#039;&#039;analog signal acquisition&#039;&#039;, the V-Amp records analog signal voltages (default). &lt;br /&gt;
*If set to &#039;&#039;high-speed acquisition&#039;&#039;, the V-Amp records analog signals at 20 kHz instead of 2000 Hz.&lt;br /&gt;
*If set to &#039;&#039;Calibration&#039;&#039;, the signal output is a square wave test signal generated by the V-Amp (which can be used to verify correct system calibration). &lt;br /&gt;
*If set to &#039;&#039;Impedance&#039;&#039;, impedance data is recorded instead of the signal. The impedance values are showm in the V-Amp display. Values are currently updated 3 times per second. &lt;br /&gt;
*If set to &#039;&#039;high-speed calibration&#039;&#039;, a square wave is generated at 20 kHz.&lt;br /&gt;
&lt;br /&gt;
==Additional Information==&lt;br /&gt;
&lt;br /&gt;
===Data Storage===&lt;br /&gt;
*The signal is originally recorded from the V-Amp as 32-bit integers, and converted into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. &lt;br /&gt;
*The auxiliary input units are in volts.&lt;br /&gt;
*(&#039;&#039;SourceChOffset&#039;&#039; is assumed (and required) to be zero for all channels.) &lt;br /&gt;
BCI2000 Signal Processing or any offline analysis routine can derive, as with any other BCI2000 source module, sample values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; by subtracting, from each stored sample, &#039;&#039;SourceChOffset&#039;&#039; (i.e., zero), and multiplying it with &#039;&#039;SourceChGain&#039;&#039; for each channel. If &#039;&#039;SignalType&#039;&#039; is set to float32, data samples are stored in units of &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. In this case, &#039;&#039;SourceChGain&#039;&#039; should be a list of 1&#039;s (because the conversion factor between data samples into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; is 1.0 for each channel). Still, when values other than 0 and 1 are specified, a consistent data file will be produced, i.e. values will be transformed before they are written to the file, such that applying SourceChOffset and SourceChGain will reproduce the original values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===V-Amp Service Troubleshooting===&lt;br /&gt;
Please note that when BrainVision Recorder was running on the computer before you are using BCI2000 there is a daemon service called &amp;quot;VAmpService.exe&amp;quot; running in background on the computer. This service must be stopped before using V-Amp amplifier. &lt;br /&gt;
&lt;br /&gt;
[[File:Log_VampServiceDetected.png| thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to stop the “VAmpService.exe”, the following steps need to be done:&lt;br /&gt;
&lt;br /&gt;
1. Open Windows Start menu by clicking on icon [[File:StartWin.png]]  in left-bottom corner.&lt;br /&gt;
&lt;br /&gt;
2. In Windows Start menu type Services, and click on „Services“ when it appears in the menu. &lt;br /&gt;
&lt;br /&gt;
[[File:VampServiceOff_step1.png| thumb]]&lt;br /&gt;
&lt;br /&gt;
3. Service window opens, showing the list of services running on your PC.&lt;br /&gt;
   &lt;br /&gt;
[[File:ServiceExplorer.png| thumb]]&lt;br /&gt;
&lt;br /&gt;
4. Search for the „VAmpService“ in the list.&lt;br /&gt;
&lt;br /&gt;
5. Right-click on „VAmpService“ and the drop-down menu will appear.&lt;br /&gt;
&lt;br /&gt;
6. From the drop-down menu select “Stop”. This action stops the service.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A more convenient way to solve this problem is to edit the *.bat-file for your experiment like described below, especially if you are using BCI2000 and BrainVision Recorder alternately. This avoids problems with BrainVision Recorder that you might encounter when killing the &amp;quot;VampService.exe&amp;quot; process.&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Uninstall&#039;&#039;&#039;&lt;br /&gt;
 cd ..\prog&lt;br /&gt;
 start &#039;&#039;&#039;vAmpSource.exe&#039;&#039;&#039; 127.0.0.1&lt;br /&gt;
 start ARSignalProcessing 127.0.0.1&lt;br /&gt;
 start CursorTask.exe 127.0.0.1&lt;br /&gt;
 &#039;&#039;&#039;operator.exe&#039;&#039;&#039;&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Install&#039;&#039;&#039;&lt;br /&gt;
 cd ..&lt;br /&gt;
&lt;br /&gt;
Make sure that the path to &amp;quot;VAmpService.exe&amp;quot; is correct on your system.&lt;br /&gt;
Please keep in mind that you have to customize the *.bat-file shown above regarding your experiment. For using the V-Amp in the way described, the highlightened parts are important.&lt;br /&gt;
Please note that the commandline-window will stay open during the usage of BCI2000 (unlike when using the other *.bat-files) because of the operator.exe is started without the &amp;quot;start&amp;quot;-parameter. This is necessary to make sure that the VAmpService.exe process is started again just when BCI2000 is closed.&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>Ratko</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=7629</id>
		<title>Contributions:vAmpADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=7629"/>
		<updated>2016-06-20T12:38:41Z</updated>

		<summary type="html">&lt;p&gt;Ratko: /* V-Amp Service Troubleshooting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Function==&lt;br /&gt;
The &#039;&#039;vAmpADC&#039;&#039; filter acquires data from a &#039;&#039;V-Amp&#039;&#039; or &#039;&#039;FirstAmp&#039;&#039; EEG amplifier. &lt;br /&gt;
The &#039;&#039;V-Amp&#039;&#039; is an amplifier/digitizer combination from Brain Products.&lt;br /&gt;
Support for this device in BCI2000 consists of a BCI2000-compatible Source Module (&#039;&#039;vAmpSource.exe&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
===V-Amp Hardware===&lt;br /&gt;
The V-Amp consists of 16 independent 24-bit A/D converters that can sample at &lt;br /&gt;
up to 2 kHz per channel (16 channels, plus 2 auxiliary) or 20kHz per channel (4 channels).&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
The necessary system drivers are located in the BCI2000\src\extlib\brainproducts\vamp\ folder. To install the driver, follow these steps:&lt;br /&gt;
&lt;br /&gt;
# Plug in the V-Amp to a USB port. Windows should recognize it, and start to install drivers.&lt;br /&gt;
# Depending on the version of Windows being used, a Found New Hardware dialog should appear. Do NOT search online for drivers; instead, select Don&#039;t Search Online.&lt;br /&gt;
# When it asks you to insert the disc that came with the amplifier, select the option that allows you to browse for the driver.&lt;br /&gt;
# Navigate to BCI2000\src\extlib\brainproducts\vamp\. It should find the driver files, and installed the necessary software.&lt;br /&gt;
# For the last step, copy the files DiBpGmbH.dll and FirstAmp.dll to the BCI2000\prog\ folder.&lt;br /&gt;
# You should now be able to run the vAmpSource.exe module in BCI2000.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
Parameters common to all source modules are described under [[User Reference:DataIOFilter]].&lt;br /&gt;
In addition, the &#039;&#039;vAmpADC&#039;&#039; provides the following parameters:&lt;br /&gt;
&lt;br /&gt;
===SamplingRate===&lt;br /&gt;
The sample rate of the system. All data is either acquired at 2000 Hz or 20 kHz, and then decimated to the desired rate. Therefore, only rates that are integer divisors of the base rates are accepted. In 2000 Hz mode, the valid rates are:&lt;br /&gt;
&lt;br /&gt;
*2000&lt;br /&gt;
*1000&lt;br /&gt;
*666.6&lt;br /&gt;
*500&lt;br /&gt;
*400&lt;br /&gt;
*333.3&lt;br /&gt;
*285.7&lt;br /&gt;
*250&lt;br /&gt;
*222.22&lt;br /&gt;
*200&lt;br /&gt;
&lt;br /&gt;
In 20 kHz mode, 10 times the above rates are valid.&lt;br /&gt;
Prior to decimation, a 2nd-order anti-aliasing Butterworth filter with a corner frequency of 0.45 times the sample rate is applied to the signal.&lt;br /&gt;
All sampling rates are supported for one or more amplifiers. If you are sampling at high rates, the CPU may be overloaded depending on the speed of your computer and the BCI2000 configuration. In case you are experiencing problems (e.g., data loss, jerky display, etc.), increase the SampleBlockSize so that you are updating the system less frequently (usually, updating the system 20-30 times per second is sufficient for most applications), and increase Visualize-&amp;gt;VisualizeSourceDecimation. This parameter will decrease the number of samples per second that are actually drawn in the Source display.&lt;br /&gt;
&lt;br /&gt;
===HPFilterCorner===&lt;br /&gt;
A high-pass digital filter for removing DC offsets. This occurs after data has been read into BCI2000.&lt;br /&gt;
&lt;br /&gt;
===SampleBlockSize===&lt;br /&gt;
Samples per channel per digitized block. &lt;br /&gt;
Together with the sampling rate, this parameter determines how often per second data are collected, processed, and feedback is updated. For example, at 600 Hz sampling and a SampleBlockSize of 20, the system (e.g., source signal display, signal processing, and stimulus presentation) will be updated 30 times per second.&lt;br /&gt;
&lt;br /&gt;
===SourceCh===&lt;br /&gt;
The total number of channels. In high-speed mode, this number may not be higher than 5 (4 channels + digital).&lt;br /&gt;
&lt;br /&gt;
===SourceChList===&lt;br /&gt;
The list of channels that should be acquired from the vAmp device.&lt;br /&gt;
The total number of channels listed should correspond to &#039;&#039;SourceCh&#039;&#039;. &lt;br /&gt;
The order of channels does not matter; i.e., &#039;1 2 3 4&#039; is the same as &#039;2 3 1 4&#039;. The channels are always in ascending order.&lt;br /&gt;
Channels may not be listed twice; e.g., entering &#039;1 2 3 4 5 6 7 1&#039; if &#039;&#039;SourceCh&#039;&#039; = &#039;8&#039; will result in an error.&lt;br /&gt;
If this parameter is left blank (the default), then all channels are acquired.&lt;br /&gt;
For the V-Amp 16, channels 1-16 are EEG channels, 17-18 are Auxiliary channels, and 19 are the 8 digital channels stored in bits.&lt;br /&gt;
For the V-Amp 8, channels 1-8 are EEG channels, 9-10 are Auxiliary channels and 11 is the digital channel.&lt;br /&gt;
 &lt;br /&gt;
===AcquisitionMode===&lt;br /&gt;
*If set to &#039;&#039;analog signal acquisition&#039;&#039;, the V-Amp records analog signal voltages (default). &lt;br /&gt;
*If set to &#039;&#039;high-speed acquisition&#039;&#039;, the V-Amp records analog signals at 20 kHz instead of 2000 Hz.&lt;br /&gt;
*If set to &#039;&#039;Calibration&#039;&#039;, the signal output is a square wave test signal generated by the V-Amp (which can be used to verify correct system calibration). &lt;br /&gt;
*If set to &#039;&#039;Impedance&#039;&#039;, impedance data is recorded instead of the signal. The impedance values are showm in the V-Amp display. Values are currently updated 3 times per second. &lt;br /&gt;
*If set to &#039;&#039;high-speed calibration&#039;&#039;, a square wave is generated at 20 kHz.&lt;br /&gt;
&lt;br /&gt;
==Additional Information==&lt;br /&gt;
&lt;br /&gt;
===Data Storage===&lt;br /&gt;
*The signal is originally recorded from the V-Amp as 32-bit integers, and converted into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. &lt;br /&gt;
*The auxiliary input units are in volts.&lt;br /&gt;
*(&#039;&#039;SourceChOffset&#039;&#039; is assumed (and required) to be zero for all channels.) &lt;br /&gt;
BCI2000 Signal Processing or any offline analysis routine can derive, as with any other BCI2000 source module, sample values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; by subtracting, from each stored sample, &#039;&#039;SourceChOffset&#039;&#039; (i.e., zero), and multiplying it with &#039;&#039;SourceChGain&#039;&#039; for each channel. If &#039;&#039;SignalType&#039;&#039; is set to float32, data samples are stored in units of &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. In this case, &#039;&#039;SourceChGain&#039;&#039; should be a list of 1&#039;s (because the conversion factor between data samples into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; is 1.0 for each channel). Still, when values other than 0 and 1 are specified, a consistent data file will be produced, i.e. values will be transformed before they are written to the file, such that applying SourceChOffset and SourceChGain will reproduce the original values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===V-Amp Service Troubleshooting===&lt;br /&gt;
Please note that when BrainVision Recorder was running on the computer before you are using BCI2000 there is a daemon service called &amp;quot;VAmpService.exe&amp;quot; running in background on the computer. This service must be stopped before using V-Amp amplifier. &lt;br /&gt;
&lt;br /&gt;
[[File:Log_VampServiceDetected.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to stop the “VAmpService.exe”, the following steps need to be done:&lt;br /&gt;
&lt;br /&gt;
1. Open Windows Start menu by clicking on icon [[File:StartWin.png]]  in left-bottom corner.&lt;br /&gt;
&lt;br /&gt;
2. In Windows Start menu type Services, and click on „Services“ when it appears in the menu. &lt;br /&gt;
&lt;br /&gt;
[[File:VampServiceOff_step1.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
3. Service window opens, showing the list of services running on your PC.&lt;br /&gt;
   &lt;br /&gt;
[[File:ServiceExplorer.png]]&lt;br /&gt;
&lt;br /&gt;
4. Search for the „VAmpService“ in the list.&lt;br /&gt;
&lt;br /&gt;
5. Right-click on „VAmpService“ and the drop-down menu will appear.&lt;br /&gt;
&lt;br /&gt;
6. From the drop-down menu select “Stop”. This action stops the service.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A more convenient way to solve this problem is to edit the *.bat-file for your experiment like described below, especially if you are using BCI2000 and BrainVision Recorder alternately. This avoids problems with BrainVision Recorder that you might encounter when killing the &amp;quot;VampService.exe&amp;quot; process.&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Uninstall&#039;&#039;&#039;&lt;br /&gt;
 cd ..\prog&lt;br /&gt;
 start &#039;&#039;&#039;vAmpSource.exe&#039;&#039;&#039; 127.0.0.1&lt;br /&gt;
 start ARSignalProcessing 127.0.0.1&lt;br /&gt;
 start CursorTask.exe 127.0.0.1&lt;br /&gt;
 &#039;&#039;&#039;operator.exe&#039;&#039;&#039;&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Install&#039;&#039;&#039;&lt;br /&gt;
 cd ..&lt;br /&gt;
&lt;br /&gt;
Make sure that the path to &amp;quot;VAmpService.exe&amp;quot; is correct on your system.&lt;br /&gt;
Please keep in mind that you have to customize the *.bat-file shown above regarding your experiment. For using the V-Amp in the way described, the highlightened parts are important.&lt;br /&gt;
Please note that the commandline-window will stay open during the usage of BCI2000 (unlike when using the other *.bat-files) because of the operator.exe is started without the &amp;quot;start&amp;quot;-parameter. This is necessary to make sure that the VAmpService.exe process is started again just when BCI2000 is closed.&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>Ratko</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=7628</id>
		<title>Contributions:vAmpADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=7628"/>
		<updated>2016-06-20T12:35:17Z</updated>

		<summary type="html">&lt;p&gt;Ratko: /* V-Amp Service Troubleshooting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Function==&lt;br /&gt;
The &#039;&#039;vAmpADC&#039;&#039; filter acquires data from a &#039;&#039;V-Amp&#039;&#039; or &#039;&#039;FirstAmp&#039;&#039; EEG amplifier. &lt;br /&gt;
The &#039;&#039;V-Amp&#039;&#039; is an amplifier/digitizer combination from Brain Products.&lt;br /&gt;
Support for this device in BCI2000 consists of a BCI2000-compatible Source Module (&#039;&#039;vAmpSource.exe&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
===V-Amp Hardware===&lt;br /&gt;
The V-Amp consists of 16 independent 24-bit A/D converters that can sample at &lt;br /&gt;
up to 2 kHz per channel (16 channels, plus 2 auxiliary) or 20kHz per channel (4 channels).&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
The necessary system drivers are located in the BCI2000\src\extlib\brainproducts\vamp\ folder. To install the driver, follow these steps:&lt;br /&gt;
&lt;br /&gt;
# Plug in the V-Amp to a USB port. Windows should recognize it, and start to install drivers.&lt;br /&gt;
# Depending on the version of Windows being used, a Found New Hardware dialog should appear. Do NOT search online for drivers; instead, select Don&#039;t Search Online.&lt;br /&gt;
# When it asks you to insert the disc that came with the amplifier, select the option that allows you to browse for the driver.&lt;br /&gt;
# Navigate to BCI2000\src\extlib\brainproducts\vamp\. It should find the driver files, and installed the necessary software.&lt;br /&gt;
# For the last step, copy the files DiBpGmbH.dll and FirstAmp.dll to the BCI2000\prog\ folder.&lt;br /&gt;
# You should now be able to run the vAmpSource.exe module in BCI2000.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
Parameters common to all source modules are described under [[User Reference:DataIOFilter]].&lt;br /&gt;
In addition, the &#039;&#039;vAmpADC&#039;&#039; provides the following parameters:&lt;br /&gt;
&lt;br /&gt;
===SamplingRate===&lt;br /&gt;
The sample rate of the system. All data is either acquired at 2000 Hz or 20 kHz, and then decimated to the desired rate. Therefore, only rates that are integer divisors of the base rates are accepted. In 2000 Hz mode, the valid rates are:&lt;br /&gt;
&lt;br /&gt;
*2000&lt;br /&gt;
*1000&lt;br /&gt;
*666.6&lt;br /&gt;
*500&lt;br /&gt;
*400&lt;br /&gt;
*333.3&lt;br /&gt;
*285.7&lt;br /&gt;
*250&lt;br /&gt;
*222.22&lt;br /&gt;
*200&lt;br /&gt;
&lt;br /&gt;
In 20 kHz mode, 10 times the above rates are valid.&lt;br /&gt;
Prior to decimation, a 2nd-order anti-aliasing Butterworth filter with a corner frequency of 0.45 times the sample rate is applied to the signal.&lt;br /&gt;
All sampling rates are supported for one or more amplifiers. If you are sampling at high rates, the CPU may be overloaded depending on the speed of your computer and the BCI2000 configuration. In case you are experiencing problems (e.g., data loss, jerky display, etc.), increase the SampleBlockSize so that you are updating the system less frequently (usually, updating the system 20-30 times per second is sufficient for most applications), and increase Visualize-&amp;gt;VisualizeSourceDecimation. This parameter will decrease the number of samples per second that are actually drawn in the Source display.&lt;br /&gt;
&lt;br /&gt;
===HPFilterCorner===&lt;br /&gt;
A high-pass digital filter for removing DC offsets. This occurs after data has been read into BCI2000.&lt;br /&gt;
&lt;br /&gt;
===SampleBlockSize===&lt;br /&gt;
Samples per channel per digitized block. &lt;br /&gt;
Together with the sampling rate, this parameter determines how often per second data are collected, processed, and feedback is updated. For example, at 600 Hz sampling and a SampleBlockSize of 20, the system (e.g., source signal display, signal processing, and stimulus presentation) will be updated 30 times per second.&lt;br /&gt;
&lt;br /&gt;
===SourceCh===&lt;br /&gt;
The total number of channels. In high-speed mode, this number may not be higher than 5 (4 channels + digital).&lt;br /&gt;
&lt;br /&gt;
===SourceChList===&lt;br /&gt;
The list of channels that should be acquired from the vAmp device.&lt;br /&gt;
The total number of channels listed should correspond to &#039;&#039;SourceCh&#039;&#039;. &lt;br /&gt;
The order of channels does not matter; i.e., &#039;1 2 3 4&#039; is the same as &#039;2 3 1 4&#039;. The channels are always in ascending order.&lt;br /&gt;
Channels may not be listed twice; e.g., entering &#039;1 2 3 4 5 6 7 1&#039; if &#039;&#039;SourceCh&#039;&#039; = &#039;8&#039; will result in an error.&lt;br /&gt;
If this parameter is left blank (the default), then all channels are acquired.&lt;br /&gt;
For the V-Amp 16, channels 1-16 are EEG channels, 17-18 are Auxiliary channels, and 19 are the 8 digital channels stored in bits.&lt;br /&gt;
For the V-Amp 8, channels 1-8 are EEG channels, 9-10 are Auxiliary channels and 11 is the digital channel.&lt;br /&gt;
 &lt;br /&gt;
===AcquisitionMode===&lt;br /&gt;
*If set to &#039;&#039;analog signal acquisition&#039;&#039;, the V-Amp records analog signal voltages (default). &lt;br /&gt;
*If set to &#039;&#039;high-speed acquisition&#039;&#039;, the V-Amp records analog signals at 20 kHz instead of 2000 Hz.&lt;br /&gt;
*If set to &#039;&#039;Calibration&#039;&#039;, the signal output is a square wave test signal generated by the V-Amp (which can be used to verify correct system calibration). &lt;br /&gt;
*If set to &#039;&#039;Impedance&#039;&#039;, impedance data is recorded instead of the signal. The impedance values are showm in the V-Amp display. Values are currently updated 3 times per second. &lt;br /&gt;
*If set to &#039;&#039;high-speed calibration&#039;&#039;, a square wave is generated at 20 kHz.&lt;br /&gt;
&lt;br /&gt;
==Additional Information==&lt;br /&gt;
&lt;br /&gt;
===Data Storage===&lt;br /&gt;
*The signal is originally recorded from the V-Amp as 32-bit integers, and converted into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. &lt;br /&gt;
*The auxiliary input units are in volts.&lt;br /&gt;
*(&#039;&#039;SourceChOffset&#039;&#039; is assumed (and required) to be zero for all channels.) &lt;br /&gt;
BCI2000 Signal Processing or any offline analysis routine can derive, as with any other BCI2000 source module, sample values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; by subtracting, from each stored sample, &#039;&#039;SourceChOffset&#039;&#039; (i.e., zero), and multiplying it with &#039;&#039;SourceChGain&#039;&#039; for each channel. If &#039;&#039;SignalType&#039;&#039; is set to float32, data samples are stored in units of &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. In this case, &#039;&#039;SourceChGain&#039;&#039; should be a list of 1&#039;s (because the conversion factor between data samples into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; is 1.0 for each channel). Still, when values other than 0 and 1 are specified, a consistent data file will be produced, i.e. values will be transformed before they are written to the file, such that applying SourceChOffset and SourceChGain will reproduce the original values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===V-Amp Service Troubleshooting===&lt;br /&gt;
Please note that when BrainVision Recorder was running on the computer before you are using BCI2000 there is a daemon service called &amp;quot;VAmpService.exe&amp;quot; running in background on the computer. This service must be stopped before using V-Amp amplifier. &lt;br /&gt;
&lt;br /&gt;
[[File:Log_VampServiceDetected.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to stop the “VAmpService.exe”, the following steps need to be done:&lt;br /&gt;
&lt;br /&gt;
1. Open Windows Start menu by clicking on icon [[File:StartWin.png]]  in left-bottom corner.&lt;br /&gt;
&lt;br /&gt;
2. In Windows Start menu type Services, and click on „Services“ when it appears in the menu. &lt;br /&gt;
&lt;br /&gt;
[[File:VampServiceOff_step1.png]]&lt;br /&gt;
&lt;br /&gt;
3. Service window opens, showing the list of services running on your PC.&lt;br /&gt;
   &lt;br /&gt;
[[File:ServiceExplorer.png]]&lt;br /&gt;
&lt;br /&gt;
4. Search for the „VAmpService“ in the list.&lt;br /&gt;
&lt;br /&gt;
5. Right-click on „VAmpService“ and the drop-down menu will appear.&lt;br /&gt;
&lt;br /&gt;
6. From the drop-down menu select “Stop”. This action stops the service.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A more convenient way to solve this problem is to edit the *.bat-file for your experiment like described below, especially if you are using BCI2000 and BrainVision Recorder alternately. This avoids problems with BrainVision Recorder that you might encounter when killing the &amp;quot;VampService.exe&amp;quot; process.&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Uninstall&#039;&#039;&#039;&lt;br /&gt;
 cd ..\prog&lt;br /&gt;
 start &#039;&#039;&#039;vAmpSource.exe&#039;&#039;&#039; 127.0.0.1&lt;br /&gt;
 start ARSignalProcessing 127.0.0.1&lt;br /&gt;
 start CursorTask.exe 127.0.0.1&lt;br /&gt;
 &#039;&#039;&#039;operator.exe&#039;&#039;&#039;&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Install&#039;&#039;&#039;&lt;br /&gt;
 cd ..&lt;br /&gt;
&lt;br /&gt;
Make sure that the path to &amp;quot;VAmpService.exe&amp;quot; is correct on your system.&lt;br /&gt;
Please keep in mind that you have to customize the *.bat-file shown above regarding your experiment. For using the V-Amp in the way described, the highlightened parts are important.&lt;br /&gt;
Please note that the commandline-window will stay open during the usage of BCI2000 (unlike when using the other *.bat-files) because of the operator.exe is started without the &amp;quot;start&amp;quot;-parameter. This is necessary to make sure that the VAmpService.exe process is started again just when BCI2000 is closed.&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>Ratko</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=7627</id>
		<title>Contributions:vAmpADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=7627"/>
		<updated>2016-06-20T12:33:31Z</updated>

		<summary type="html">&lt;p&gt;Ratko: /* V-Amp Service Troubleshooting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Function==&lt;br /&gt;
The &#039;&#039;vAmpADC&#039;&#039; filter acquires data from a &#039;&#039;V-Amp&#039;&#039; or &#039;&#039;FirstAmp&#039;&#039; EEG amplifier. &lt;br /&gt;
The &#039;&#039;V-Amp&#039;&#039; is an amplifier/digitizer combination from Brain Products.&lt;br /&gt;
Support for this device in BCI2000 consists of a BCI2000-compatible Source Module (&#039;&#039;vAmpSource.exe&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
===V-Amp Hardware===&lt;br /&gt;
The V-Amp consists of 16 independent 24-bit A/D converters that can sample at &lt;br /&gt;
up to 2 kHz per channel (16 channels, plus 2 auxiliary) or 20kHz per channel (4 channels).&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
The necessary system drivers are located in the BCI2000\src\extlib\brainproducts\vamp\ folder. To install the driver, follow these steps:&lt;br /&gt;
&lt;br /&gt;
# Plug in the V-Amp to a USB port. Windows should recognize it, and start to install drivers.&lt;br /&gt;
# Depending on the version of Windows being used, a Found New Hardware dialog should appear. Do NOT search online for drivers; instead, select Don&#039;t Search Online.&lt;br /&gt;
# When it asks you to insert the disc that came with the amplifier, select the option that allows you to browse for the driver.&lt;br /&gt;
# Navigate to BCI2000\src\extlib\brainproducts\vamp\. It should find the driver files, and installed the necessary software.&lt;br /&gt;
# For the last step, copy the files DiBpGmbH.dll and FirstAmp.dll to the BCI2000\prog\ folder.&lt;br /&gt;
# You should now be able to run the vAmpSource.exe module in BCI2000.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
Parameters common to all source modules are described under [[User Reference:DataIOFilter]].&lt;br /&gt;
In addition, the &#039;&#039;vAmpADC&#039;&#039; provides the following parameters:&lt;br /&gt;
&lt;br /&gt;
===SamplingRate===&lt;br /&gt;
The sample rate of the system. All data is either acquired at 2000 Hz or 20 kHz, and then decimated to the desired rate. Therefore, only rates that are integer divisors of the base rates are accepted. In 2000 Hz mode, the valid rates are:&lt;br /&gt;
&lt;br /&gt;
*2000&lt;br /&gt;
*1000&lt;br /&gt;
*666.6&lt;br /&gt;
*500&lt;br /&gt;
*400&lt;br /&gt;
*333.3&lt;br /&gt;
*285.7&lt;br /&gt;
*250&lt;br /&gt;
*222.22&lt;br /&gt;
*200&lt;br /&gt;
&lt;br /&gt;
In 20 kHz mode, 10 times the above rates are valid.&lt;br /&gt;
Prior to decimation, a 2nd-order anti-aliasing Butterworth filter with a corner frequency of 0.45 times the sample rate is applied to the signal.&lt;br /&gt;
All sampling rates are supported for one or more amplifiers. If you are sampling at high rates, the CPU may be overloaded depending on the speed of your computer and the BCI2000 configuration. In case you are experiencing problems (e.g., data loss, jerky display, etc.), increase the SampleBlockSize so that you are updating the system less frequently (usually, updating the system 20-30 times per second is sufficient for most applications), and increase Visualize-&amp;gt;VisualizeSourceDecimation. This parameter will decrease the number of samples per second that are actually drawn in the Source display.&lt;br /&gt;
&lt;br /&gt;
===HPFilterCorner===&lt;br /&gt;
A high-pass digital filter for removing DC offsets. This occurs after data has been read into BCI2000.&lt;br /&gt;
&lt;br /&gt;
===SampleBlockSize===&lt;br /&gt;
Samples per channel per digitized block. &lt;br /&gt;
Together with the sampling rate, this parameter determines how often per second data are collected, processed, and feedback is updated. For example, at 600 Hz sampling and a SampleBlockSize of 20, the system (e.g., source signal display, signal processing, and stimulus presentation) will be updated 30 times per second.&lt;br /&gt;
&lt;br /&gt;
===SourceCh===&lt;br /&gt;
The total number of channels. In high-speed mode, this number may not be higher than 5 (4 channels + digital).&lt;br /&gt;
&lt;br /&gt;
===SourceChList===&lt;br /&gt;
The list of channels that should be acquired from the vAmp device.&lt;br /&gt;
The total number of channels listed should correspond to &#039;&#039;SourceCh&#039;&#039;. &lt;br /&gt;
The order of channels does not matter; i.e., &#039;1 2 3 4&#039; is the same as &#039;2 3 1 4&#039;. The channels are always in ascending order.&lt;br /&gt;
Channels may not be listed twice; e.g., entering &#039;1 2 3 4 5 6 7 1&#039; if &#039;&#039;SourceCh&#039;&#039; = &#039;8&#039; will result in an error.&lt;br /&gt;
If this parameter is left blank (the default), then all channels are acquired.&lt;br /&gt;
For the V-Amp 16, channels 1-16 are EEG channels, 17-18 are Auxiliary channels, and 19 are the 8 digital channels stored in bits.&lt;br /&gt;
For the V-Amp 8, channels 1-8 are EEG channels, 9-10 are Auxiliary channels and 11 is the digital channel.&lt;br /&gt;
 &lt;br /&gt;
===AcquisitionMode===&lt;br /&gt;
*If set to &#039;&#039;analog signal acquisition&#039;&#039;, the V-Amp records analog signal voltages (default). &lt;br /&gt;
*If set to &#039;&#039;high-speed acquisition&#039;&#039;, the V-Amp records analog signals at 20 kHz instead of 2000 Hz.&lt;br /&gt;
*If set to &#039;&#039;Calibration&#039;&#039;, the signal output is a square wave test signal generated by the V-Amp (which can be used to verify correct system calibration). &lt;br /&gt;
*If set to &#039;&#039;Impedance&#039;&#039;, impedance data is recorded instead of the signal. The impedance values are showm in the V-Amp display. Values are currently updated 3 times per second. &lt;br /&gt;
*If set to &#039;&#039;high-speed calibration&#039;&#039;, a square wave is generated at 20 kHz.&lt;br /&gt;
&lt;br /&gt;
==Additional Information==&lt;br /&gt;
&lt;br /&gt;
===Data Storage===&lt;br /&gt;
*The signal is originally recorded from the V-Amp as 32-bit integers, and converted into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. &lt;br /&gt;
*The auxiliary input units are in volts.&lt;br /&gt;
*(&#039;&#039;SourceChOffset&#039;&#039; is assumed (and required) to be zero for all channels.) &lt;br /&gt;
BCI2000 Signal Processing or any offline analysis routine can derive, as with any other BCI2000 source module, sample values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; by subtracting, from each stored sample, &#039;&#039;SourceChOffset&#039;&#039; (i.e., zero), and multiplying it with &#039;&#039;SourceChGain&#039;&#039; for each channel. If &#039;&#039;SignalType&#039;&#039; is set to float32, data samples are stored in units of &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. In this case, &#039;&#039;SourceChGain&#039;&#039; should be a list of 1&#039;s (because the conversion factor between data samples into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; is 1.0 for each channel). Still, when values other than 0 and 1 are specified, a consistent data file will be produced, i.e. values will be transformed before they are written to the file, such that applying SourceChOffset and SourceChGain will reproduce the original values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===V-Amp Service Troubleshooting===&lt;br /&gt;
Please note that when BrainVision Recorder was running on the computer before you are using BCI2000 there is a daemon service called &amp;quot;VAmpService.exe&amp;quot; running in background on the computer. This service must be stopped before using V-Amp amplifier. &lt;br /&gt;
&lt;br /&gt;
[[File:Log_VampServiceDetected.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to stop the “VAmpService.exe”, the following steps need to be done:&lt;br /&gt;
&lt;br /&gt;
1. Open Windows Start menu by clicking on icon [[File:StartWin.png]]  in left-bottom corner.&lt;br /&gt;
&lt;br /&gt;
2. In Windows Start menu type Services, and click on „Services“ when it appears in the menu. &lt;br /&gt;
&lt;br /&gt;
[[VampServiceOff_step1.png]]&lt;br /&gt;
&lt;br /&gt;
3. Service window opens, showing the list of services running on your PC.&lt;br /&gt;
   &lt;br /&gt;
[[ServiceExplorer.png]]&lt;br /&gt;
[[File:Example.jpg]]&lt;br /&gt;
&lt;br /&gt;
4. Search for the „VAmpService“ in the list.&lt;br /&gt;
&lt;br /&gt;
5. Right-click on „VAmpService“ and the drop-down menu will appear.&lt;br /&gt;
&lt;br /&gt;
6. From the drop-down menu select “Stop”. This action stops the service.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A more convenient way to solve this problem is to edit the *.bat-file for your experiment like described below, especially if you are using BCI2000 and BrainVision Recorder alternately. This avoids problems with BrainVision Recorder that you might encounter when killing the &amp;quot;VampService.exe&amp;quot; process.&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Uninstall&#039;&#039;&#039;&lt;br /&gt;
 cd ..\prog&lt;br /&gt;
 start &#039;&#039;&#039;vAmpSource.exe&#039;&#039;&#039; 127.0.0.1&lt;br /&gt;
 start ARSignalProcessing 127.0.0.1&lt;br /&gt;
 start CursorTask.exe 127.0.0.1&lt;br /&gt;
 &#039;&#039;&#039;operator.exe&#039;&#039;&#039;&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Install&#039;&#039;&#039;&lt;br /&gt;
 cd ..&lt;br /&gt;
&lt;br /&gt;
Make sure that the path to &amp;quot;VAmpService.exe&amp;quot; is correct on your system.&lt;br /&gt;
Please keep in mind that you have to customize the *.bat-file shown above regarding your experiment. For using the V-Amp in the way described, the highlightened parts are important.&lt;br /&gt;
Please note that the commandline-window will stay open during the usage of BCI2000 (unlike when using the other *.bat-files) because of the operator.exe is started without the &amp;quot;start&amp;quot;-parameter. This is necessary to make sure that the VAmpService.exe process is started again just when BCI2000 is closed.&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>Ratko</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=7626</id>
		<title>Contributions:vAmpADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=7626"/>
		<updated>2016-06-20T12:33:08Z</updated>

		<summary type="html">&lt;p&gt;Ratko: /* V-Amp Service Troubleshooting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Function==&lt;br /&gt;
The &#039;&#039;vAmpADC&#039;&#039; filter acquires data from a &#039;&#039;V-Amp&#039;&#039; or &#039;&#039;FirstAmp&#039;&#039; EEG amplifier. &lt;br /&gt;
The &#039;&#039;V-Amp&#039;&#039; is an amplifier/digitizer combination from Brain Products.&lt;br /&gt;
Support for this device in BCI2000 consists of a BCI2000-compatible Source Module (&#039;&#039;vAmpSource.exe&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
===V-Amp Hardware===&lt;br /&gt;
The V-Amp consists of 16 independent 24-bit A/D converters that can sample at &lt;br /&gt;
up to 2 kHz per channel (16 channels, plus 2 auxiliary) or 20kHz per channel (4 channels).&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
The necessary system drivers are located in the BCI2000\src\extlib\brainproducts\vamp\ folder. To install the driver, follow these steps:&lt;br /&gt;
&lt;br /&gt;
# Plug in the V-Amp to a USB port. Windows should recognize it, and start to install drivers.&lt;br /&gt;
# Depending on the version of Windows being used, a Found New Hardware dialog should appear. Do NOT search online for drivers; instead, select Don&#039;t Search Online.&lt;br /&gt;
# When it asks you to insert the disc that came with the amplifier, select the option that allows you to browse for the driver.&lt;br /&gt;
# Navigate to BCI2000\src\extlib\brainproducts\vamp\. It should find the driver files, and installed the necessary software.&lt;br /&gt;
# For the last step, copy the files DiBpGmbH.dll and FirstAmp.dll to the BCI2000\prog\ folder.&lt;br /&gt;
# You should now be able to run the vAmpSource.exe module in BCI2000.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
Parameters common to all source modules are described under [[User Reference:DataIOFilter]].&lt;br /&gt;
In addition, the &#039;&#039;vAmpADC&#039;&#039; provides the following parameters:&lt;br /&gt;
&lt;br /&gt;
===SamplingRate===&lt;br /&gt;
The sample rate of the system. All data is either acquired at 2000 Hz or 20 kHz, and then decimated to the desired rate. Therefore, only rates that are integer divisors of the base rates are accepted. In 2000 Hz mode, the valid rates are:&lt;br /&gt;
&lt;br /&gt;
*2000&lt;br /&gt;
*1000&lt;br /&gt;
*666.6&lt;br /&gt;
*500&lt;br /&gt;
*400&lt;br /&gt;
*333.3&lt;br /&gt;
*285.7&lt;br /&gt;
*250&lt;br /&gt;
*222.22&lt;br /&gt;
*200&lt;br /&gt;
&lt;br /&gt;
In 20 kHz mode, 10 times the above rates are valid.&lt;br /&gt;
Prior to decimation, a 2nd-order anti-aliasing Butterworth filter with a corner frequency of 0.45 times the sample rate is applied to the signal.&lt;br /&gt;
All sampling rates are supported for one or more amplifiers. If you are sampling at high rates, the CPU may be overloaded depending on the speed of your computer and the BCI2000 configuration. In case you are experiencing problems (e.g., data loss, jerky display, etc.), increase the SampleBlockSize so that you are updating the system less frequently (usually, updating the system 20-30 times per second is sufficient for most applications), and increase Visualize-&amp;gt;VisualizeSourceDecimation. This parameter will decrease the number of samples per second that are actually drawn in the Source display.&lt;br /&gt;
&lt;br /&gt;
===HPFilterCorner===&lt;br /&gt;
A high-pass digital filter for removing DC offsets. This occurs after data has been read into BCI2000.&lt;br /&gt;
&lt;br /&gt;
===SampleBlockSize===&lt;br /&gt;
Samples per channel per digitized block. &lt;br /&gt;
Together with the sampling rate, this parameter determines how often per second data are collected, processed, and feedback is updated. For example, at 600 Hz sampling and a SampleBlockSize of 20, the system (e.g., source signal display, signal processing, and stimulus presentation) will be updated 30 times per second.&lt;br /&gt;
&lt;br /&gt;
===SourceCh===&lt;br /&gt;
The total number of channels. In high-speed mode, this number may not be higher than 5 (4 channels + digital).&lt;br /&gt;
&lt;br /&gt;
===SourceChList===&lt;br /&gt;
The list of channels that should be acquired from the vAmp device.&lt;br /&gt;
The total number of channels listed should correspond to &#039;&#039;SourceCh&#039;&#039;. &lt;br /&gt;
The order of channels does not matter; i.e., &#039;1 2 3 4&#039; is the same as &#039;2 3 1 4&#039;. The channels are always in ascending order.&lt;br /&gt;
Channels may not be listed twice; e.g., entering &#039;1 2 3 4 5 6 7 1&#039; if &#039;&#039;SourceCh&#039;&#039; = &#039;8&#039; will result in an error.&lt;br /&gt;
If this parameter is left blank (the default), then all channels are acquired.&lt;br /&gt;
For the V-Amp 16, channels 1-16 are EEG channels, 17-18 are Auxiliary channels, and 19 are the 8 digital channels stored in bits.&lt;br /&gt;
For the V-Amp 8, channels 1-8 are EEG channels, 9-10 are Auxiliary channels and 11 is the digital channel.&lt;br /&gt;
 &lt;br /&gt;
===AcquisitionMode===&lt;br /&gt;
*If set to &#039;&#039;analog signal acquisition&#039;&#039;, the V-Amp records analog signal voltages (default). &lt;br /&gt;
*If set to &#039;&#039;high-speed acquisition&#039;&#039;, the V-Amp records analog signals at 20 kHz instead of 2000 Hz.&lt;br /&gt;
*If set to &#039;&#039;Calibration&#039;&#039;, the signal output is a square wave test signal generated by the V-Amp (which can be used to verify correct system calibration). &lt;br /&gt;
*If set to &#039;&#039;Impedance&#039;&#039;, impedance data is recorded instead of the signal. The impedance values are showm in the V-Amp display. Values are currently updated 3 times per second. &lt;br /&gt;
*If set to &#039;&#039;high-speed calibration&#039;&#039;, a square wave is generated at 20 kHz.&lt;br /&gt;
&lt;br /&gt;
==Additional Information==&lt;br /&gt;
&lt;br /&gt;
===Data Storage===&lt;br /&gt;
*The signal is originally recorded from the V-Amp as 32-bit integers, and converted into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. &lt;br /&gt;
*The auxiliary input units are in volts.&lt;br /&gt;
*(&#039;&#039;SourceChOffset&#039;&#039; is assumed (and required) to be zero for all channels.) &lt;br /&gt;
BCI2000 Signal Processing or any offline analysis routine can derive, as with any other BCI2000 source module, sample values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; by subtracting, from each stored sample, &#039;&#039;SourceChOffset&#039;&#039; (i.e., zero), and multiplying it with &#039;&#039;SourceChGain&#039;&#039; for each channel. If &#039;&#039;SignalType&#039;&#039; is set to float32, data samples are stored in units of &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. In this case, &#039;&#039;SourceChGain&#039;&#039; should be a list of 1&#039;s (because the conversion factor between data samples into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; is 1.0 for each channel). Still, when values other than 0 and 1 are specified, a consistent data file will be produced, i.e. values will be transformed before they are written to the file, such that applying SourceChOffset and SourceChGain will reproduce the original values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===V-Amp Service Troubleshooting===&lt;br /&gt;
Please note that when BrainVision Recorder was running on the computer before you are using BCI2000 there is a daemon service called &amp;quot;VAmpService.exe&amp;quot; running in background on the computer. This service must be stopped before using V-Amp amplifier. &lt;br /&gt;
&lt;br /&gt;
[[File:Log_VampServiceDetected.png]]&lt;br /&gt;
[[File:Example.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to stop the “VAmpService.exe”, the following steps need to be done:&lt;br /&gt;
&lt;br /&gt;
1. Open Windows Start menu by clicking on icon [[File:StartWin.png]]  in left-bottom corner.&lt;br /&gt;
&lt;br /&gt;
2. In Windows Start menu type Services, and click on „Services“ when it appears in the menu. &lt;br /&gt;
&lt;br /&gt;
  [[VampServiceOff_step1.png]]&lt;br /&gt;
&lt;br /&gt;
3. Service window opens, showing the list of services running on your PC.&lt;br /&gt;
   &lt;br /&gt;
  [[ServiceExplorer.png]]&lt;br /&gt;
&lt;br /&gt;
4. Search for the „VAmpService“ in the list.&lt;br /&gt;
&lt;br /&gt;
5. Right-click on „VAmpService“ and the drop-down menu will appear.&lt;br /&gt;
&lt;br /&gt;
6. From the drop-down menu select “Stop”. This action stops the service.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A more convenient way to solve this problem is to edit the *.bat-file for your experiment like described below, especially if you are using BCI2000 and BrainVision Recorder alternately. This avoids problems with BrainVision Recorder that you might encounter when killing the &amp;quot;VampService.exe&amp;quot; process.&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Uninstall&#039;&#039;&#039;&lt;br /&gt;
 cd ..\prog&lt;br /&gt;
 start &#039;&#039;&#039;vAmpSource.exe&#039;&#039;&#039; 127.0.0.1&lt;br /&gt;
 start ARSignalProcessing 127.0.0.1&lt;br /&gt;
 start CursorTask.exe 127.0.0.1&lt;br /&gt;
 &#039;&#039;&#039;operator.exe&#039;&#039;&#039;&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Install&#039;&#039;&#039;&lt;br /&gt;
 cd ..&lt;br /&gt;
&lt;br /&gt;
Make sure that the path to &amp;quot;VAmpService.exe&amp;quot; is correct on your system.&lt;br /&gt;
Please keep in mind that you have to customize the *.bat-file shown above regarding your experiment. For using the V-Amp in the way described, the highlightened parts are important.&lt;br /&gt;
Please note that the commandline-window will stay open during the usage of BCI2000 (unlike when using the other *.bat-files) because of the operator.exe is started without the &amp;quot;start&amp;quot;-parameter. This is necessary to make sure that the VAmpService.exe process is started again just when BCI2000 is closed.&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>Ratko</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=7625</id>
		<title>Contributions:vAmpADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=7625"/>
		<updated>2016-06-20T12:32:17Z</updated>

		<summary type="html">&lt;p&gt;Ratko: /* V-Amp Service Troubleshooting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Function==&lt;br /&gt;
The &#039;&#039;vAmpADC&#039;&#039; filter acquires data from a &#039;&#039;V-Amp&#039;&#039; or &#039;&#039;FirstAmp&#039;&#039; EEG amplifier. &lt;br /&gt;
The &#039;&#039;V-Amp&#039;&#039; is an amplifier/digitizer combination from Brain Products.&lt;br /&gt;
Support for this device in BCI2000 consists of a BCI2000-compatible Source Module (&#039;&#039;vAmpSource.exe&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
===V-Amp Hardware===&lt;br /&gt;
The V-Amp consists of 16 independent 24-bit A/D converters that can sample at &lt;br /&gt;
up to 2 kHz per channel (16 channels, plus 2 auxiliary) or 20kHz per channel (4 channels).&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
The necessary system drivers are located in the BCI2000\src\extlib\brainproducts\vamp\ folder. To install the driver, follow these steps:&lt;br /&gt;
&lt;br /&gt;
# Plug in the V-Amp to a USB port. Windows should recognize it, and start to install drivers.&lt;br /&gt;
# Depending on the version of Windows being used, a Found New Hardware dialog should appear. Do NOT search online for drivers; instead, select Don&#039;t Search Online.&lt;br /&gt;
# When it asks you to insert the disc that came with the amplifier, select the option that allows you to browse for the driver.&lt;br /&gt;
# Navigate to BCI2000\src\extlib\brainproducts\vamp\. It should find the driver files, and installed the necessary software.&lt;br /&gt;
# For the last step, copy the files DiBpGmbH.dll and FirstAmp.dll to the BCI2000\prog\ folder.&lt;br /&gt;
# You should now be able to run the vAmpSource.exe module in BCI2000.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
Parameters common to all source modules are described under [[User Reference:DataIOFilter]].&lt;br /&gt;
In addition, the &#039;&#039;vAmpADC&#039;&#039; provides the following parameters:&lt;br /&gt;
&lt;br /&gt;
===SamplingRate===&lt;br /&gt;
The sample rate of the system. All data is either acquired at 2000 Hz or 20 kHz, and then decimated to the desired rate. Therefore, only rates that are integer divisors of the base rates are accepted. In 2000 Hz mode, the valid rates are:&lt;br /&gt;
&lt;br /&gt;
*2000&lt;br /&gt;
*1000&lt;br /&gt;
*666.6&lt;br /&gt;
*500&lt;br /&gt;
*400&lt;br /&gt;
*333.3&lt;br /&gt;
*285.7&lt;br /&gt;
*250&lt;br /&gt;
*222.22&lt;br /&gt;
*200&lt;br /&gt;
&lt;br /&gt;
In 20 kHz mode, 10 times the above rates are valid.&lt;br /&gt;
Prior to decimation, a 2nd-order anti-aliasing Butterworth filter with a corner frequency of 0.45 times the sample rate is applied to the signal.&lt;br /&gt;
All sampling rates are supported for one or more amplifiers. If you are sampling at high rates, the CPU may be overloaded depending on the speed of your computer and the BCI2000 configuration. In case you are experiencing problems (e.g., data loss, jerky display, etc.), increase the SampleBlockSize so that you are updating the system less frequently (usually, updating the system 20-30 times per second is sufficient for most applications), and increase Visualize-&amp;gt;VisualizeSourceDecimation. This parameter will decrease the number of samples per second that are actually drawn in the Source display.&lt;br /&gt;
&lt;br /&gt;
===HPFilterCorner===&lt;br /&gt;
A high-pass digital filter for removing DC offsets. This occurs after data has been read into BCI2000.&lt;br /&gt;
&lt;br /&gt;
===SampleBlockSize===&lt;br /&gt;
Samples per channel per digitized block. &lt;br /&gt;
Together with the sampling rate, this parameter determines how often per second data are collected, processed, and feedback is updated. For example, at 600 Hz sampling and a SampleBlockSize of 20, the system (e.g., source signal display, signal processing, and stimulus presentation) will be updated 30 times per second.&lt;br /&gt;
&lt;br /&gt;
===SourceCh===&lt;br /&gt;
The total number of channels. In high-speed mode, this number may not be higher than 5 (4 channels + digital).&lt;br /&gt;
&lt;br /&gt;
===SourceChList===&lt;br /&gt;
The list of channels that should be acquired from the vAmp device.&lt;br /&gt;
The total number of channels listed should correspond to &#039;&#039;SourceCh&#039;&#039;. &lt;br /&gt;
The order of channels does not matter; i.e., &#039;1 2 3 4&#039; is the same as &#039;2 3 1 4&#039;. The channels are always in ascending order.&lt;br /&gt;
Channels may not be listed twice; e.g., entering &#039;1 2 3 4 5 6 7 1&#039; if &#039;&#039;SourceCh&#039;&#039; = &#039;8&#039; will result in an error.&lt;br /&gt;
If this parameter is left blank (the default), then all channels are acquired.&lt;br /&gt;
For the V-Amp 16, channels 1-16 are EEG channels, 17-18 are Auxiliary channels, and 19 are the 8 digital channels stored in bits.&lt;br /&gt;
For the V-Amp 8, channels 1-8 are EEG channels, 9-10 are Auxiliary channels and 11 is the digital channel.&lt;br /&gt;
 &lt;br /&gt;
===AcquisitionMode===&lt;br /&gt;
*If set to &#039;&#039;analog signal acquisition&#039;&#039;, the V-Amp records analog signal voltages (default). &lt;br /&gt;
*If set to &#039;&#039;high-speed acquisition&#039;&#039;, the V-Amp records analog signals at 20 kHz instead of 2000 Hz.&lt;br /&gt;
*If set to &#039;&#039;Calibration&#039;&#039;, the signal output is a square wave test signal generated by the V-Amp (which can be used to verify correct system calibration). &lt;br /&gt;
*If set to &#039;&#039;Impedance&#039;&#039;, impedance data is recorded instead of the signal. The impedance values are showm in the V-Amp display. Values are currently updated 3 times per second. &lt;br /&gt;
*If set to &#039;&#039;high-speed calibration&#039;&#039;, a square wave is generated at 20 kHz.&lt;br /&gt;
&lt;br /&gt;
==Additional Information==&lt;br /&gt;
&lt;br /&gt;
===Data Storage===&lt;br /&gt;
*The signal is originally recorded from the V-Amp as 32-bit integers, and converted into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. &lt;br /&gt;
*The auxiliary input units are in volts.&lt;br /&gt;
*(&#039;&#039;SourceChOffset&#039;&#039; is assumed (and required) to be zero for all channels.) &lt;br /&gt;
BCI2000 Signal Processing or any offline analysis routine can derive, as with any other BCI2000 source module, sample values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; by subtracting, from each stored sample, &#039;&#039;SourceChOffset&#039;&#039; (i.e., zero), and multiplying it with &#039;&#039;SourceChGain&#039;&#039; for each channel. If &#039;&#039;SignalType&#039;&#039; is set to float32, data samples are stored in units of &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. In this case, &#039;&#039;SourceChGain&#039;&#039; should be a list of 1&#039;s (because the conversion factor between data samples into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; is 1.0 for each channel). Still, when values other than 0 and 1 are specified, a consistent data file will be produced, i.e. values will be transformed before they are written to the file, such that applying SourceChOffset and SourceChGain will reproduce the original values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===V-Amp Service Troubleshooting===&lt;br /&gt;
Please note that when BrainVision Recorder was running on the computer before you are using BCI2000 there is a daemon service called &amp;quot;VAmpService.exe&amp;quot; running in background on the computer. This service must be stopped before using V-Amp amplifier. &lt;br /&gt;
&lt;br /&gt;
[[File:Log_VampServiceDetected.png]]&lt;br /&gt;
[[File:Example.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to stop the “VAmpService.exe”, the following steps need to be done:&lt;br /&gt;
&lt;br /&gt;
  1. Open Windows Start menu by clicking on icon [[File:StartWin.png]]  in left-bottom corner.&lt;br /&gt;
&lt;br /&gt;
  2. In Windows Start menu type Services, and click on „Services“ when it appears in the menu. &lt;br /&gt;
&lt;br /&gt;
   [[VampServiceOff_step1.png]]&lt;br /&gt;
&lt;br /&gt;
  3. Service window opens, showing the list of services running on your PC.&lt;br /&gt;
   &lt;br /&gt;
   [[ServiceExplorer.png]]&lt;br /&gt;
&lt;br /&gt;
  4. Search for the „VAmpService“ in the list.&lt;br /&gt;
&lt;br /&gt;
  5. Right-click on „VAmpService“ and the drop-down menu will appear.&lt;br /&gt;
&lt;br /&gt;
  6. From the drop-down menu select “Stop”. This action stops the service.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A more convenient way to solve this problem is to edit the *.bat-file for your experiment like described below, especially if you are using BCI2000 and BrainVision Recorder alternately. This avoids problems with BrainVision Recorder that you might encounter when killing the &amp;quot;VampService.exe&amp;quot; process.&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Uninstall&#039;&#039;&#039;&lt;br /&gt;
 cd ..\prog&lt;br /&gt;
 start &#039;&#039;&#039;vAmpSource.exe&#039;&#039;&#039; 127.0.0.1&lt;br /&gt;
 start ARSignalProcessing 127.0.0.1&lt;br /&gt;
 start CursorTask.exe 127.0.0.1&lt;br /&gt;
 &#039;&#039;&#039;operator.exe&#039;&#039;&#039;&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Install&#039;&#039;&#039;&lt;br /&gt;
 cd ..&lt;br /&gt;
&lt;br /&gt;
Make sure that the path to &amp;quot;VAmpService.exe&amp;quot; is correct on your system.&lt;br /&gt;
Please keep in mind that you have to customize the *.bat-file shown above regarding your experiment. For using the V-Amp in the way described, the highlightened parts are important.&lt;br /&gt;
Please note that the commandline-window will stay open during the usage of BCI2000 (unlike when using the other *.bat-files) because of the operator.exe is started without the &amp;quot;start&amp;quot;-parameter. This is necessary to make sure that the VAmpService.exe process is started again just when BCI2000 is closed.&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>Ratko</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=File:ServiceExplorer.png&amp;diff=7624</id>
		<title>File:ServiceExplorer.png</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=File:ServiceExplorer.png&amp;diff=7624"/>
		<updated>2016-06-20T12:31:33Z</updated>

		<summary type="html">&lt;p&gt;Ratko: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ratko</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=File:VampServiceOff_step1.png&amp;diff=7623</id>
		<title>File:VampServiceOff step1.png</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=File:VampServiceOff_step1.png&amp;diff=7623"/>
		<updated>2016-06-20T12:30:54Z</updated>

		<summary type="html">&lt;p&gt;Ratko: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ratko</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=7622</id>
		<title>Contributions:vAmpADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=7622"/>
		<updated>2016-06-20T12:23:10Z</updated>

		<summary type="html">&lt;p&gt;Ratko: /* V-Amp Service Troubleshooting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Function==&lt;br /&gt;
The &#039;&#039;vAmpADC&#039;&#039; filter acquires data from a &#039;&#039;V-Amp&#039;&#039; or &#039;&#039;FirstAmp&#039;&#039; EEG amplifier. &lt;br /&gt;
The &#039;&#039;V-Amp&#039;&#039; is an amplifier/digitizer combination from Brain Products.&lt;br /&gt;
Support for this device in BCI2000 consists of a BCI2000-compatible Source Module (&#039;&#039;vAmpSource.exe&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
===V-Amp Hardware===&lt;br /&gt;
The V-Amp consists of 16 independent 24-bit A/D converters that can sample at &lt;br /&gt;
up to 2 kHz per channel (16 channels, plus 2 auxiliary) or 20kHz per channel (4 channels).&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
The necessary system drivers are located in the BCI2000\src\extlib\brainproducts\vamp\ folder. To install the driver, follow these steps:&lt;br /&gt;
&lt;br /&gt;
# Plug in the V-Amp to a USB port. Windows should recognize it, and start to install drivers.&lt;br /&gt;
# Depending on the version of Windows being used, a Found New Hardware dialog should appear. Do NOT search online for drivers; instead, select Don&#039;t Search Online.&lt;br /&gt;
# When it asks you to insert the disc that came with the amplifier, select the option that allows you to browse for the driver.&lt;br /&gt;
# Navigate to BCI2000\src\extlib\brainproducts\vamp\. It should find the driver files, and installed the necessary software.&lt;br /&gt;
# For the last step, copy the files DiBpGmbH.dll and FirstAmp.dll to the BCI2000\prog\ folder.&lt;br /&gt;
# You should now be able to run the vAmpSource.exe module in BCI2000.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
Parameters common to all source modules are described under [[User Reference:DataIOFilter]].&lt;br /&gt;
In addition, the &#039;&#039;vAmpADC&#039;&#039; provides the following parameters:&lt;br /&gt;
&lt;br /&gt;
===SamplingRate===&lt;br /&gt;
The sample rate of the system. All data is either acquired at 2000 Hz or 20 kHz, and then decimated to the desired rate. Therefore, only rates that are integer divisors of the base rates are accepted. In 2000 Hz mode, the valid rates are:&lt;br /&gt;
&lt;br /&gt;
*2000&lt;br /&gt;
*1000&lt;br /&gt;
*666.6&lt;br /&gt;
*500&lt;br /&gt;
*400&lt;br /&gt;
*333.3&lt;br /&gt;
*285.7&lt;br /&gt;
*250&lt;br /&gt;
*222.22&lt;br /&gt;
*200&lt;br /&gt;
&lt;br /&gt;
In 20 kHz mode, 10 times the above rates are valid.&lt;br /&gt;
Prior to decimation, a 2nd-order anti-aliasing Butterworth filter with a corner frequency of 0.45 times the sample rate is applied to the signal.&lt;br /&gt;
All sampling rates are supported for one or more amplifiers. If you are sampling at high rates, the CPU may be overloaded depending on the speed of your computer and the BCI2000 configuration. In case you are experiencing problems (e.g., data loss, jerky display, etc.), increase the SampleBlockSize so that you are updating the system less frequently (usually, updating the system 20-30 times per second is sufficient for most applications), and increase Visualize-&amp;gt;VisualizeSourceDecimation. This parameter will decrease the number of samples per second that are actually drawn in the Source display.&lt;br /&gt;
&lt;br /&gt;
===HPFilterCorner===&lt;br /&gt;
A high-pass digital filter for removing DC offsets. This occurs after data has been read into BCI2000.&lt;br /&gt;
&lt;br /&gt;
===SampleBlockSize===&lt;br /&gt;
Samples per channel per digitized block. &lt;br /&gt;
Together with the sampling rate, this parameter determines how often per second data are collected, processed, and feedback is updated. For example, at 600 Hz sampling and a SampleBlockSize of 20, the system (e.g., source signal display, signal processing, and stimulus presentation) will be updated 30 times per second.&lt;br /&gt;
&lt;br /&gt;
===SourceCh===&lt;br /&gt;
The total number of channels. In high-speed mode, this number may not be higher than 5 (4 channels + digital).&lt;br /&gt;
&lt;br /&gt;
===SourceChList===&lt;br /&gt;
The list of channels that should be acquired from the vAmp device.&lt;br /&gt;
The total number of channels listed should correspond to &#039;&#039;SourceCh&#039;&#039;. &lt;br /&gt;
The order of channels does not matter; i.e., &#039;1 2 3 4&#039; is the same as &#039;2 3 1 4&#039;. The channels are always in ascending order.&lt;br /&gt;
Channels may not be listed twice; e.g., entering &#039;1 2 3 4 5 6 7 1&#039; if &#039;&#039;SourceCh&#039;&#039; = &#039;8&#039; will result in an error.&lt;br /&gt;
If this parameter is left blank (the default), then all channels are acquired.&lt;br /&gt;
For the V-Amp 16, channels 1-16 are EEG channels, 17-18 are Auxiliary channels, and 19 are the 8 digital channels stored in bits.&lt;br /&gt;
For the V-Amp 8, channels 1-8 are EEG channels, 9-10 are Auxiliary channels and 11 is the digital channel.&lt;br /&gt;
 &lt;br /&gt;
===AcquisitionMode===&lt;br /&gt;
*If set to &#039;&#039;analog signal acquisition&#039;&#039;, the V-Amp records analog signal voltages (default). &lt;br /&gt;
*If set to &#039;&#039;high-speed acquisition&#039;&#039;, the V-Amp records analog signals at 20 kHz instead of 2000 Hz.&lt;br /&gt;
*If set to &#039;&#039;Calibration&#039;&#039;, the signal output is a square wave test signal generated by the V-Amp (which can be used to verify correct system calibration). &lt;br /&gt;
*If set to &#039;&#039;Impedance&#039;&#039;, impedance data is recorded instead of the signal. The impedance values are showm in the V-Amp display. Values are currently updated 3 times per second. &lt;br /&gt;
*If set to &#039;&#039;high-speed calibration&#039;&#039;, a square wave is generated at 20 kHz.&lt;br /&gt;
&lt;br /&gt;
==Additional Information==&lt;br /&gt;
&lt;br /&gt;
===Data Storage===&lt;br /&gt;
*The signal is originally recorded from the V-Amp as 32-bit integers, and converted into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. &lt;br /&gt;
*The auxiliary input units are in volts.&lt;br /&gt;
*(&#039;&#039;SourceChOffset&#039;&#039; is assumed (and required) to be zero for all channels.) &lt;br /&gt;
BCI2000 Signal Processing or any offline analysis routine can derive, as with any other BCI2000 source module, sample values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; by subtracting, from each stored sample, &#039;&#039;SourceChOffset&#039;&#039; (i.e., zero), and multiplying it with &#039;&#039;SourceChGain&#039;&#039; for each channel. If &#039;&#039;SignalType&#039;&#039; is set to float32, data samples are stored in units of &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. In this case, &#039;&#039;SourceChGain&#039;&#039; should be a list of 1&#039;s (because the conversion factor between data samples into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; is 1.0 for each channel). Still, when values other than 0 and 1 are specified, a consistent data file will be produced, i.e. values will be transformed before they are written to the file, such that applying SourceChOffset and SourceChGain will reproduce the original values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===V-Amp Service Troubleshooting===&lt;br /&gt;
Please note that when BrainVision Recorder was running on the computer before you are using BCI2000 there is a daemon service called &amp;quot;VAmpService.exe&amp;quot; running in background on the computer. This service must be stopped before using V-Amp amplifier. &lt;br /&gt;
&lt;br /&gt;
[[File:Log_VampServiceDetected.png]]&lt;br /&gt;
[[File:Example.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to stop the “VAmpService.exe”, the following steps need to be done:&lt;br /&gt;
&lt;br /&gt;
  1. Open Windows Start menu by clicking on icon [[File:StartWin.png]]  in left-bottom corner.&lt;br /&gt;
&lt;br /&gt;
  2. In Windows Start menu type Services, and click on „Services“ when it appears in the menu. &lt;br /&gt;
&lt;br /&gt;
   [[File:Example.jpg]]&lt;br /&gt;
&lt;br /&gt;
  3. Service window opens, showing the list of services running on your PC.&lt;br /&gt;
   &lt;br /&gt;
   [[File:Example.jpg]]&lt;br /&gt;
&lt;br /&gt;
  4. Search for the „VAmpService“ in the list.&lt;br /&gt;
&lt;br /&gt;
  5. Right-click on „VAmpService“ and the drop-down menu will appear.&lt;br /&gt;
&lt;br /&gt;
  6. From the drop-down menu select “Stop”. This action stops the service.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A more convenient way to solve this problem is to edit the *.bat-file for your experiment like described below, especially if you are using BCI2000 and BrainVision Recorder alternately. This avoids problems with BrainVision Recorder that you might encounter when killing the &amp;quot;VampService.exe&amp;quot; process.&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Uninstall&#039;&#039;&#039;&lt;br /&gt;
 cd ..\prog&lt;br /&gt;
 start &#039;&#039;&#039;vAmpSource.exe&#039;&#039;&#039; 127.0.0.1&lt;br /&gt;
 start ARSignalProcessing 127.0.0.1&lt;br /&gt;
 start CursorTask.exe 127.0.0.1&lt;br /&gt;
 &#039;&#039;&#039;operator.exe&#039;&#039;&#039;&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Install&#039;&#039;&#039;&lt;br /&gt;
 cd ..&lt;br /&gt;
&lt;br /&gt;
Make sure that the path to &amp;quot;VAmpService.exe&amp;quot; is correct on your system.&lt;br /&gt;
Please keep in mind that you have to customize the *.bat-file shown above regarding your experiment. For using the V-Amp in the way described, the highlightened parts are important.&lt;br /&gt;
Please note that the commandline-window will stay open during the usage of BCI2000 (unlike when using the other *.bat-files) because of the operator.exe is started without the &amp;quot;start&amp;quot;-parameter. This is necessary to make sure that the VAmpService.exe process is started again just when BCI2000 is closed.&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>Ratko</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=File:StartWin.png&amp;diff=7621</id>
		<title>File:StartWin.png</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=File:StartWin.png&amp;diff=7621"/>
		<updated>2016-06-20T12:22:47Z</updated>

		<summary type="html">&lt;p&gt;Ratko: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ratko</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=7620</id>
		<title>Contributions:vAmpADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=7620"/>
		<updated>2016-06-20T12:22:08Z</updated>

		<summary type="html">&lt;p&gt;Ratko: /* V-Amp Service Troubleshooting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Function==&lt;br /&gt;
The &#039;&#039;vAmpADC&#039;&#039; filter acquires data from a &#039;&#039;V-Amp&#039;&#039; or &#039;&#039;FirstAmp&#039;&#039; EEG amplifier. &lt;br /&gt;
The &#039;&#039;V-Amp&#039;&#039; is an amplifier/digitizer combination from Brain Products.&lt;br /&gt;
Support for this device in BCI2000 consists of a BCI2000-compatible Source Module (&#039;&#039;vAmpSource.exe&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
===V-Amp Hardware===&lt;br /&gt;
The V-Amp consists of 16 independent 24-bit A/D converters that can sample at &lt;br /&gt;
up to 2 kHz per channel (16 channels, plus 2 auxiliary) or 20kHz per channel (4 channels).&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
The necessary system drivers are located in the BCI2000\src\extlib\brainproducts\vamp\ folder. To install the driver, follow these steps:&lt;br /&gt;
&lt;br /&gt;
# Plug in the V-Amp to a USB port. Windows should recognize it, and start to install drivers.&lt;br /&gt;
# Depending on the version of Windows being used, a Found New Hardware dialog should appear. Do NOT search online for drivers; instead, select Don&#039;t Search Online.&lt;br /&gt;
# When it asks you to insert the disc that came with the amplifier, select the option that allows you to browse for the driver.&lt;br /&gt;
# Navigate to BCI2000\src\extlib\brainproducts\vamp\. It should find the driver files, and installed the necessary software.&lt;br /&gt;
# For the last step, copy the files DiBpGmbH.dll and FirstAmp.dll to the BCI2000\prog\ folder.&lt;br /&gt;
# You should now be able to run the vAmpSource.exe module in BCI2000.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
Parameters common to all source modules are described under [[User Reference:DataIOFilter]].&lt;br /&gt;
In addition, the &#039;&#039;vAmpADC&#039;&#039; provides the following parameters:&lt;br /&gt;
&lt;br /&gt;
===SamplingRate===&lt;br /&gt;
The sample rate of the system. All data is either acquired at 2000 Hz or 20 kHz, and then decimated to the desired rate. Therefore, only rates that are integer divisors of the base rates are accepted. In 2000 Hz mode, the valid rates are:&lt;br /&gt;
&lt;br /&gt;
*2000&lt;br /&gt;
*1000&lt;br /&gt;
*666.6&lt;br /&gt;
*500&lt;br /&gt;
*400&lt;br /&gt;
*333.3&lt;br /&gt;
*285.7&lt;br /&gt;
*250&lt;br /&gt;
*222.22&lt;br /&gt;
*200&lt;br /&gt;
&lt;br /&gt;
In 20 kHz mode, 10 times the above rates are valid.&lt;br /&gt;
Prior to decimation, a 2nd-order anti-aliasing Butterworth filter with a corner frequency of 0.45 times the sample rate is applied to the signal.&lt;br /&gt;
All sampling rates are supported for one or more amplifiers. If you are sampling at high rates, the CPU may be overloaded depending on the speed of your computer and the BCI2000 configuration. In case you are experiencing problems (e.g., data loss, jerky display, etc.), increase the SampleBlockSize so that you are updating the system less frequently (usually, updating the system 20-30 times per second is sufficient for most applications), and increase Visualize-&amp;gt;VisualizeSourceDecimation. This parameter will decrease the number of samples per second that are actually drawn in the Source display.&lt;br /&gt;
&lt;br /&gt;
===HPFilterCorner===&lt;br /&gt;
A high-pass digital filter for removing DC offsets. This occurs after data has been read into BCI2000.&lt;br /&gt;
&lt;br /&gt;
===SampleBlockSize===&lt;br /&gt;
Samples per channel per digitized block. &lt;br /&gt;
Together with the sampling rate, this parameter determines how often per second data are collected, processed, and feedback is updated. For example, at 600 Hz sampling and a SampleBlockSize of 20, the system (e.g., source signal display, signal processing, and stimulus presentation) will be updated 30 times per second.&lt;br /&gt;
&lt;br /&gt;
===SourceCh===&lt;br /&gt;
The total number of channels. In high-speed mode, this number may not be higher than 5 (4 channels + digital).&lt;br /&gt;
&lt;br /&gt;
===SourceChList===&lt;br /&gt;
The list of channels that should be acquired from the vAmp device.&lt;br /&gt;
The total number of channels listed should correspond to &#039;&#039;SourceCh&#039;&#039;. &lt;br /&gt;
The order of channels does not matter; i.e., &#039;1 2 3 4&#039; is the same as &#039;2 3 1 4&#039;. The channels are always in ascending order.&lt;br /&gt;
Channels may not be listed twice; e.g., entering &#039;1 2 3 4 5 6 7 1&#039; if &#039;&#039;SourceCh&#039;&#039; = &#039;8&#039; will result in an error.&lt;br /&gt;
If this parameter is left blank (the default), then all channels are acquired.&lt;br /&gt;
For the V-Amp 16, channels 1-16 are EEG channels, 17-18 are Auxiliary channels, and 19 are the 8 digital channels stored in bits.&lt;br /&gt;
For the V-Amp 8, channels 1-8 are EEG channels, 9-10 are Auxiliary channels and 11 is the digital channel.&lt;br /&gt;
 &lt;br /&gt;
===AcquisitionMode===&lt;br /&gt;
*If set to &#039;&#039;analog signal acquisition&#039;&#039;, the V-Amp records analog signal voltages (default). &lt;br /&gt;
*If set to &#039;&#039;high-speed acquisition&#039;&#039;, the V-Amp records analog signals at 20 kHz instead of 2000 Hz.&lt;br /&gt;
*If set to &#039;&#039;Calibration&#039;&#039;, the signal output is a square wave test signal generated by the V-Amp (which can be used to verify correct system calibration). &lt;br /&gt;
*If set to &#039;&#039;Impedance&#039;&#039;, impedance data is recorded instead of the signal. The impedance values are showm in the V-Amp display. Values are currently updated 3 times per second. &lt;br /&gt;
*If set to &#039;&#039;high-speed calibration&#039;&#039;, a square wave is generated at 20 kHz.&lt;br /&gt;
&lt;br /&gt;
==Additional Information==&lt;br /&gt;
&lt;br /&gt;
===Data Storage===&lt;br /&gt;
*The signal is originally recorded from the V-Amp as 32-bit integers, and converted into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. &lt;br /&gt;
*The auxiliary input units are in volts.&lt;br /&gt;
*(&#039;&#039;SourceChOffset&#039;&#039; is assumed (and required) to be zero for all channels.) &lt;br /&gt;
BCI2000 Signal Processing or any offline analysis routine can derive, as with any other BCI2000 source module, sample values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; by subtracting, from each stored sample, &#039;&#039;SourceChOffset&#039;&#039; (i.e., zero), and multiplying it with &#039;&#039;SourceChGain&#039;&#039; for each channel. If &#039;&#039;SignalType&#039;&#039; is set to float32, data samples are stored in units of &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. In this case, &#039;&#039;SourceChGain&#039;&#039; should be a list of 1&#039;s (because the conversion factor between data samples into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; is 1.0 for each channel). Still, when values other than 0 and 1 are specified, a consistent data file will be produced, i.e. values will be transformed before they are written to the file, such that applying SourceChOffset and SourceChGain will reproduce the original values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===V-Amp Service Troubleshooting===&lt;br /&gt;
Please note that when BrainVision Recorder was running on the computer before you are using BCI2000 there is a daemon service called &amp;quot;VAmpService.exe&amp;quot; running in background on the computer. This service must be stopped before using V-Amp amplifier. &lt;br /&gt;
&lt;br /&gt;
[[File:Log_VampServiceDetected.png]]&lt;br /&gt;
[[File:Example.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to stop the “VAmpService.exe”, the following steps need to be done:&lt;br /&gt;
&lt;br /&gt;
  1. Open Windows Start menu by clicking on icon [[File:Example.jpg]]  in left-bottom corner.&lt;br /&gt;
&lt;br /&gt;
  2. In Windows Start menu type Services, and click on „Services“ when it appears in the menu. &lt;br /&gt;
&lt;br /&gt;
   [[File:Example.jpg]]&lt;br /&gt;
&lt;br /&gt;
  3. Service window opens, showing the list of services running on your PC.&lt;br /&gt;
   &lt;br /&gt;
   [[File:Example.jpg]]&lt;br /&gt;
&lt;br /&gt;
  4. Search for the „VAmpService“ in the list.&lt;br /&gt;
&lt;br /&gt;
  5. Right-click on „VAmpService“ and the drop-down menu will appear.&lt;br /&gt;
&lt;br /&gt;
  6. From the drop-down menu select “Stop”. This action stops the service.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A more convenient way to solve this problem is to edit the *.bat-file for your experiment like described below, especially if you are using BCI2000 and BrainVision Recorder alternately. This avoids problems with BrainVision Recorder that you might encounter when killing the &amp;quot;VampService.exe&amp;quot; process.&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Uninstall&#039;&#039;&#039;&lt;br /&gt;
 cd ..\prog&lt;br /&gt;
 start &#039;&#039;&#039;vAmpSource.exe&#039;&#039;&#039; 127.0.0.1&lt;br /&gt;
 start ARSignalProcessing 127.0.0.1&lt;br /&gt;
 start CursorTask.exe 127.0.0.1&lt;br /&gt;
 &#039;&#039;&#039;operator.exe&#039;&#039;&#039;&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Install&#039;&#039;&#039;&lt;br /&gt;
 cd ..&lt;br /&gt;
&lt;br /&gt;
Make sure that the path to &amp;quot;VAmpService.exe&amp;quot; is correct on your system.&lt;br /&gt;
Please keep in mind that you have to customize the *.bat-file shown above regarding your experiment. For using the V-Amp in the way described, the highlightened parts are important.&lt;br /&gt;
Please note that the commandline-window will stay open during the usage of BCI2000 (unlike when using the other *.bat-files) because of the operator.exe is started without the &amp;quot;start&amp;quot;-parameter. This is necessary to make sure that the VAmpService.exe process is started again just when BCI2000 is closed.&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>Ratko</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=File:Log_VampServiceDetected.png&amp;diff=7619</id>
		<title>File:Log VampServiceDetected.png</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=File:Log_VampServiceDetected.png&amp;diff=7619"/>
		<updated>2016-06-20T12:18:26Z</updated>

		<summary type="html">&lt;p&gt;Ratko: Ratko uploaded a new version of &amp;amp;quot;File:Log VampServiceDetected.png&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ratko</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=7618</id>
		<title>Contributions:vAmpADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=7618"/>
		<updated>2016-06-20T12:17:08Z</updated>

		<summary type="html">&lt;p&gt;Ratko: /* V-Amp Service Troubleshooting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Function==&lt;br /&gt;
The &#039;&#039;vAmpADC&#039;&#039; filter acquires data from a &#039;&#039;V-Amp&#039;&#039; or &#039;&#039;FirstAmp&#039;&#039; EEG amplifier. &lt;br /&gt;
The &#039;&#039;V-Amp&#039;&#039; is an amplifier/digitizer combination from Brain Products.&lt;br /&gt;
Support for this device in BCI2000 consists of a BCI2000-compatible Source Module (&#039;&#039;vAmpSource.exe&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
===V-Amp Hardware===&lt;br /&gt;
The V-Amp consists of 16 independent 24-bit A/D converters that can sample at &lt;br /&gt;
up to 2 kHz per channel (16 channels, plus 2 auxiliary) or 20kHz per channel (4 channels).&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
The necessary system drivers are located in the BCI2000\src\extlib\brainproducts\vamp\ folder. To install the driver, follow these steps:&lt;br /&gt;
&lt;br /&gt;
# Plug in the V-Amp to a USB port. Windows should recognize it, and start to install drivers.&lt;br /&gt;
# Depending on the version of Windows being used, a Found New Hardware dialog should appear. Do NOT search online for drivers; instead, select Don&#039;t Search Online.&lt;br /&gt;
# When it asks you to insert the disc that came with the amplifier, select the option that allows you to browse for the driver.&lt;br /&gt;
# Navigate to BCI2000\src\extlib\brainproducts\vamp\. It should find the driver files, and installed the necessary software.&lt;br /&gt;
# For the last step, copy the files DiBpGmbH.dll and FirstAmp.dll to the BCI2000\prog\ folder.&lt;br /&gt;
# You should now be able to run the vAmpSource.exe module in BCI2000.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
Parameters common to all source modules are described under [[User Reference:DataIOFilter]].&lt;br /&gt;
In addition, the &#039;&#039;vAmpADC&#039;&#039; provides the following parameters:&lt;br /&gt;
&lt;br /&gt;
===SamplingRate===&lt;br /&gt;
The sample rate of the system. All data is either acquired at 2000 Hz or 20 kHz, and then decimated to the desired rate. Therefore, only rates that are integer divisors of the base rates are accepted. In 2000 Hz mode, the valid rates are:&lt;br /&gt;
&lt;br /&gt;
*2000&lt;br /&gt;
*1000&lt;br /&gt;
*666.6&lt;br /&gt;
*500&lt;br /&gt;
*400&lt;br /&gt;
*333.3&lt;br /&gt;
*285.7&lt;br /&gt;
*250&lt;br /&gt;
*222.22&lt;br /&gt;
*200&lt;br /&gt;
&lt;br /&gt;
In 20 kHz mode, 10 times the above rates are valid.&lt;br /&gt;
Prior to decimation, a 2nd-order anti-aliasing Butterworth filter with a corner frequency of 0.45 times the sample rate is applied to the signal.&lt;br /&gt;
All sampling rates are supported for one or more amplifiers. If you are sampling at high rates, the CPU may be overloaded depending on the speed of your computer and the BCI2000 configuration. In case you are experiencing problems (e.g., data loss, jerky display, etc.), increase the SampleBlockSize so that you are updating the system less frequently (usually, updating the system 20-30 times per second is sufficient for most applications), and increase Visualize-&amp;gt;VisualizeSourceDecimation. This parameter will decrease the number of samples per second that are actually drawn in the Source display.&lt;br /&gt;
&lt;br /&gt;
===HPFilterCorner===&lt;br /&gt;
A high-pass digital filter for removing DC offsets. This occurs after data has been read into BCI2000.&lt;br /&gt;
&lt;br /&gt;
===SampleBlockSize===&lt;br /&gt;
Samples per channel per digitized block. &lt;br /&gt;
Together with the sampling rate, this parameter determines how often per second data are collected, processed, and feedback is updated. For example, at 600 Hz sampling and a SampleBlockSize of 20, the system (e.g., source signal display, signal processing, and stimulus presentation) will be updated 30 times per second.&lt;br /&gt;
&lt;br /&gt;
===SourceCh===&lt;br /&gt;
The total number of channels. In high-speed mode, this number may not be higher than 5 (4 channels + digital).&lt;br /&gt;
&lt;br /&gt;
===SourceChList===&lt;br /&gt;
The list of channels that should be acquired from the vAmp device.&lt;br /&gt;
The total number of channels listed should correspond to &#039;&#039;SourceCh&#039;&#039;. &lt;br /&gt;
The order of channels does not matter; i.e., &#039;1 2 3 4&#039; is the same as &#039;2 3 1 4&#039;. The channels are always in ascending order.&lt;br /&gt;
Channels may not be listed twice; e.g., entering &#039;1 2 3 4 5 6 7 1&#039; if &#039;&#039;SourceCh&#039;&#039; = &#039;8&#039; will result in an error.&lt;br /&gt;
If this parameter is left blank (the default), then all channels are acquired.&lt;br /&gt;
For the V-Amp 16, channels 1-16 are EEG channels, 17-18 are Auxiliary channels, and 19 are the 8 digital channels stored in bits.&lt;br /&gt;
For the V-Amp 8, channels 1-8 are EEG channels, 9-10 are Auxiliary channels and 11 is the digital channel.&lt;br /&gt;
 &lt;br /&gt;
===AcquisitionMode===&lt;br /&gt;
*If set to &#039;&#039;analog signal acquisition&#039;&#039;, the V-Amp records analog signal voltages (default). &lt;br /&gt;
*If set to &#039;&#039;high-speed acquisition&#039;&#039;, the V-Amp records analog signals at 20 kHz instead of 2000 Hz.&lt;br /&gt;
*If set to &#039;&#039;Calibration&#039;&#039;, the signal output is a square wave test signal generated by the V-Amp (which can be used to verify correct system calibration). &lt;br /&gt;
*If set to &#039;&#039;Impedance&#039;&#039;, impedance data is recorded instead of the signal. The impedance values are showm in the V-Amp display. Values are currently updated 3 times per second. &lt;br /&gt;
*If set to &#039;&#039;high-speed calibration&#039;&#039;, a square wave is generated at 20 kHz.&lt;br /&gt;
&lt;br /&gt;
==Additional Information==&lt;br /&gt;
&lt;br /&gt;
===Data Storage===&lt;br /&gt;
*The signal is originally recorded from the V-Amp as 32-bit integers, and converted into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. &lt;br /&gt;
*The auxiliary input units are in volts.&lt;br /&gt;
*(&#039;&#039;SourceChOffset&#039;&#039; is assumed (and required) to be zero for all channels.) &lt;br /&gt;
BCI2000 Signal Processing or any offline analysis routine can derive, as with any other BCI2000 source module, sample values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; by subtracting, from each stored sample, &#039;&#039;SourceChOffset&#039;&#039; (i.e., zero), and multiplying it with &#039;&#039;SourceChGain&#039;&#039; for each channel. If &#039;&#039;SignalType&#039;&#039; is set to float32, data samples are stored in units of &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. In this case, &#039;&#039;SourceChGain&#039;&#039; should be a list of 1&#039;s (because the conversion factor between data samples into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; is 1.0 for each channel). Still, when values other than 0 and 1 are specified, a consistent data file will be produced, i.e. values will be transformed before they are written to the file, such that applying SourceChOffset and SourceChGain will reproduce the original values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===V-Amp Service Troubleshooting===&lt;br /&gt;
Please note that when BrainVision Recorder was running on the computer before you are using BCI2000 there is a daemon service called &amp;quot;VAmpService.exe&amp;quot; running in background on the computer. This service must be stopped before using V-Amp amplifier. &lt;br /&gt;
&lt;br /&gt;
[[File:Log_VampServiceDetected.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to stop the “VAmpService.exe”, the following steps need  be done:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A more convenient way to solve this problem is to edit the *.bat-file for your experiment like described below, especially if you are using BCI2000 and BrainVision Recorder alternately. This avoids problems with BrainVision Recorder that you might encounter when killing the &amp;quot;VampService.exe&amp;quot; process.&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Uninstall&#039;&#039;&#039;&lt;br /&gt;
 cd ..\prog&lt;br /&gt;
 start &#039;&#039;&#039;vAmpSource.exe&#039;&#039;&#039; 127.0.0.1&lt;br /&gt;
 start ARSignalProcessing 127.0.0.1&lt;br /&gt;
 start CursorTask.exe 127.0.0.1&lt;br /&gt;
 &#039;&#039;&#039;operator.exe&#039;&#039;&#039;&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Install&#039;&#039;&#039;&lt;br /&gt;
 cd ..&lt;br /&gt;
&lt;br /&gt;
Make sure that the path to &amp;quot;VAmpService.exe&amp;quot; is correct on your system.&lt;br /&gt;
Please keep in mind that you have to customize the *.bat-file shown above regarding your experiment. For using the V-Amp in the way described, the highlightened parts are important.&lt;br /&gt;
Please note that the commandline-window will stay open during the usage of BCI2000 (unlike when using the other *.bat-files) because of the operator.exe is started without the &amp;quot;start&amp;quot;-parameter. This is necessary to make sure that the VAmpService.exe process is started again just when BCI2000 is closed.&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>Ratko</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=7617</id>
		<title>Contributions:vAmpADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=7617"/>
		<updated>2016-06-20T12:16:55Z</updated>

		<summary type="html">&lt;p&gt;Ratko: /* V-Amp Service Troubleshooting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Function==&lt;br /&gt;
The &#039;&#039;vAmpADC&#039;&#039; filter acquires data from a &#039;&#039;V-Amp&#039;&#039; or &#039;&#039;FirstAmp&#039;&#039; EEG amplifier. &lt;br /&gt;
The &#039;&#039;V-Amp&#039;&#039; is an amplifier/digitizer combination from Brain Products.&lt;br /&gt;
Support for this device in BCI2000 consists of a BCI2000-compatible Source Module (&#039;&#039;vAmpSource.exe&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
===V-Amp Hardware===&lt;br /&gt;
The V-Amp consists of 16 independent 24-bit A/D converters that can sample at &lt;br /&gt;
up to 2 kHz per channel (16 channels, plus 2 auxiliary) or 20kHz per channel (4 channels).&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
The necessary system drivers are located in the BCI2000\src\extlib\brainproducts\vamp\ folder. To install the driver, follow these steps:&lt;br /&gt;
&lt;br /&gt;
# Plug in the V-Amp to a USB port. Windows should recognize it, and start to install drivers.&lt;br /&gt;
# Depending on the version of Windows being used, a Found New Hardware dialog should appear. Do NOT search online for drivers; instead, select Don&#039;t Search Online.&lt;br /&gt;
# When it asks you to insert the disc that came with the amplifier, select the option that allows you to browse for the driver.&lt;br /&gt;
# Navigate to BCI2000\src\extlib\brainproducts\vamp\. It should find the driver files, and installed the necessary software.&lt;br /&gt;
# For the last step, copy the files DiBpGmbH.dll and FirstAmp.dll to the BCI2000\prog\ folder.&lt;br /&gt;
# You should now be able to run the vAmpSource.exe module in BCI2000.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
Parameters common to all source modules are described under [[User Reference:DataIOFilter]].&lt;br /&gt;
In addition, the &#039;&#039;vAmpADC&#039;&#039; provides the following parameters:&lt;br /&gt;
&lt;br /&gt;
===SamplingRate===&lt;br /&gt;
The sample rate of the system. All data is either acquired at 2000 Hz or 20 kHz, and then decimated to the desired rate. Therefore, only rates that are integer divisors of the base rates are accepted. In 2000 Hz mode, the valid rates are:&lt;br /&gt;
&lt;br /&gt;
*2000&lt;br /&gt;
*1000&lt;br /&gt;
*666.6&lt;br /&gt;
*500&lt;br /&gt;
*400&lt;br /&gt;
*333.3&lt;br /&gt;
*285.7&lt;br /&gt;
*250&lt;br /&gt;
*222.22&lt;br /&gt;
*200&lt;br /&gt;
&lt;br /&gt;
In 20 kHz mode, 10 times the above rates are valid.&lt;br /&gt;
Prior to decimation, a 2nd-order anti-aliasing Butterworth filter with a corner frequency of 0.45 times the sample rate is applied to the signal.&lt;br /&gt;
All sampling rates are supported for one or more amplifiers. If you are sampling at high rates, the CPU may be overloaded depending on the speed of your computer and the BCI2000 configuration. In case you are experiencing problems (e.g., data loss, jerky display, etc.), increase the SampleBlockSize so that you are updating the system less frequently (usually, updating the system 20-30 times per second is sufficient for most applications), and increase Visualize-&amp;gt;VisualizeSourceDecimation. This parameter will decrease the number of samples per second that are actually drawn in the Source display.&lt;br /&gt;
&lt;br /&gt;
===HPFilterCorner===&lt;br /&gt;
A high-pass digital filter for removing DC offsets. This occurs after data has been read into BCI2000.&lt;br /&gt;
&lt;br /&gt;
===SampleBlockSize===&lt;br /&gt;
Samples per channel per digitized block. &lt;br /&gt;
Together with the sampling rate, this parameter determines how often per second data are collected, processed, and feedback is updated. For example, at 600 Hz sampling and a SampleBlockSize of 20, the system (e.g., source signal display, signal processing, and stimulus presentation) will be updated 30 times per second.&lt;br /&gt;
&lt;br /&gt;
===SourceCh===&lt;br /&gt;
The total number of channels. In high-speed mode, this number may not be higher than 5 (4 channels + digital).&lt;br /&gt;
&lt;br /&gt;
===SourceChList===&lt;br /&gt;
The list of channels that should be acquired from the vAmp device.&lt;br /&gt;
The total number of channels listed should correspond to &#039;&#039;SourceCh&#039;&#039;. &lt;br /&gt;
The order of channels does not matter; i.e., &#039;1 2 3 4&#039; is the same as &#039;2 3 1 4&#039;. The channels are always in ascending order.&lt;br /&gt;
Channels may not be listed twice; e.g., entering &#039;1 2 3 4 5 6 7 1&#039; if &#039;&#039;SourceCh&#039;&#039; = &#039;8&#039; will result in an error.&lt;br /&gt;
If this parameter is left blank (the default), then all channels are acquired.&lt;br /&gt;
For the V-Amp 16, channels 1-16 are EEG channels, 17-18 are Auxiliary channels, and 19 are the 8 digital channels stored in bits.&lt;br /&gt;
For the V-Amp 8, channels 1-8 are EEG channels, 9-10 are Auxiliary channels and 11 is the digital channel.&lt;br /&gt;
 &lt;br /&gt;
===AcquisitionMode===&lt;br /&gt;
*If set to &#039;&#039;analog signal acquisition&#039;&#039;, the V-Amp records analog signal voltages (default). &lt;br /&gt;
*If set to &#039;&#039;high-speed acquisition&#039;&#039;, the V-Amp records analog signals at 20 kHz instead of 2000 Hz.&lt;br /&gt;
*If set to &#039;&#039;Calibration&#039;&#039;, the signal output is a square wave test signal generated by the V-Amp (which can be used to verify correct system calibration). &lt;br /&gt;
*If set to &#039;&#039;Impedance&#039;&#039;, impedance data is recorded instead of the signal. The impedance values are showm in the V-Amp display. Values are currently updated 3 times per second. &lt;br /&gt;
*If set to &#039;&#039;high-speed calibration&#039;&#039;, a square wave is generated at 20 kHz.&lt;br /&gt;
&lt;br /&gt;
==Additional Information==&lt;br /&gt;
&lt;br /&gt;
===Data Storage===&lt;br /&gt;
*The signal is originally recorded from the V-Amp as 32-bit integers, and converted into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. &lt;br /&gt;
*The auxiliary input units are in volts.&lt;br /&gt;
*(&#039;&#039;SourceChOffset&#039;&#039; is assumed (and required) to be zero for all channels.) &lt;br /&gt;
BCI2000 Signal Processing or any offline analysis routine can derive, as with any other BCI2000 source module, sample values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; by subtracting, from each stored sample, &#039;&#039;SourceChOffset&#039;&#039; (i.e., zero), and multiplying it with &#039;&#039;SourceChGain&#039;&#039; for each channel. If &#039;&#039;SignalType&#039;&#039; is set to float32, data samples are stored in units of &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. In this case, &#039;&#039;SourceChGain&#039;&#039; should be a list of 1&#039;s (because the conversion factor between data samples into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; is 1.0 for each channel). Still, when values other than 0 and 1 are specified, a consistent data file will be produced, i.e. values will be transformed before they are written to the file, such that applying SourceChOffset and SourceChGain will reproduce the original values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===V-Amp Service Troubleshooting===&lt;br /&gt;
Please note that when BrainVision Recorder was running on the computer before you are using BCI2000 there is a daemon service called &amp;quot;VAmpService.exe&amp;quot; running in background on the computer. This service must be stopped before using V-Amp amplifier. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Log_VampServiceDetected.png]]&lt;br /&gt;
&lt;br /&gt;
In order to stop the “VAmpService.exe”, the following steps need  be done:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A more convenient way to solve this problem is to edit the *.bat-file for your experiment like described below, especially if you are using BCI2000 and BrainVision Recorder alternately. This avoids problems with BrainVision Recorder that you might encounter when killing the &amp;quot;VampService.exe&amp;quot; process.&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Uninstall&#039;&#039;&#039;&lt;br /&gt;
 cd ..\prog&lt;br /&gt;
 start &#039;&#039;&#039;vAmpSource.exe&#039;&#039;&#039; 127.0.0.1&lt;br /&gt;
 start ARSignalProcessing 127.0.0.1&lt;br /&gt;
 start CursorTask.exe 127.0.0.1&lt;br /&gt;
 &#039;&#039;&#039;operator.exe&#039;&#039;&#039;&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Install&#039;&#039;&#039;&lt;br /&gt;
 cd ..&lt;br /&gt;
&lt;br /&gt;
Make sure that the path to &amp;quot;VAmpService.exe&amp;quot; is correct on your system.&lt;br /&gt;
Please keep in mind that you have to customize the *.bat-file shown above regarding your experiment. For using the V-Amp in the way described, the highlightened parts are important.&lt;br /&gt;
Please note that the commandline-window will stay open during the usage of BCI2000 (unlike when using the other *.bat-files) because of the operator.exe is started without the &amp;quot;start&amp;quot;-parameter. This is necessary to make sure that the VAmpService.exe process is started again just when BCI2000 is closed.&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>Ratko</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=File:Log_VampServiceDetected.png&amp;diff=7616</id>
		<title>File:Log VampServiceDetected.png</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=File:Log_VampServiceDetected.png&amp;diff=7616"/>
		<updated>2016-06-20T12:16:03Z</updated>

		<summary type="html">&lt;p&gt;Ratko: Ratko uploaded a new version of &amp;amp;quot;File:Log VampServiceDetected.png&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ratko</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=7615</id>
		<title>Contributions:vAmpADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=7615"/>
		<updated>2016-06-20T12:14:42Z</updated>

		<summary type="html">&lt;p&gt;Ratko: /* V-Amp Service Troubleshooting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Function==&lt;br /&gt;
The &#039;&#039;vAmpADC&#039;&#039; filter acquires data from a &#039;&#039;V-Amp&#039;&#039; or &#039;&#039;FirstAmp&#039;&#039; EEG amplifier. &lt;br /&gt;
The &#039;&#039;V-Amp&#039;&#039; is an amplifier/digitizer combination from Brain Products.&lt;br /&gt;
Support for this device in BCI2000 consists of a BCI2000-compatible Source Module (&#039;&#039;vAmpSource.exe&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
===V-Amp Hardware===&lt;br /&gt;
The V-Amp consists of 16 independent 24-bit A/D converters that can sample at &lt;br /&gt;
up to 2 kHz per channel (16 channels, plus 2 auxiliary) or 20kHz per channel (4 channels).&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
The necessary system drivers are located in the BCI2000\src\extlib\brainproducts\vamp\ folder. To install the driver, follow these steps:&lt;br /&gt;
&lt;br /&gt;
# Plug in the V-Amp to a USB port. Windows should recognize it, and start to install drivers.&lt;br /&gt;
# Depending on the version of Windows being used, a Found New Hardware dialog should appear. Do NOT search online for drivers; instead, select Don&#039;t Search Online.&lt;br /&gt;
# When it asks you to insert the disc that came with the amplifier, select the option that allows you to browse for the driver.&lt;br /&gt;
# Navigate to BCI2000\src\extlib\brainproducts\vamp\. It should find the driver files, and installed the necessary software.&lt;br /&gt;
# For the last step, copy the files DiBpGmbH.dll and FirstAmp.dll to the BCI2000\prog\ folder.&lt;br /&gt;
# You should now be able to run the vAmpSource.exe module in BCI2000.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
Parameters common to all source modules are described under [[User Reference:DataIOFilter]].&lt;br /&gt;
In addition, the &#039;&#039;vAmpADC&#039;&#039; provides the following parameters:&lt;br /&gt;
&lt;br /&gt;
===SamplingRate===&lt;br /&gt;
The sample rate of the system. All data is either acquired at 2000 Hz or 20 kHz, and then decimated to the desired rate. Therefore, only rates that are integer divisors of the base rates are accepted. In 2000 Hz mode, the valid rates are:&lt;br /&gt;
&lt;br /&gt;
*2000&lt;br /&gt;
*1000&lt;br /&gt;
*666.6&lt;br /&gt;
*500&lt;br /&gt;
*400&lt;br /&gt;
*333.3&lt;br /&gt;
*285.7&lt;br /&gt;
*250&lt;br /&gt;
*222.22&lt;br /&gt;
*200&lt;br /&gt;
&lt;br /&gt;
In 20 kHz mode, 10 times the above rates are valid.&lt;br /&gt;
Prior to decimation, a 2nd-order anti-aliasing Butterworth filter with a corner frequency of 0.45 times the sample rate is applied to the signal.&lt;br /&gt;
All sampling rates are supported for one or more amplifiers. If you are sampling at high rates, the CPU may be overloaded depending on the speed of your computer and the BCI2000 configuration. In case you are experiencing problems (e.g., data loss, jerky display, etc.), increase the SampleBlockSize so that you are updating the system less frequently (usually, updating the system 20-30 times per second is sufficient for most applications), and increase Visualize-&amp;gt;VisualizeSourceDecimation. This parameter will decrease the number of samples per second that are actually drawn in the Source display.&lt;br /&gt;
&lt;br /&gt;
===HPFilterCorner===&lt;br /&gt;
A high-pass digital filter for removing DC offsets. This occurs after data has been read into BCI2000.&lt;br /&gt;
&lt;br /&gt;
===SampleBlockSize===&lt;br /&gt;
Samples per channel per digitized block. &lt;br /&gt;
Together with the sampling rate, this parameter determines how often per second data are collected, processed, and feedback is updated. For example, at 600 Hz sampling and a SampleBlockSize of 20, the system (e.g., source signal display, signal processing, and stimulus presentation) will be updated 30 times per second.&lt;br /&gt;
&lt;br /&gt;
===SourceCh===&lt;br /&gt;
The total number of channels. In high-speed mode, this number may not be higher than 5 (4 channels + digital).&lt;br /&gt;
&lt;br /&gt;
===SourceChList===&lt;br /&gt;
The list of channels that should be acquired from the vAmp device.&lt;br /&gt;
The total number of channels listed should correspond to &#039;&#039;SourceCh&#039;&#039;. &lt;br /&gt;
The order of channels does not matter; i.e., &#039;1 2 3 4&#039; is the same as &#039;2 3 1 4&#039;. The channels are always in ascending order.&lt;br /&gt;
Channels may not be listed twice; e.g., entering &#039;1 2 3 4 5 6 7 1&#039; if &#039;&#039;SourceCh&#039;&#039; = &#039;8&#039; will result in an error.&lt;br /&gt;
If this parameter is left blank (the default), then all channels are acquired.&lt;br /&gt;
For the V-Amp 16, channels 1-16 are EEG channels, 17-18 are Auxiliary channels, and 19 are the 8 digital channels stored in bits.&lt;br /&gt;
For the V-Amp 8, channels 1-8 are EEG channels, 9-10 are Auxiliary channels and 11 is the digital channel.&lt;br /&gt;
 &lt;br /&gt;
===AcquisitionMode===&lt;br /&gt;
*If set to &#039;&#039;analog signal acquisition&#039;&#039;, the V-Amp records analog signal voltages (default). &lt;br /&gt;
*If set to &#039;&#039;high-speed acquisition&#039;&#039;, the V-Amp records analog signals at 20 kHz instead of 2000 Hz.&lt;br /&gt;
*If set to &#039;&#039;Calibration&#039;&#039;, the signal output is a square wave test signal generated by the V-Amp (which can be used to verify correct system calibration). &lt;br /&gt;
*If set to &#039;&#039;Impedance&#039;&#039;, impedance data is recorded instead of the signal. The impedance values are showm in the V-Amp display. Values are currently updated 3 times per second. &lt;br /&gt;
*If set to &#039;&#039;high-speed calibration&#039;&#039;, a square wave is generated at 20 kHz.&lt;br /&gt;
&lt;br /&gt;
==Additional Information==&lt;br /&gt;
&lt;br /&gt;
===Data Storage===&lt;br /&gt;
*The signal is originally recorded from the V-Amp as 32-bit integers, and converted into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. &lt;br /&gt;
*The auxiliary input units are in volts.&lt;br /&gt;
*(&#039;&#039;SourceChOffset&#039;&#039; is assumed (and required) to be zero for all channels.) &lt;br /&gt;
BCI2000 Signal Processing or any offline analysis routine can derive, as with any other BCI2000 source module, sample values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; by subtracting, from each stored sample, &#039;&#039;SourceChOffset&#039;&#039; (i.e., zero), and multiplying it with &#039;&#039;SourceChGain&#039;&#039; for each channel. If &#039;&#039;SignalType&#039;&#039; is set to float32, data samples are stored in units of &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. In this case, &#039;&#039;SourceChGain&#039;&#039; should be a list of 1&#039;s (because the conversion factor between data samples into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; is 1.0 for each channel). Still, when values other than 0 and 1 are specified, a consistent data file will be produced, i.e. values will be transformed before they are written to the file, such that applying SourceChOffset and SourceChGain will reproduce the original values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===V-Amp Service Troubleshooting===&lt;br /&gt;
Please note that when BrainVision Recorder was running on the computer before you are using BCI2000 there is a daemon service called &amp;quot;VAmpService.exe&amp;quot; running in background on the computer. This service must be stopped before using V-Amp amplifier. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Example.jpg]]&lt;br /&gt;
&lt;br /&gt;
In order to stop the “VAmpService.exe”, the following steps need  be done:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A more convenient way to solve this problem is to edit the *.bat-file for your experiment like described below, especially if you are using BCI2000 and BrainVision Recorder alternately. This avoids problems with BrainVision Recorder that you might encounter when killing the &amp;quot;VampService.exe&amp;quot; process.&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Uninstall&#039;&#039;&#039;&lt;br /&gt;
 cd ..\prog&lt;br /&gt;
 start &#039;&#039;&#039;vAmpSource.exe&#039;&#039;&#039; 127.0.0.1&lt;br /&gt;
 start ARSignalProcessing 127.0.0.1&lt;br /&gt;
 start CursorTask.exe 127.0.0.1&lt;br /&gt;
 &#039;&#039;&#039;operator.exe&#039;&#039;&#039;&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Install&#039;&#039;&#039;&lt;br /&gt;
 cd ..&lt;br /&gt;
&lt;br /&gt;
Make sure that the path to &amp;quot;VAmpService.exe&amp;quot; is correct on your system.&lt;br /&gt;
Please keep in mind that you have to customize the *.bat-file shown above regarding your experiment. For using the V-Amp in the way described, the highlightened parts are important.&lt;br /&gt;
Please note that the commandline-window will stay open during the usage of BCI2000 (unlike when using the other *.bat-files) because of the operator.exe is started without the &amp;quot;start&amp;quot;-parameter. This is necessary to make sure that the VAmpService.exe process is started again just when BCI2000 is closed.&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>Ratko</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=7614</id>
		<title>Contributions:vAmpADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=7614"/>
		<updated>2016-06-20T12:13:53Z</updated>

		<summary type="html">&lt;p&gt;Ratko: /* V-Amp Service Troubleshooting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Function==&lt;br /&gt;
The &#039;&#039;vAmpADC&#039;&#039; filter acquires data from a &#039;&#039;V-Amp&#039;&#039; or &#039;&#039;FirstAmp&#039;&#039; EEG amplifier. &lt;br /&gt;
The &#039;&#039;V-Amp&#039;&#039; is an amplifier/digitizer combination from Brain Products.&lt;br /&gt;
Support for this device in BCI2000 consists of a BCI2000-compatible Source Module (&#039;&#039;vAmpSource.exe&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
===V-Amp Hardware===&lt;br /&gt;
The V-Amp consists of 16 independent 24-bit A/D converters that can sample at &lt;br /&gt;
up to 2 kHz per channel (16 channels, plus 2 auxiliary) or 20kHz per channel (4 channels).&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
The necessary system drivers are located in the BCI2000\src\extlib\brainproducts\vamp\ folder. To install the driver, follow these steps:&lt;br /&gt;
&lt;br /&gt;
# Plug in the V-Amp to a USB port. Windows should recognize it, and start to install drivers.&lt;br /&gt;
# Depending on the version of Windows being used, a Found New Hardware dialog should appear. Do NOT search online for drivers; instead, select Don&#039;t Search Online.&lt;br /&gt;
# When it asks you to insert the disc that came with the amplifier, select the option that allows you to browse for the driver.&lt;br /&gt;
# Navigate to BCI2000\src\extlib\brainproducts\vamp\. It should find the driver files, and installed the necessary software.&lt;br /&gt;
# For the last step, copy the files DiBpGmbH.dll and FirstAmp.dll to the BCI2000\prog\ folder.&lt;br /&gt;
# You should now be able to run the vAmpSource.exe module in BCI2000.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
Parameters common to all source modules are described under [[User Reference:DataIOFilter]].&lt;br /&gt;
In addition, the &#039;&#039;vAmpADC&#039;&#039; provides the following parameters:&lt;br /&gt;
&lt;br /&gt;
===SamplingRate===&lt;br /&gt;
The sample rate of the system. All data is either acquired at 2000 Hz or 20 kHz, and then decimated to the desired rate. Therefore, only rates that are integer divisors of the base rates are accepted. In 2000 Hz mode, the valid rates are:&lt;br /&gt;
&lt;br /&gt;
*2000&lt;br /&gt;
*1000&lt;br /&gt;
*666.6&lt;br /&gt;
*500&lt;br /&gt;
*400&lt;br /&gt;
*333.3&lt;br /&gt;
*285.7&lt;br /&gt;
*250&lt;br /&gt;
*222.22&lt;br /&gt;
*200&lt;br /&gt;
&lt;br /&gt;
In 20 kHz mode, 10 times the above rates are valid.&lt;br /&gt;
Prior to decimation, a 2nd-order anti-aliasing Butterworth filter with a corner frequency of 0.45 times the sample rate is applied to the signal.&lt;br /&gt;
All sampling rates are supported for one or more amplifiers. If you are sampling at high rates, the CPU may be overloaded depending on the speed of your computer and the BCI2000 configuration. In case you are experiencing problems (e.g., data loss, jerky display, etc.), increase the SampleBlockSize so that you are updating the system less frequently (usually, updating the system 20-30 times per second is sufficient for most applications), and increase Visualize-&amp;gt;VisualizeSourceDecimation. This parameter will decrease the number of samples per second that are actually drawn in the Source display.&lt;br /&gt;
&lt;br /&gt;
===HPFilterCorner===&lt;br /&gt;
A high-pass digital filter for removing DC offsets. This occurs after data has been read into BCI2000.&lt;br /&gt;
&lt;br /&gt;
===SampleBlockSize===&lt;br /&gt;
Samples per channel per digitized block. &lt;br /&gt;
Together with the sampling rate, this parameter determines how often per second data are collected, processed, and feedback is updated. For example, at 600 Hz sampling and a SampleBlockSize of 20, the system (e.g., source signal display, signal processing, and stimulus presentation) will be updated 30 times per second.&lt;br /&gt;
&lt;br /&gt;
===SourceCh===&lt;br /&gt;
The total number of channels. In high-speed mode, this number may not be higher than 5 (4 channels + digital).&lt;br /&gt;
&lt;br /&gt;
===SourceChList===&lt;br /&gt;
The list of channels that should be acquired from the vAmp device.&lt;br /&gt;
The total number of channels listed should correspond to &#039;&#039;SourceCh&#039;&#039;. &lt;br /&gt;
The order of channels does not matter; i.e., &#039;1 2 3 4&#039; is the same as &#039;2 3 1 4&#039;. The channels are always in ascending order.&lt;br /&gt;
Channels may not be listed twice; e.g., entering &#039;1 2 3 4 5 6 7 1&#039; if &#039;&#039;SourceCh&#039;&#039; = &#039;8&#039; will result in an error.&lt;br /&gt;
If this parameter is left blank (the default), then all channels are acquired.&lt;br /&gt;
For the V-Amp 16, channels 1-16 are EEG channels, 17-18 are Auxiliary channels, and 19 are the 8 digital channels stored in bits.&lt;br /&gt;
For the V-Amp 8, channels 1-8 are EEG channels, 9-10 are Auxiliary channels and 11 is the digital channel.&lt;br /&gt;
 &lt;br /&gt;
===AcquisitionMode===&lt;br /&gt;
*If set to &#039;&#039;analog signal acquisition&#039;&#039;, the V-Amp records analog signal voltages (default). &lt;br /&gt;
*If set to &#039;&#039;high-speed acquisition&#039;&#039;, the V-Amp records analog signals at 20 kHz instead of 2000 Hz.&lt;br /&gt;
*If set to &#039;&#039;Calibration&#039;&#039;, the signal output is a square wave test signal generated by the V-Amp (which can be used to verify correct system calibration). &lt;br /&gt;
*If set to &#039;&#039;Impedance&#039;&#039;, impedance data is recorded instead of the signal. The impedance values are showm in the V-Amp display. Values are currently updated 3 times per second. &lt;br /&gt;
*If set to &#039;&#039;high-speed calibration&#039;&#039;, a square wave is generated at 20 kHz.&lt;br /&gt;
&lt;br /&gt;
==Additional Information==&lt;br /&gt;
&lt;br /&gt;
===Data Storage===&lt;br /&gt;
*The signal is originally recorded from the V-Amp as 32-bit integers, and converted into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. &lt;br /&gt;
*The auxiliary input units are in volts.&lt;br /&gt;
*(&#039;&#039;SourceChOffset&#039;&#039; is assumed (and required) to be zero for all channels.) &lt;br /&gt;
BCI2000 Signal Processing or any offline analysis routine can derive, as with any other BCI2000 source module, sample values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; by subtracting, from each stored sample, &#039;&#039;SourceChOffset&#039;&#039; (i.e., zero), and multiplying it with &#039;&#039;SourceChGain&#039;&#039; for each channel. If &#039;&#039;SignalType&#039;&#039; is set to float32, data samples are stored in units of &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;. In this case, &#039;&#039;SourceChGain&#039;&#039; should be a list of 1&#039;s (because the conversion factor between data samples into &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt; is 1.0 for each channel). Still, when values other than 0 and 1 are specified, a consistent data file will be produced, i.e. values will be transformed before they are written to the file, such that applying SourceChOffset and SourceChGain will reproduce the original values in &amp;lt;math&amp;gt;\mu V&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===V-Amp Service Troubleshooting===&lt;br /&gt;
Please note that when BrainVision Recorder was running on the computer before you are using BCI2000 there is a daemon service called &amp;quot;VAmpService.exe&amp;quot; running in background on the computer. This service must be stopped before using V-Amp amplifier. In order to stop the “VAmpService.exe”, the following steps need  be done:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A more convenient way to solve this problem is to edit the *.bat-file for your experiment like described below, especially if you are using BCI2000 and BrainVision Recorder alternately. This avoids problems with BrainVision Recorder that you might encounter when killing the &amp;quot;VampService.exe&amp;quot; process.&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Uninstall&#039;&#039;&#039;&lt;br /&gt;
 cd ..\prog&lt;br /&gt;
 start &#039;&#039;&#039;vAmpSource.exe&#039;&#039;&#039; 127.0.0.1&lt;br /&gt;
 start ARSignalProcessing 127.0.0.1&lt;br /&gt;
 start CursorTask.exe 127.0.0.1&lt;br /&gt;
 &#039;&#039;&#039;operator.exe&#039;&#039;&#039;&lt;br /&gt;
 &#039;&#039;&#039;start C:\Vision\Recorder\VAmpService.exe -Install&#039;&#039;&#039;&lt;br /&gt;
 cd ..&lt;br /&gt;
&lt;br /&gt;
Make sure that the path to &amp;quot;VAmpService.exe&amp;quot; is correct on your system.&lt;br /&gt;
Please keep in mind that you have to customize the *.bat-file shown above regarding your experiment. For using the V-Amp in the way described, the highlightened parts are important.&lt;br /&gt;
Please note that the commandline-window will stay open during the usage of BCI2000 (unlike when using the other *.bat-files) because of the operator.exe is started without the &amp;quot;start&amp;quot;-parameter. This is necessary to make sure that the VAmpService.exe process is started again just when BCI2000 is closed.&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>Ratko</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=File:Log_VampServiceDetected.png&amp;diff=7613</id>
		<title>File:Log VampServiceDetected.png</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=File:Log_VampServiceDetected.png&amp;diff=7613"/>
		<updated>2016-06-20T12:10:18Z</updated>

		<summary type="html">&lt;p&gt;Ratko: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ratko</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:ADCs&amp;diff=7606</id>
		<title>Contributions:ADCs</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:ADCs&amp;diff=7606"/>
		<updated>2016-04-26T12:40:45Z</updated>

		<summary type="html">&lt;p&gt;Ratko: add link to the new page:  actiCHampADC&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following data acquisition filters are available in the [[Contributions:Contents|Contributions]] section of BCI2000:&lt;br /&gt;
&lt;br /&gt;
*[[Contributions:AmpServerProADC]]: Interface to the EGI AmpServerPro.&lt;br /&gt;
*[[Contributions:BioRadioADC]]: Interface to the BioRadio amplifer.&lt;br /&gt;
*[[Contributions:Biosemi2ADC]]: Interface to the Biosemi amplifier.&lt;br /&gt;
*[[Contributions:Blackrock]]: Interface Blackrock devices through CereLink.&lt;br /&gt;
*[[Contributions:B-Alert]]: Interface to B-Alert brain monitoring systems.&lt;br /&gt;
*[[Contributions:DAS_ADC]]: Interface to MeasurementComputing AD cards.&lt;br /&gt;
*[[Contributions:DTADC]]: Interface to Data Translation boards.&lt;br /&gt;
*[[Contributions:Emotiv]]: Interface to the Emotiv EPOC.&lt;br /&gt;
*[[Contributions:FieldTripBufferSource]]: Interface to the FieldTrip buffer.&lt;br /&gt;
*[[Contributions:FilePlayback]]: A source module that replays sessions from recorded data files.&lt;br /&gt;
*[[Contributions:gHIamp]]: Interface to the gHIamp.&lt;br /&gt;
*[[Contributions:gNautilus]]: Interface to the gNautilus bypassing the server&lt;br /&gt;
*[[Contributions:gNautilusNEEDAccess]]: Interface to the gNautilus via g.NEEDAccess.&lt;br /&gt;
*[[Contributions:MicromedADC]]: Interface to the Micromed EEG system.&lt;br /&gt;
*[[Contributions:ModularEEG]]: Interface to the ModularEEG system.&lt;br /&gt;
*[[Contributions:Neuralynx]]: Interface to Neuralynx systems&lt;br /&gt;
*[[Contributions:NIADC]]: Interface to National Instruments boards.&lt;br /&gt;
*[[Contributions:NIDAQ-MX]]: Interface to National Instruments boards using the MX driver.&lt;br /&gt;
*[[Contributions:NIDAQLogger]]: Interface to multiple National Instruments DAQ boards using MX driver (INPUT ONLY).&lt;br /&gt;
*[[Contributions:NIDAQFilter]]: Interface to multiple National Instruments DAQ boards using MX driver (OUTPUT ONLY).&lt;br /&gt;
*[[Contributions:NeuroscanADC]]: Neuroscan Acquire socket protocol client.&lt;br /&gt;
*[[Contributions:NeuroscanAccessSDK]]: Interface to Neuroscan Direct Access SDK.&lt;br /&gt;
*[[Contributions:NeuroSky]]: Interface to Neurosky MindSet.&lt;br /&gt;
*[[Contributions:NicoletOne]]: Interface to NicoletOne nEEG series amplifiers.&lt;br /&gt;
*[[Contributions:ctfneurod]]: CTF RealTime to Neuroscan Acquire relay.&lt;br /&gt;
*[[Contributions:RDAClientADC]]: Brain Vision RDA socket protocol client.&lt;br /&gt;
*[[Contributions:TDTADC]]: Interface to Tucker-Davis Pentusa systems.&lt;br /&gt;
*[[Contributions:TMSiADC]]: Interface to TMSi Refa and Porti systems.&lt;br /&gt;
*[[Contributions:vAmpADC]]: Interface to Brain Products V-amp systems.&lt;br /&gt;
*[[Contributions:EnobioADC]]: Interface to Enobio sensor.&lt;br /&gt;
*[[Contributions:DSISerial]]: Interface to Dry Sensor Interface (DSI) EEG systems by Wearable Sensing.&lt;br /&gt;
*[[Contributions:MicRecorderFilter]]: Interface to the system soundcard, logging audio input.&lt;br /&gt;
*[[Contributions:actiCHampADC]]: Interface to the Brain Products actiCHamp system.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
[[User Reference:Filters]], [[Contributions:How to use a Contributed Source Module]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Contents]][[Category:Data Acquisition]]&lt;/div&gt;</summary>
		<author><name>Ratko</name></author>
	</entry>
</feed>