<?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=Mschatt</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=Mschatt"/>
	<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php/Special:Contributions/Mschatt"/>
	<updated>2026-06-09T13:08:57Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=6064</id>
		<title>Contributions:vAmpADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=6064"/>
		<updated>2011-05-05T07:49:20Z</updated>

		<summary type="html">&lt;p&gt;Mschatt: from Version 3 the operat.exe was named to Operator.exe&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;
===Known Issues===&lt;br /&gt;
Please note that when BrainVision Recorder was running on the computer before you are using BCI2000 there might be some errors (&amp;quot;VampADC::Initialize error opening device&amp;quot; or even a complete crash of BCI2000). There is a daemon process called &amp;quot;VAmpService.exe&amp;quot; running on the computer everytime you start BrainVision Recorder until the next reboot. If you encounter such an error just reboot the computer without running BrainVision Recorder after that again or simply kill the process &amp;quot;VampService.exe&amp;quot; in the task manager.&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>Mschatt</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=5684</id>
		<title>Contributions:vAmpADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=5684"/>
		<updated>2010-06-21T14:53:13Z</updated>

		<summary type="html">&lt;p&gt;Mschatt: /* Function */&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;
===Known Issues===&lt;br /&gt;
Please note that when BrainVision Recorder was running on the computer before you are using BCI2000 there might be some errors (&amp;quot;VampADC::Initialize error opening device&amp;quot; or even a complete crash of BCI2000). There is a daemon process called &amp;quot;VAmpService.exe&amp;quot; running on the computer everytime you start BrainVision Recorder until the next reboot. If you encounter such an error just reboot the computer without running BrainVision Recorder after that again or simply kill the process &amp;quot;VampService.exe&amp;quot; in the task manager.&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;operat.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 vAmp in the way described, the highlightened parts are importand.&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 operat.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>Mschatt</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=5683</id>
		<title>Contributions:vAmpADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=5683"/>
		<updated>2010-06-21T14:51:12Z</updated>

		<summary type="html">&lt;p&gt;Mschatt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Function==&lt;br /&gt;
The &#039;&#039;vAmpADC&#039;&#039; filter acquires data from up to four &#039;&#039;V-Amp&#039;&#039; or &#039;&#039;FirstAmp&#039;&#039; EEG amplifiers. &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;
===Known Issues===&lt;br /&gt;
Please note that when BrainVision Recorder was running on the computer before you are using BCI2000 there might be some errors (&amp;quot;VampADC::Initialize error opening device&amp;quot; or even a complete crash of BCI2000). There is a daemon process called &amp;quot;VAmpService.exe&amp;quot; running on the computer everytime you start BrainVision Recorder until the next reboot. If you encounter such an error just reboot the computer without running BrainVision Recorder after that again or simply kill the process &amp;quot;VampService.exe&amp;quot; in the task manager.&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;operat.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 vAmp in the way described, the highlightened parts are importand.&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 operat.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>Mschatt</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=5682</id>
		<title>Contributions:vAmpADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=5682"/>
		<updated>2010-06-21T14:39:47Z</updated>

		<summary type="html">&lt;p&gt;Mschatt: /* SourceCh */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Function==&lt;br /&gt;
The &#039;&#039;vAmpADC&#039;&#039; filter acquires data from up to four &#039;&#039;V-Amp&#039;&#039; or &#039;&#039;FirstAmp&#039;&#039; EEG amplifiers. &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;
===DeviceIDs===&lt;br /&gt;
List of serial numbers (e.g., 70) of all devices.&lt;br /&gt;
Serial numbers of found devices will be listed in the BCI2000 log window. &lt;br /&gt;
Please note: tests showed that vAmp Source only works properly with one vAmp device.&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.&lt;br /&gt;
&lt;br /&gt;
===SourceChDevices===&lt;br /&gt;
The number of channels acquired from each device. &lt;br /&gt;
If there is only one device, this parameter has to equal &#039;&#039;SourceCh&#039;&#039;.&lt;br /&gt;
Please note: tests showed that vAmp Source only works properly with one vAmp device.&lt;br /&gt;
Data acquisition always starts at channel 1.&lt;br /&gt;
The sum of all channels (e.g., 24 in this example) has to &lt;br /&gt;
equal the value of &#039;&#039;SourceCh&#039;&#039;.&lt;br /&gt;
In high-speed mode, this number may not be higher than 5 per device (4 channels + digital).&lt;br /&gt;
&lt;br /&gt;
===SourceChList===&lt;br /&gt;
The list of channels that should be acquired from each device.&lt;br /&gt;
The total number of channels listed should correspond to &#039;&#039;SourceCh&#039;&#039;. &lt;br /&gt;
Please note: tests showed that vAmp Source only works properly with one vAmp device.&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 on a single device.&lt;br /&gt;
Channels may not be listed twice on a single device; e.g., entering &#039;1 2 3 4 5 6 7 1&#039; if &#039;&#039;SourceChDevices&#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;
&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. &lt;br /&gt;
This impedance test reports input impedances for each channel in a separate window. Values are color-coded according to the magnitude:&lt;br /&gt;
&lt;br /&gt;
* Green: 0-5 kOhm&lt;br /&gt;
* Orange: 5-30 kOhm&lt;br /&gt;
* Red: 30-1000 kOhm&lt;br /&gt;
* Purple: &amp;gt; 1 MOhm&lt;br /&gt;
&lt;br /&gt;
Values are updated in real-time. Channels are shown in columns, and devices in rows.&lt;br /&gt;
[[Image:VAmpImpedanceChecker.jpg|700px]]&lt;br /&gt;
&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;
===Known Issues===&lt;br /&gt;
Please note that when BrainVision Recorder was running on the computer before you are using BCI2000 there might be some errors (&amp;quot;VampADC::Initialize error opening device&amp;quot; or even a complete crash of BCI2000). There is a daemon process called &amp;quot;VAmpService.exe&amp;quot; running on the computer everytime you start BrainVision Recorder until the next reboot. If you encounter such an error just reboot the computer without running BrainVision Recorder after that again or simply kill the process &amp;quot;VampService.exe&amp;quot; in the task manager.&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;operat.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 vAmp in the way described, the highlightened parts are importand.&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 operat.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>Mschatt</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=5681</id>
		<title>Contributions:vAmpADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=5681"/>
		<updated>2010-06-21T14:39:15Z</updated>

		<summary type="html">&lt;p&gt;Mschatt: /* SamplingRate */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Function==&lt;br /&gt;
The &#039;&#039;vAmpADC&#039;&#039; filter acquires data from up to four &#039;&#039;V-Amp&#039;&#039; or &#039;&#039;FirstAmp&#039;&#039; EEG amplifiers. &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;
===DeviceIDs===&lt;br /&gt;
List of serial numbers (e.g., 70) of all devices.&lt;br /&gt;
Serial numbers of found devices will be listed in the BCI2000 log window. &lt;br /&gt;
Please note: tests showed that vAmp Source only works properly with one vAmp device.&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 across all vAmp devices.&lt;br /&gt;
&lt;br /&gt;
===SourceChDevices===&lt;br /&gt;
The number of channels acquired from each device. &lt;br /&gt;
If there is only one device, this parameter has to equal &#039;&#039;SourceCh&#039;&#039;.&lt;br /&gt;
Please note: tests showed that vAmp Source only works properly with one vAmp device.&lt;br /&gt;
Data acquisition always starts at channel 1.&lt;br /&gt;
The sum of all channels (e.g., 24 in this example) has to &lt;br /&gt;
equal the value of &#039;&#039;SourceCh&#039;&#039;.&lt;br /&gt;
In high-speed mode, this number may not be higher than 5 per device (4 channels + digital).&lt;br /&gt;
&lt;br /&gt;
===SourceChList===&lt;br /&gt;
The list of channels that should be acquired from each device.&lt;br /&gt;
The total number of channels listed should correspond to &#039;&#039;SourceCh&#039;&#039;. &lt;br /&gt;
Please note: tests showed that vAmp Source only works properly with one vAmp device.&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 on a single device.&lt;br /&gt;
Channels may not be listed twice on a single device; e.g., entering &#039;1 2 3 4 5 6 7 1&#039; if &#039;&#039;SourceChDevices&#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;
&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. &lt;br /&gt;
This impedance test reports input impedances for each channel in a separate window. Values are color-coded according to the magnitude:&lt;br /&gt;
&lt;br /&gt;
* Green: 0-5 kOhm&lt;br /&gt;
* Orange: 5-30 kOhm&lt;br /&gt;
* Red: 30-1000 kOhm&lt;br /&gt;
* Purple: &amp;gt; 1 MOhm&lt;br /&gt;
&lt;br /&gt;
Values are updated in real-time. Channels are shown in columns, and devices in rows.&lt;br /&gt;
[[Image:VAmpImpedanceChecker.jpg|700px]]&lt;br /&gt;
&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;
===Known Issues===&lt;br /&gt;
Please note that when BrainVision Recorder was running on the computer before you are using BCI2000 there might be some errors (&amp;quot;VampADC::Initialize error opening device&amp;quot; or even a complete crash of BCI2000). There is a daemon process called &amp;quot;VAmpService.exe&amp;quot; running on the computer everytime you start BrainVision Recorder until the next reboot. If you encounter such an error just reboot the computer without running BrainVision Recorder after that again or simply kill the process &amp;quot;VampService.exe&amp;quot; in the task manager.&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;operat.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 vAmp in the way described, the highlightened parts are importand.&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 operat.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>Mschatt</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=5680</id>
		<title>Contributions:vAmpADC</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:vAmpADC&amp;diff=5680"/>
		<updated>2010-06-17T13:51:26Z</updated>

		<summary type="html">&lt;p&gt;Mschatt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Function==&lt;br /&gt;
The &#039;&#039;vAmpADC&#039;&#039; filter acquires data from up to four &#039;&#039;V-Amp&#039;&#039; or &#039;&#039;FirstAmp&#039;&#039; EEG amplifiers. &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 and from multiple amplifiers, 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;
===DeviceIDs===&lt;br /&gt;
List of serial numbers (e.g., 70) of all devices.&lt;br /&gt;
Serial numbers of found devices will be listed in the BCI2000 log window. &lt;br /&gt;
Please note: tests showed that vAmp Source only works properly with one vAmp device.&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 across all vAmp devices.&lt;br /&gt;
&lt;br /&gt;
===SourceChDevices===&lt;br /&gt;
The number of channels acquired from each device. &lt;br /&gt;
If there is only one device, this parameter has to equal &#039;&#039;SourceCh&#039;&#039;.&lt;br /&gt;
Please note: tests showed that vAmp Source only works properly with one vAmp device.&lt;br /&gt;
Data acquisition always starts at channel 1.&lt;br /&gt;
The sum of all channels (e.g., 24 in this example) has to &lt;br /&gt;
equal the value of &#039;&#039;SourceCh&#039;&#039;.&lt;br /&gt;
In high-speed mode, this number may not be higher than 5 per device (4 channels + digital).&lt;br /&gt;
&lt;br /&gt;
===SourceChList===&lt;br /&gt;
The list of channels that should be acquired from each device.&lt;br /&gt;
The total number of channels listed should correspond to &#039;&#039;SourceCh&#039;&#039;. &lt;br /&gt;
Please note: tests showed that vAmp Source only works properly with one vAmp device.&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 on a single device.&lt;br /&gt;
Channels may not be listed twice on a single device; e.g., entering &#039;1 2 3 4 5 6 7 1&#039; if &#039;&#039;SourceChDevices&#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;
&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. &lt;br /&gt;
This impedance test reports input impedances for each channel in a separate window. Values are color-coded according to the magnitude:&lt;br /&gt;
&lt;br /&gt;
* Green: 0-5 kOhm&lt;br /&gt;
* Orange: 5-30 kOhm&lt;br /&gt;
* Red: 30-1000 kOhm&lt;br /&gt;
* Purple: &amp;gt; 1 MOhm&lt;br /&gt;
&lt;br /&gt;
Values are updated in real-time. Channels are shown in columns, and devices in rows.&lt;br /&gt;
[[Image:VAmpImpedanceChecker.jpg|700px]]&lt;br /&gt;
&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;
===Known Issues===&lt;br /&gt;
Please note that when BrainVision Recorder was running on the computer before you are using BCI2000 there might be some errors (&amp;quot;VampADC::Initialize error opening device&amp;quot; or even a complete crash of BCI2000). There is a daemon process called &amp;quot;VAmpService.exe&amp;quot; running on the computer everytime you start BrainVision Recorder until the next reboot. If you encounter such an error just reboot the computer without running BrainVision Recorder after that again or simply kill the process &amp;quot;VampService.exe&amp;quot; in the task manager.&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;operat.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 vAmp in the way described, the highlightened parts are importand.&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 operat.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>Mschatt</name></author>
	</entry>
</feed>