<?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=Rlellis</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=Rlellis"/>
	<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php/Special:Contributions/Rlellis"/>
	<updated>2026-06-29T19:21:21Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:RHX&amp;diff=12053</id>
		<title>Contributions:RHX</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:RHX&amp;diff=12053"/>
		<updated>2025-08-13T20:51:42Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
&lt;br /&gt;
The Intan RHS has four SPI ports (with each port labelled A,B,C,D) which can program, stimulate, and record data from connected RHS chips. Each chip controls 16 channels, with up to two chips per port. Over all four ports, a total of 8 chips (128 channels) can be simultaneously controlled.&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:Intanheadstage.jpg|RHS2116 Amplifier chip on 32 channel headstage&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
The expansion board includes up to 16 digital input and output channels and 8 analog input (ADC) and output channels (DAC). The digital and analog outputs can be programmed for stimulation, and the data from the digital and analog inputs can be recorded.&lt;br /&gt;
&lt;br /&gt;
The digital input and output data are recorded in two streams (&amp;quot;DigIn&amp;quot; and &amp;quot;DigOut&amp;quot;, respectively). These streams consist of 16 bit unsigned integers with each bit representing the logic input/output. These values are computed in MSb format, with the greatest bit being controlled by channel 0. For example, a logic pulse recorded by channel 0 would result in a value of 2^15 (=1000 0000 0000 0000), while a logic pulse recorded from channel 15 would result in a value of 2^0 (=0000 0000 0000 0001).&lt;br /&gt;
&lt;br /&gt;
Similarly, stimulation information from each headstage is recorded in the streams:&lt;br /&gt;
&amp;quot;HeadstageAStim&amp;quot;: The bit for the corresponding channel is set to 1 if stimulating, 0 otherwise.&lt;br /&gt;
&amp;quot;HeadstageAChargeRecov&amp;quot;: The bit for the corresponding channel is set to 1 if charge recovery is active, 0 otherwise&lt;br /&gt;
&amp;quot;HeadstageAStimPol&amp;quot;: The bit for the corresponding channel is set to 1 if the stimulation current is positive, 0 if negative or inactive&lt;br /&gt;
&amp;quot;HeadstageAAmpSettle&amp;quot;: The bit for the corresponding channel is set to 1 if the amplifier settle circuitry is active, 0 otherwise.&lt;br /&gt;
... (Repeated for headstages A-D)&lt;br /&gt;
&lt;br /&gt;
Each of these streams contains a 32 bit unsigned integer, with a similar format to the &amp;quot;DigIn&amp;quot; and &amp;quot;DigOut&amp;quot; streams--for example, if channel 0 on headstage A is currently stimulating, a value of 2^31 will be recorded to &amp;quot;HeadstageAStim&amp;quot;, and if channel 31 on headstage A is currently stimulating a value of 2^0 will be recorded to &amp;quot;HeadstageAStim&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&lt;br /&gt;
SamplingRate: Due to the RHS&#039;s ability to only take on discrete sampling rates, a value matching one of the following must be used for this parameter (given in Hz): 1000, 1250, 1500, 2000, 2500, 3000, 3333, 4000, 5000, 6250, 8000, 10000, 12500, 15000,20000 ,25000, 30000.&lt;br /&gt;
&lt;br /&gt;
SampleBlockSize: The API provided by Intan only reads data in chunks of 128. Therefore, values that are multiples of 128 must be used for this parameter.&lt;br /&gt;
&lt;br /&gt;
RHSAmpChannels: A list of headtsage channels which will be recorded from. The value of the first channel on headstage A is taken to be 0, and the final channel on headstage D is taken to be 127. Accepted formats are of the following form:&lt;br /&gt;
For a range of sequential channels, an input of &amp;quot;A-B&amp;quot; will result in the configuration being uploaded to channels A,A+1...B. For a single channel, one may simply input the channel number as &amp;quot;A&amp;quot;.&lt;br /&gt;
For channels that are not sequential, one may input &amp;quot;{A-B,C,D-E,..}&amp;quot;. This will upload the configuration to channels A,A+1..B,C,D,D+1...E... . Lists of this form must use commas to separate channel values/ranges.&lt;br /&gt;
&lt;br /&gt;
For example, an entry of {0-8,32-35} will record from the first 9 channels on headstage A, and the first 4 channels on headstage B.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Stimulation Configuration Parameters (note: all text is case insensitive, and any non-applicable parameters can be left empty. Further, all values are rounded to multiples of the sampling period and stimulation step size!):&lt;br /&gt;
&lt;br /&gt;
Channels: Specifies the channels which the configuration applies to. The accepted formats are the same as for RHSAmpChannels.&lt;br /&gt;
&lt;br /&gt;
Trigger: Specifies the source which triggers stimulation. This can either be one of the digital or analog inputs, or a state. Accepted input is: &amp;quot;digx&amp;quot;, &amp;quot;anax&amp;quot;, or &amp;quot;state&amp;quot;, where x is an integer between 1 and 8 (all independent of capitalization). If &amp;quot;state&amp;quot; is used, &amp;quot;State Trigger Value&amp;quot; must be specified.&lt;br /&gt;
&lt;br /&gt;
Trigger State: The name of the expression to trigger stimulation. This does not necessarily have to be a state, for example the &amp;quot;KeyDown&amp;quot; is a valid entry. If not using a state trigger, this can be left empty.&lt;br /&gt;
&lt;br /&gt;
State Trigger Value: If using a state as a trigger, this section determines the condition for the state to trigger stimulation. If not, this can be left as empty.&lt;br /&gt;
&lt;br /&gt;
Edge/Level: Specifies whether stimulation is edge or level triggered. Supported entries are &amp;quot;edge&amp;quot; or &amp;quot;level&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
High/Low: Specifies whether stimulation is triggered on high or low. Supported entries are &amp;quot;high&amp;quot; or &amp;quot;low&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Trigger Delay: Specifies the duration of time between the trigger and first phase of stimulation. The expected format is a value along with a unit, for example &amp;quot;10ms&amp;quot;, &amp;quot;10 ms&amp;quot;, &amp;quot;100 us&amp;quot;. Accepted units are ns,us,ms,s. If no unit is provided, the default is us.&lt;br /&gt;
&lt;br /&gt;
Amp Settle Start: Specifies the time before the first phase of stimulation in which the amplifier settle circuitry is activated. This value must not exceed Trigger Delay. The expected format is the same as Trigger Delay.&lt;br /&gt;
&lt;br /&gt;
Phase 1 Duration: Specifies the duration for the first phase of stimulation. The expected format is the same as Trigger Delay.&lt;br /&gt;
&lt;br /&gt;
Phase 2 Duration: Specifies the duration for the second phase of stimulation. The expected format is the same as Trigger Delay.&lt;br /&gt;
&lt;br /&gt;
Phase 3 Duration: Specifies the duration for the third phase of stimulation. The expected format is the same as Trigger Delay. This parameter only needs to be defined for a triphasic waveform, otherwise can be left blank.&lt;br /&gt;
&lt;br /&gt;
Amp Settle End: Specifies the duration after the final phase of stimulation at which the amplifier settle circuitry is deactivated. The expected format is the same as Trigger Delay.&lt;br /&gt;
&lt;br /&gt;
Num Pulses: Specifies the number of stimulation pulses after a trigger event.&lt;br /&gt;
&lt;br /&gt;
Pulse Period: Specifies the period of the stimulation waveform. The trigger delay is not factored. For example, a biphasic waveform with a phase 1 duration of 100us, a phase 2 duration of 100us, and a pulse period of 300us will look like a biphasic waveform with a 100us delay following the second phase before repeating (regardless of the trigger delay).&lt;br /&gt;
&lt;br /&gt;
Post Stim Recovery Delay: Specifies the duration after the last phase of the final pulse at which the charge recovery circuitry will be activated. The expected format is the same as Trigger Delay.&lt;br /&gt;
&lt;br /&gt;
Post Stim Recovery Duration: Specifies the duration for which charge recovery will be active. The expected format is the same as Trigger Delay.&lt;br /&gt;
&lt;br /&gt;
Refractory Duration: Specifies the duration after either charge recovery is deactivated (if this charge recovery parameters were set), or after the end of stimulation (otherwise).&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:RHX&amp;diff=12052</id>
		<title>Contributions:RHX</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:RHX&amp;diff=12052"/>
		<updated>2025-08-13T20:04:55Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
&lt;br /&gt;
The Intan RHS has four SPI ports (with each port labelled A,B,C,D) which can program, stimulate, and record data from connected RHS chips. Each chip controls 16 channels, with up to two chips per port. Over all four ports, a total of 8 chips (128 channels) can be simultaneously controlled.&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:Intanheadstage.jpg|RHS2116 Amplifier chip on 32 channel headstage&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
The expansion board includes up to 16 digital input and output channels and 8 analog input (ADC) and output channels (DAC). The digital and analog outputs can be programmed for stimulation, and the data from the digital and analog inputs can be recorded.&lt;br /&gt;
&lt;br /&gt;
The digital input and output data are recorded in two streams (&amp;quot;DigIn&amp;quot; and &amp;quot;DigOut&amp;quot;, respectively). These streams consist of 16 bit unsigned integers with each bit representing the logic input/output. These values are computed in MSb format, with the greatest bit being controlled by channel 0. For example, a logic pulse recorded by channel 0 would result in a value of 2^15 (=1000 0000 0000 0000), while a logic pulse recorded from channel 15 would result in a value of 2^0 (=0000 0000 0000 0001).&lt;br /&gt;
&lt;br /&gt;
Similarly, stimulation information from each headstage is recorded in the streams:&lt;br /&gt;
&amp;quot;HeadstageAStim&amp;quot;: The bit for the corresponding channel is set to 1 if stimulating, 0 otherwise.&lt;br /&gt;
&amp;quot;HeadstageAChargeRecov&amp;quot;: The bit for the corresponding channel is set to 1 if charge recovery is active, 0 otherwise&lt;br /&gt;
&amp;quot;HeadstageAStimPol&amp;quot;: The bit for the corresponding channel is set to 1 if the stimulation current is positive, 0 if negative or inactive&lt;br /&gt;
&amp;quot;HeadstageAAmpSettle&amp;quot;: The bit for the corresponding channel is set to 1 if the amplifier settle circuitry is active, 0 otherwise.&lt;br /&gt;
... (Repeated for headstages A-D)&lt;br /&gt;
&lt;br /&gt;
Each of these streams contains a 32 bit unsigned integer, with a similar format to the &amp;quot;DigIn&amp;quot; and &amp;quot;DigOut&amp;quot; streams--for example, if channel 0 on headstage A is currently stimulating, a value of 2^31 will be recorded to &amp;quot;HeadstageAStim&amp;quot;, and if channel 31 on headstage A is currently stimulating a value of 2^0 will be recorded to &amp;quot;HeadstageAStim&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&lt;br /&gt;
SamplingRate: Due to the RHS&#039;s ability to only take on discrete sampling rates, a value matching one of the following must be used for this parameter (given in Hz): 1000, 1250, 1500, 2000, 2500, 3000, 3333, 4000, 5000, 6250, 8000, 10000, 12500, 15000,20000 ,25000, 30000.&lt;br /&gt;
&lt;br /&gt;
SampleBlockSize: The API provided by Intan only reads data in chunks of 128. Therefore, values that are multiples of 128 must be used for this parameter.&lt;br /&gt;
&lt;br /&gt;
RHSAmpChannels: A list of headtsage channels which will be recorded from. The value of the first channel on headstage A is taken to be 0, and the final channel on headstage D is taken to be 127. Accepted formats are of the following form:&lt;br /&gt;
For a range of sequential channels, an input of &amp;quot;A-B&amp;quot; will result in the configuration being uploaded to channels A,A+1...B. For a single channel, one may simply input the channel number as &amp;quot;A&amp;quot;.&lt;br /&gt;
For channels that are not sequential, one may input &amp;quot;{A-B,C,D-E,..}&amp;quot;. This will upload the configuration to channels A,A+1..B,C,D,D+1...E... . Lists of this form must use commas to separate channel values/ranges.&lt;br /&gt;
&lt;br /&gt;
For example, an entry of {0-8,32-35} will record from the first 9 channels on headstage A, and the first 4 channels on headstage B.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Stimulation Configuration Parameters (note: all text is case insensitive, and any non-applicable parameters can be left empty. Further, all values are rounded to multiples of the sampling period and stimulation step size!):&lt;br /&gt;
&lt;br /&gt;
Channels: Specifies the channels which the configuration applies to. The accepted formats are the same as for RHSAmpChannels.&lt;br /&gt;
&lt;br /&gt;
Trigger: Specifies the source which triggers stimulation. This can either be one of the digital or analog inputs, or a state. Accepted input is: &amp;quot;digx&amp;quot;, &amp;quot;anax&amp;quot;, or &amp;quot;state&amp;quot;, where x is an integer between 1 and 8 (all independent of capitalization). If &amp;quot;state&amp;quot; is used, &amp;quot;State Trigger Value&amp;quot; must be specified.&lt;br /&gt;
&lt;br /&gt;
Trigger State: The name of the expression to trigger stimulation. This does not necessarily have to be a state, for example the &amp;quot;KeyDown&amp;quot; is a valid entry. If not using a state trigger, this can be left empty.&lt;br /&gt;
&lt;br /&gt;
State Trigger Value: If using a state as a trigger, this section determines the condition for the state to trigger stimulation. If not, this can be left as empty.&lt;br /&gt;
&lt;br /&gt;
Edge/Level: Specifies whether stimulation is edge or level triggered. Supported entries are &amp;quot;edge&amp;quot; or &amp;quot;level&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
High/Low: Specifies whether stimulation is triggered on high or low. Supported entries are &amp;quot;high&amp;quot; or &amp;quot;low&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Trigger Delay: Specifies the duration of time between the trigger and first phase of stimulation. The expected format is a value along with a unit, for example &amp;quot;10ms&amp;quot;, &amp;quot;10 ms&amp;quot;, &amp;quot;100 us&amp;quot;. Accepted units are ns,us,ms,s. If no unit is provided, the default is us.&lt;br /&gt;
&lt;br /&gt;
Amp Settle Start: Specifies the time before the first phase of stimulation in which the amplifier settle circuitry is activated. This value must not exceed Trigger Delay. The expected format is the same as Trigger Delay.&lt;br /&gt;
&lt;br /&gt;
Phase 1 Duration: Specifies the duration for the first phase of stimulation. The expected format is the same as Trigger Delay.&lt;br /&gt;
&lt;br /&gt;
Phase 2 Duration: Specifies the duration for the second phase of stimulation. The expected format is the same as Trigger Delay.&lt;br /&gt;
&lt;br /&gt;
Phase 3 Duration: Specifies the duration for the third phase of stimulation. The expected format is the same as Trigger Delay. This parameter only needs to be defined for a triphasic waveform, otherwise can be left blank.&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:RHX&amp;diff=12051</id>
		<title>Contributions:RHX</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:RHX&amp;diff=12051"/>
		<updated>2025-08-12T20:57:57Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* Synopsis */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
&lt;br /&gt;
The Intan RHS has four SPI ports (with each port labelled A,B,C,D) which can program, stimulate, and record data from connected RHS chips. Each chip controls 16 channels, with up to two chips per port. Over all four ports, a total of 8 chips (128 channels) can be simultaneously controlled.&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:Intanheadstage.jpg|RHS2116 Amplifier chip on 32 channel headstage&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
The expansion board includes up to 16 digital input and output channels and 8 analog input (ADC) and output channels (DAC). The digital and analog outputs can be programmed for stimulation, and the data from the digital and analog inputs can be recorded.&lt;br /&gt;
&lt;br /&gt;
The digital input and output data are recorded in two streams (&amp;quot;DigIn&amp;quot; and &amp;quot;DigOut&amp;quot;, respectively). These streams consist of 16 bit unsigned integers with each bit representing the logic input/output. These values are computed in MSb format, with the greatest bit being controlled by channel 0. For example, a logic pulse recorded by channel 0 would result in a value of 2^15 (=1000 0000 0000 0000), while a logic pulse recorded from channel 15 would result in a value of 2^0 (=0000 0000 0000 0001).&lt;br /&gt;
&lt;br /&gt;
Similarly, stimulation information from each headstage is recorded in the streams:&lt;br /&gt;
&amp;quot;HeadstageAStim&amp;quot;: The bit for the corresponding channel is set to 1 if stimulating, 0 otherwise.&lt;br /&gt;
&amp;quot;HeadstageAChargeRecov&amp;quot;: The bit for the corresponding channel is set to 1 if charge recovery is active, 0 otherwise&lt;br /&gt;
&amp;quot;HeadstageAStimPol&amp;quot;: The bit for the corresponding channel is set to 1 if the stimulation current is positive, 0 if negative or inactive&lt;br /&gt;
&amp;quot;HeadstageAAmpSettle&amp;quot;: The bit for the corresponding channel is set to 1 if the amplifier settle circuitry is active, 0 otherwise.&lt;br /&gt;
... (Repeated for headstages A-D)&lt;br /&gt;
&lt;br /&gt;
Each of these streams contains a 32 bit unsigned integer, with a similar format to the &amp;quot;DigIn&amp;quot; and &amp;quot;DigOut&amp;quot; streams--for example, if channel 0 on headstage A is currently stimulating, a value of 2^31 will be recorded to &amp;quot;HeadstageAStim&amp;quot;, and if channel 31 on headstage A is currently stimulating a value of 2^0 will be recorded to &amp;quot;HeadstageAStim&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&lt;br /&gt;
SamplingRate: Due to the RHS&#039;s ability to only take on discrete sampling rates, a value matching one of the following must be used for this parameter (given in Hz): 1000, 1250, 1500, 2000, 2500, 3000, 3333, 4000, 5000, 6250, 8000, 10000, 12500, 15000,20000 ,25000, 30000.&lt;br /&gt;
&lt;br /&gt;
SampleBlockSize: The API provided by Intan only reads data in chunks of 128. Therefore, values that are multiples of 128 must be used for this parameter.&lt;br /&gt;
&lt;br /&gt;
ConnectionType: Determines type of connection to be used. For devices with a XEM7310 module (which can be found via the connected device list given in the Intan RHX application or by looking at the specifications for the device in use), use ControllerStimRecord. Otherwise, depending on the USB connection, choose USB2 or USB3.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Stimulation Configuration Parameters:&lt;br /&gt;
&lt;br /&gt;
Channels: Specifies the channels which the configuration applies to. Accepted formats are of the following:&lt;br /&gt;
For a range of sequential channels, an input of &amp;quot;A-B&amp;quot; will result in the configuration being uploaded to channels A,A+1...B. For a single channel, one may simply input the channel number as &amp;quot;A&amp;quot;.&lt;br /&gt;
For channels that are not sequential, one may input &amp;quot;{A-B,C,D-E,..}&amp;quot;. This will upload the configuration to channels A,A+1..B,C,D,D+1...E... . Lists of this form must use commas to separate channel values/ranges.&lt;br /&gt;
&lt;br /&gt;
Trigger: Specifies the source which triggers stimulation. This can either be one of the digital or analog inputs, or a state. Accepted input is: &amp;quot;digx&amp;quot;, &amp;quot;anax&amp;quot;, or &amp;quot;state&amp;quot;, where x is an integer between 1 and 8 (all independent of capitalization). If &amp;quot;state&amp;quot; is used, &amp;quot;State Trigger Value&amp;quot; must be specified.&lt;br /&gt;
&lt;br /&gt;
State Trigger Value: If using a state as a trigger, this section determines the condition for the state to trigger stimulation.&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:RHX&amp;diff=12050</id>
		<title>Contributions:RHX</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:RHX&amp;diff=12050"/>
		<updated>2025-08-12T20:57:36Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* Synopsis */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
&lt;br /&gt;
The Intan RHS has four SPI ports (with each port labelled A,B,C,D) which can program, stimulate, and record data from connected RHS chips. Each chip controls 16 channels, with up to two chips per port. Over all four ports, a total of 8 chips (128 channels) can be simultaneously controlled.&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:Intanheadstage.jpg|RHS2116 Amplifier chip on 32 channel headstage&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
The expansion board includes up to 16 digital input and output channels and 8 analog input (ADC) and output channels (DAC). The digital and analog outputs can be programmed for stimulation, and the data from the digital and analog inputs can be recorded.&lt;br /&gt;
&lt;br /&gt;
The digital input and output data is recorded in two streams (&amp;quot;DigIn&amp;quot; and &amp;quot;DigOut&amp;quot;, respectively). These streams consist of 16 bit unsigned integers with each bit representing the logic input/output. These values are computed in MSb format, with the greatest bit being controlled by channel 0. For example, a logic pulse recorded by channel 0 would result in a value of 2^15 (=1000 0000 0000 0000), while a logic pulse recorded from channel 15 would result in a value of 2^0 (=0000 0000 0000 0001).&lt;br /&gt;
&lt;br /&gt;
Similarly, stimulation information from each headstage is recorded in the streams:&lt;br /&gt;
&amp;quot;HeadstageAStim&amp;quot;: The bit for the corresponding channel is set to 1 if stimulating, 0 otherwise.&lt;br /&gt;
&amp;quot;HeadstageAChargeRecov&amp;quot;: The bit for the corresponding channel is set to 1 if charge recovery is active, 0 otherwise&lt;br /&gt;
&amp;quot;HeadstageAStimPol&amp;quot;: The bit for the corresponding channel is set to 1 if the stimulation current is positive, 0 if negative or inactive&lt;br /&gt;
&amp;quot;HeadstageAAmpSettle&amp;quot;: The bit for the corresponding channel is set to 1 if the amplifier settle circuitry is active, 0 otherwise.&lt;br /&gt;
... (Repeated for headstages A-D)&lt;br /&gt;
&lt;br /&gt;
Each of these streams contains a 32 bit unsigned integer, with a similar format to the &amp;quot;DigIn&amp;quot; and &amp;quot;DigOut&amp;quot; streams--for example, if channel 0 on headstage A is currently stimulating, a value of 2^31 will be recorded to &amp;quot;HeadstageAStim&amp;quot;, and if channel 31 on headstage A is currently stimulating a value of 2^0 will be recorded to &amp;quot;HeadstageAStim&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&lt;br /&gt;
SamplingRate: Due to the RHS&#039;s ability to only take on discrete sampling rates, a value matching one of the following must be used for this parameter (given in Hz): 1000, 1250, 1500, 2000, 2500, 3000, 3333, 4000, 5000, 6250, 8000, 10000, 12500, 15000,20000 ,25000, 30000.&lt;br /&gt;
&lt;br /&gt;
SampleBlockSize: The API provided by Intan only reads data in chunks of 128. Therefore, values that are multiples of 128 must be used for this parameter.&lt;br /&gt;
&lt;br /&gt;
ConnectionType: Determines type of connection to be used. For devices with a XEM7310 module (which can be found via the connected device list given in the Intan RHX application or by looking at the specifications for the device in use), use ControllerStimRecord. Otherwise, depending on the USB connection, choose USB2 or USB3.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Stimulation Configuration Parameters:&lt;br /&gt;
&lt;br /&gt;
Channels: Specifies the channels which the configuration applies to. Accepted formats are of the following:&lt;br /&gt;
For a range of sequential channels, an input of &amp;quot;A-B&amp;quot; will result in the configuration being uploaded to channels A,A+1...B. For a single channel, one may simply input the channel number as &amp;quot;A&amp;quot;.&lt;br /&gt;
For channels that are not sequential, one may input &amp;quot;{A-B,C,D-E,..}&amp;quot;. This will upload the configuration to channels A,A+1..B,C,D,D+1...E... . Lists of this form must use commas to separate channel values/ranges.&lt;br /&gt;
&lt;br /&gt;
Trigger: Specifies the source which triggers stimulation. This can either be one of the digital or analog inputs, or a state. Accepted input is: &amp;quot;digx&amp;quot;, &amp;quot;anax&amp;quot;, or &amp;quot;state&amp;quot;, where x is an integer between 1 and 8 (all independent of capitalization). If &amp;quot;state&amp;quot; is used, &amp;quot;State Trigger Value&amp;quot; must be specified.&lt;br /&gt;
&lt;br /&gt;
State Trigger Value: If using a state as a trigger, this section determines the condition for the state to trigger stimulation.&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:RHX&amp;diff=11963</id>
		<title>Contributions:RHX</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:RHX&amp;diff=11963"/>
		<updated>2025-06-18T20:06:43Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
&lt;br /&gt;
The Intan RHS has four SPI ports (with each port labelled A,B,C,D) which sends data to a FPGA. These ports communicate with the chips located on supported headstages. Each port has four output signals responsible for communication with the amplifier chips, two of which (MISO1,MISO2) are used to transmit data. Each chip controls 16 channels, and each chip transmits data over a single MISO line. Over all four ports, this means there are 8 lines over which data can be sent.&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:Intanheadstage.jpg|RHS2116 Amplifier chip on 32 channel headstage&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
Attatched to the FPGA is an Opal Kelly XEM6010 USB/FPGA interface which can be used to read data in the FPGA via USB. This module has 128MByte SDRAM&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&lt;br /&gt;
SamplingRate: Due to the RHS&#039;s ability to only take on discrete sampling rates, a value matching one of the following must be used for this parameter (given in Hz): 1000, 1250, 1500, 2000, 2500, 3000, 3333, 4000, 5000, 6250, 8000, 10000, 12500, 15000,20000 ,25000, 30000.&lt;br /&gt;
&lt;br /&gt;
SampleBlockSize: The API provided by Intan only reads data in chunks of 128. Therefore, values that are multiples of 128 must be used for this parameter.&lt;br /&gt;
&lt;br /&gt;
ConnectionType: Determines type of connection to be used. For devices with a XEM7310 module (which can be found via the connected device list given in the Intan RHX application or by looking at the specifications for the device in use), use ControllerStimRecord. Otherwise, depending on the USB connection, choose USB2 or USB3.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Stimulation Configuration Parameters:&lt;br /&gt;
&lt;br /&gt;
Channels: Specifies the channels which the configuration applies to. Accepted formats are of the following:&lt;br /&gt;
For a range of sequential channels, an input of &amp;quot;A-B&amp;quot; will result in the configuration being uploaded to channels A,A+1...B. For a single channel, one may simply input the channel number as &amp;quot;A&amp;quot;.&lt;br /&gt;
For channels that are not sequential, one may input &amp;quot;{A-B,C,D-E,..}&amp;quot;. This will upload the configuration to channels A,A+1..B,C,D,D+1...E... . Lists of this form must use commas to separate channel values/ranges.&lt;br /&gt;
&lt;br /&gt;
Trigger: Specifies the source which triggers stimulation. This can either be one of the digital or analog inputs, or a state. Accepted input is: &amp;quot;digx&amp;quot;, &amp;quot;anax&amp;quot;, or &amp;quot;state&amp;quot;, where x is an integer between 1 and 8 (all independent of capitalization). If &amp;quot;state&amp;quot; is used, &amp;quot;State Trigger Value&amp;quot; must be specified.&lt;br /&gt;
&lt;br /&gt;
State Trigger Value: If using a state as a trigger, this section determines the condition for the state to trigger stimulation.&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:RHX&amp;diff=11605</id>
		<title>Contributions:RHX</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:RHX&amp;diff=11605"/>
		<updated>2024-09-06T17:43:06Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
&lt;br /&gt;
The Intan RHS has four SPI ports (with each port labelled A,B,C,D) which sends data to a FPGA. These ports communicate with the chips located on supported headstages. Each port has four output signals responsible for communication with the amplifier chips, two of which (MISO1,MISO2) are used to transmit data. Each chip controls 16 channels, and each chip transmits data over a single MISO line. Over all four ports, this means there are 8 lines over which data can be sent.&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:Intanheadstage.jpg|RHS2116 Amplifier chip on 32 channel headstage&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
Attatched to the FPGA is an Opal Kelly XEM6010 USB/FPGA interface which can be used to read data in the FPGA via USB. This module has 128MByte SDRAM&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&lt;br /&gt;
SamplingRate: Due to the RHS&#039;s ability to only take on discrete sampling rates, a value matching one of the following must be used for this parameter (given in Hz): 1000, 1250, 1500, 2000, 2500, 3000, 3333, 4000, 5000, 6250, 8000, 10000, 12500, 15000,20000 ,25000, 30000.&lt;br /&gt;
&lt;br /&gt;
SampleBlockSize: The API provided by Intan only reads data in chunks of 128. Therefore, values that are multiples of 128 must be used for this parameter.&lt;br /&gt;
&lt;br /&gt;
ConnectionType: Determines type of connection to be used. For devices with a XEM7310 module (which can be found via the connected device list given in the Intan RHX application or by looking at the specifications for the device in use), use ControllerStimRecord. Otherwise, depending on the USB connection, choose USB2 or USB3.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
~To be added~&lt;br /&gt;
&lt;br /&gt;
Trigger parameters:&lt;br /&gt;
&lt;br /&gt;
TriggerEnable: enables or disables the trigger function&lt;br /&gt;
&lt;br /&gt;
TriggerType: Edge triggered: triggers stimulation upon change from inactive to active state. Level triggered: repeats stimulation while in an active state (i.e. can activate multiple times while the trigger condition is met, without needing to switch)&lt;br /&gt;
&lt;br /&gt;
TriggerState: Allows the user to enter a state that will be used as a trigger condition (i.e. can use KeyboardMonitor)&lt;br /&gt;
&lt;br /&gt;
TriggerValue: The value in which TriggerCondition will be compared to.&lt;br /&gt;
&lt;br /&gt;
TriggerCondition: The condition which TriggerState must satisfy in relation to TriggerValue in order to switch to an active state.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Pulse train parameters:&lt;br /&gt;
&lt;br /&gt;
PulseTrainEnable: True: enables pulse train. False: sets stimulation to only a single pulse of the waveform.&lt;br /&gt;
&lt;br /&gt;
PulseTrainNumPulses: Number of pulses to be executed upon trigger activation&lt;br /&gt;
&lt;br /&gt;
PulseTrainPeriod: time elapsed between the start of two subsequent pulses (i.e. stimulus duration+interstimulus interval)&lt;br /&gt;
&lt;br /&gt;
PostTriggerDelay: Time between trigger activation and execution of pulse train&lt;br /&gt;
&lt;br /&gt;
RefractoryPeriod: Rest period after pulse train finishes executing during which stimulation will not execute&lt;br /&gt;
&lt;br /&gt;
Waveform parameters:&lt;br /&gt;
A1: Magnitude of first phase current (nA)&lt;br /&gt;
A2: Magnitude of second phase current (nA)&lt;br /&gt;
Polarity: Anodic: supplies positive current first. Cathodic: supplies negative current first&lt;br /&gt;
D1: Duration of first phase&lt;br /&gt;
D2: Duration of second phase&lt;br /&gt;
DP: Interphase delay duration (Only applicable for Biphasic with Delay stimulation shape)&lt;br /&gt;
&lt;br /&gt;
Shape: &lt;br /&gt;
Biphasic: supplies current (with polarity determined by the Polarity parameter) for time determined by D1 and magnitude determined by A1, then supplies the opposite sign of current for time determined by D2 and magnitude determined by A2&lt;br /&gt;
Biphasic with delay: supplies current (with polarity determined by the Polarity parameter) for time determined by D1 and magnitude determined by A1, then supplies no current for time specified by DP, then supplies the opposite sign of current for time determined by D2 and magnitude determined by A2&lt;br /&gt;
Triphasic: supplies current (with polarity determined by the Polarity parameter) for time determined by D1 and magnitude determined by A1, then supplies the opposite sign of current for time determined by D2 and magnitude determined by A2, then repeats the first phase (current of initial polarity for duration D1 and amplitude A1)&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:RHX&amp;diff=11604</id>
		<title>Contributions:RHX</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:RHX&amp;diff=11604"/>
		<updated>2024-09-06T17:42:48Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
&lt;br /&gt;
The Intan RHS has four SPI ports (with each port labelled A,B,C,D) which sends data to a FPGA. These ports communicate with the chips located on supported headstages. Each port has four output signals responsible for communication with the amplifier chips, two of which (MISO1,MISO2) are used to transmit data. Each chip controls 16 channels, and each chip transmits data over a single MISO line. Over all four ports, this means there are 8 lines over which data can be sent.&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:Intanheadstage.jpg|RHS2116 Amplifier chip on 32 channel headstage&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
Attatched to the FPGA is an Opal Kelly XEM6010 USB/FPGA interface which can be used to read data in the FPGA via USB. This module has 128MByte SDRAM&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&lt;br /&gt;
SamplingRate: Due to the RHS&#039;s ability to only take on discrete sampling rates, a value matching one of the following must be used for this parameter (given in Hz): 1000, 1250, 1500, 2000, 2500, 3000, 3333, 4000, 5000, 6250, 8000, 10000, 12500, 15000,20000 ,25000, 30000.&lt;br /&gt;
&lt;br /&gt;
SampleBlockSize: The API provided by Intan only reads data in chunks of 128. Therefore, values that are multiples of 128 must be used for this parameter.&lt;br /&gt;
&lt;br /&gt;
ConnectionType: Determines type of connection to be used. For devices with a XEM7310 module (which can be found via the connected device list given in the Intan RHX application or by looking at the specifications for the device in use), use ControllerStimRecord. Otherwise, depending on the USB connection, choose USB2 or USB3.&lt;br /&gt;
&lt;br /&gt;
Trigger parameters:&lt;br /&gt;
&lt;br /&gt;
TriggerEnable: enables or disables the trigger function&lt;br /&gt;
&lt;br /&gt;
TriggerType: Edge triggered: triggers stimulation upon change from inactive to active state. Level triggered: repeats stimulation while in an active state (i.e. can activate multiple times while the trigger condition is met, without needing to switch)&lt;br /&gt;
&lt;br /&gt;
TriggerState: Allows the user to enter a state that will be used as a trigger condition (i.e. can use KeyboardMonitor)&lt;br /&gt;
&lt;br /&gt;
TriggerValue: The value in which TriggerCondition will be compared to.&lt;br /&gt;
&lt;br /&gt;
TriggerCondition: The condition which TriggerState must satisfy in relation to TriggerValue in order to switch to an active state.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Pulse train parameters:&lt;br /&gt;
&lt;br /&gt;
PulseTrainEnable: True: enables pulse train. False: sets stimulation to only a single pulse of the waveform.&lt;br /&gt;
&lt;br /&gt;
PulseTrainNumPulses: Number of pulses to be executed upon trigger activation&lt;br /&gt;
&lt;br /&gt;
PulseTrainPeriod: time elapsed between the start of two subsequent pulses (i.e. stimulus duration+interstimulus interval)&lt;br /&gt;
&lt;br /&gt;
PostTriggerDelay: Time between trigger activation and execution of pulse train&lt;br /&gt;
&lt;br /&gt;
RefractoryPeriod: Rest period after pulse train finishes executing during which stimulation will not execute&lt;br /&gt;
&lt;br /&gt;
Waveform parameters:&lt;br /&gt;
A1: Magnitude of first phase current (nA)&lt;br /&gt;
A2: Magnitude of second phase current (nA)&lt;br /&gt;
Polarity: Anodic: supplies positive current first. Cathodic: supplies negative current first&lt;br /&gt;
D1: Duration of first phase&lt;br /&gt;
D2: Duration of second phase&lt;br /&gt;
DP: Interphase delay duration (Only applicable for Biphasic with Delay stimulation shape)&lt;br /&gt;
&lt;br /&gt;
Shape: &lt;br /&gt;
Biphasic: supplies current (with polarity determined by the Polarity parameter) for time determined by D1 and magnitude determined by A1, then supplies the opposite sign of current for time determined by D2 and magnitude determined by A2&lt;br /&gt;
Biphasic with delay: supplies current (with polarity determined by the Polarity parameter) for time determined by D1 and magnitude determined by A1, then supplies no current for time specified by DP, then supplies the opposite sign of current for time determined by D2 and magnitude determined by A2&lt;br /&gt;
Triphasic: supplies current (with polarity determined by the Polarity parameter) for time determined by D1 and magnitude determined by A1, then supplies the opposite sign of current for time determined by D2 and magnitude determined by A2, then repeats the first phase (current of initial polarity for duration D1 and amplitude A1)&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:RHX&amp;diff=11505</id>
		<title>Contributions:RHX</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:RHX&amp;diff=11505"/>
		<updated>2024-08-09T19:43:48Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
&lt;br /&gt;
The Intan RHS has four SPI ports (with each port labelled A,B,C,D) which sends data to a FPGA. These ports communicate with the chips located on supported headstages. Each port has four output signals responsible for communication with the amplifier chips, two of which (MISO1,MISO2) are used to transmit data. Each chip controls 16 channels, and each chip transmits data over a single MISO line. Over all four ports, this means there are 8 lines over which data can be sent.&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:Intanheadstage.jpg|RHS2116 Amplifier chip on 32 channel headstage&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
Attatched to the FPGA is an Opal Kelly XEM6010 USB/FPGA interface which can be used to read data in the FPGA via USB. This module has 128MByte SDRAM&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&lt;br /&gt;
Trigger parameters:&lt;br /&gt;
&lt;br /&gt;
TriggerEnable: enables or disables the trigger function&lt;br /&gt;
&lt;br /&gt;
TriggerType: Edge triggered: triggers stimulation upon change from inactive to active state. Level triggered: repeats stimulation while in an active state (i.e. can activate multiple times while the trigger condition is met, without needing to switch)&lt;br /&gt;
&lt;br /&gt;
TriggerState: Allows the user to enter a state that will be used as a trigger condition (i.e. can use KeyboardMonitor)&lt;br /&gt;
&lt;br /&gt;
TriggerValue: The value in which TriggerCondition will be compared to.&lt;br /&gt;
&lt;br /&gt;
TriggerCondition: The condition which TriggerState must satisfy in relation to TriggerValue in order to switch to an active state.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Pulse train parameters:&lt;br /&gt;
&lt;br /&gt;
PulseTrainEnable: True: enables pulse train. False: sets stimulation to only a single pulse of the waveform.&lt;br /&gt;
&lt;br /&gt;
PulseTrainNumPulses: Number of pulses to be executed upon trigger activation&lt;br /&gt;
&lt;br /&gt;
PulseTrainPeriod: time elapsed between the start of two subsequent pulses (i.e. stimulus duration+interstimulus interval)&lt;br /&gt;
&lt;br /&gt;
PostTriggerDelay: Time between trigger activation and execution of pulse train&lt;br /&gt;
&lt;br /&gt;
RefractoryPeriod: Rest period after pulse train finishes executing during which stimulation will not execute&lt;br /&gt;
&lt;br /&gt;
Waveform parameters:&lt;br /&gt;
A1: Magnitude of first phase current (nA)&lt;br /&gt;
A2: Magnitude of second phase current (nA)&lt;br /&gt;
Polarity: Anodic: supplies positive current first. Cathodic: supplies negative current first&lt;br /&gt;
D1: Duration of first phase&lt;br /&gt;
D2: Duration of second phase&lt;br /&gt;
DP: Interphase delay duration (Only applicable for Biphasic with Delay stimulation shape)&lt;br /&gt;
&lt;br /&gt;
Shape: &lt;br /&gt;
Biphasic: supplies current (with polarity determined by the Polarity parameter) for time determined by D1 and magnitude determined by A1, then supplies the opposite sign of current for time determined by D2 and magnitude determined by A2&lt;br /&gt;
Biphasic with delay: supplies current (with polarity determined by the Polarity parameter) for time determined by D1 and magnitude determined by A1, then supplies no current for time specified by DP, then supplies the opposite sign of current for time determined by D2 and magnitude determined by A2&lt;br /&gt;
Triphasic: supplies current (with polarity determined by the Polarity parameter) for time determined by D1 and magnitude determined by A1, then supplies the opposite sign of current for time determined by D2 and magnitude determined by A2, then repeats the first phase (current of initial polarity for duration D1 and amplitude A1)&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:RHX&amp;diff=11495</id>
		<title>Contributions:RHX</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:RHX&amp;diff=11495"/>
		<updated>2024-08-07T22:23:32Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* Synopsis */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
&lt;br /&gt;
The Intan RHS has four SPI ports (with each port labelled A,B,C,D) which sends data to a FPGA. These ports communicate with the chips located on supported headstages. Each port has four output signals responsible for communication with the amplifier chips, two of which (MISO1,MISO2) are used to transmit data. Each chip controls 16 channels, and each chip transmits data over a single MISO line. Over all four ports, this means there are 8 lines over which data can be sent.&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:Intanheadstage.jpg|RHS2116 Amplifier chip on 32 channel headstage&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
Attatched to the FPGA is an Opal Kelly XEM6010 USB/FPGA interface which can be used to read data in the FPGA via USB. This module has 128MByte SDRAM&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&lt;br /&gt;
Trigger parameters:&lt;br /&gt;
&lt;br /&gt;
TriggerEnable: enables or disables the trigger function&lt;br /&gt;
&lt;br /&gt;
TriggerType: Edge triggered: triggers stimulation upon change from inactive to active state. Level triggered: repeats stimulation while in an active state (i.e. can activate multiple times while the trigger condition is met, without needing to switch)&lt;br /&gt;
&lt;br /&gt;
TriggerState: Allows the user to enter a state that will be used as a trigger condition (i.e. can use KeyboardMonitor)&lt;br /&gt;
&lt;br /&gt;
TriggerValue: The value in which TriggerCondition will be compared to.&lt;br /&gt;
&lt;br /&gt;
TriggerCondition: The condition which TriggerState must satisfy in relation to TriggerValue in order to switch to an active state.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Pulse train parameters:&lt;br /&gt;
&lt;br /&gt;
PulseTrainEnable: True: enables pulse train. False: sets stimulation to only a single pulse of the waveform.&lt;br /&gt;
&lt;br /&gt;
PulseTrainNumPulses: Number of pulses to be executed upon trigger activation&lt;br /&gt;
&lt;br /&gt;
PulseTrainPeriod: time elapsed between the start of two subsequent pulses (i.e. stimulus duration+interstimulus interval)&lt;br /&gt;
&lt;br /&gt;
PostTriggerDelay: Time between trigger activation and execution of pulse train&lt;br /&gt;
&lt;br /&gt;
RefractoryPeriod: Rest period after pulse train finishes executing during which stimulation will not execute&lt;br /&gt;
&lt;br /&gt;
Waveform parameters:&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:RHX&amp;diff=11494</id>
		<title>Contributions:RHX</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:RHX&amp;diff=11494"/>
		<updated>2024-08-06T21:35:35Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: Created page with &amp;quot;==Synopsis==  The Intan RHS has four SPI ports (with each port labelled A,B,C,D) which sends data to a FPGA. These ports communicate with the chips located on supported headstages. Each port has four output signals responsible for communication with the amplifier chips, two of which (MISO1,MISO2) are used to transmit data. Each chip controls 16 channels, and each chip transmits data over a single MISO line. Over all four ports, this means there are 8 lines over which dat...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
&lt;br /&gt;
The Intan RHS has four SPI ports (with each port labelled A,B,C,D) which sends data to a FPGA. These ports communicate with the chips located on supported headstages. Each port has four output signals responsible for communication with the amplifier chips, two of which (MISO1,MISO2) are used to transmit data. Each chip controls 16 channels, and each chip transmits data over a single MISO line. Over all four ports, this means there are 8 lines over which data can be sent.&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:Intanheadstage.jpg|RHS2116 Amplifier chip on 32 channel headstage&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
Attatched to the FPGA is an Opal Kelly XEM6010 USB/FPGA interface which can be used to read data in the FPGA via USB. This module has 128MByte SDRAM&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=File:Intanheadstage.jpg&amp;diff=11493</id>
		<title>File:Intanheadstage.jpg</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=File:Intanheadstage.jpg&amp;diff=11493"/>
		<updated>2024-08-06T20:32:08Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11342</id>
		<title>Contributions:BrainFlow</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11342"/>
		<updated>2024-05-21T22:06:03Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Brainflowpic.png|300px|thumb|right]]&lt;br /&gt;
==Synopsis==&lt;br /&gt;
This module integrates the data aquistion capabilities from [https://brainflow.readthedocs.io/en/stable/ BrainFlow] into BCI2000, allowing for compatibility with several new boards.&lt;br /&gt;
&lt;br /&gt;
==BrainFlow Installation/Setup==&lt;br /&gt;
Before installation, please install [https://gitforwindows.org/ git bash] and [https://www.python.org/downloads/ python]. Note that VS2022 is not compatible with this module.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Automatic Installation===&lt;br /&gt;
&#039;&#039;&#039;Note that instillation will take around 125MB. Also ensure that you are using VS2019.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Libraries generated from BrainFlow are needed for this module, which requires the user to download and build the project. The download/compilation process can be automated using this script located in SignalSource\BrainFlow:&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:BFLibInstall.JPG|BrainFlow library install script&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
All that needs to be done to use this scripts is: locate them in {BCI2000 Folder}\src\contrib\SignalSource\BrainFlow, and double click on &amp;quot;GenerateLibraries.bat&amp;quot;. This will clone the [https://github.com/brainflow-dev/brainflow BrainFlow repository] into src\extlib. The script will build libraries for both debug and release configurations, so there will be two folders installed. &#039;&#039;&#039;Make sure to press enter when indicated. Do not exit the console until everything has finished installing--just follow the prompts given by the console.&#039;&#039;&#039; After each set of libraries are installed, you will be told to add the directories {BCI2000 Folder}\src\extlib\brainflowDebug\installed\lib and {BCI2000 Folder}\src\extlib\brainflow\installed\lib to your systems PATH&lt;br /&gt;
(please follow [https://www.youtube.com/watch?v=91SGaK7_eeY this] tutorial if you are unsure how to do this).&lt;br /&gt;
&lt;br /&gt;
In CMake, make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===BoardID===&lt;br /&gt;
Identifier for the board in use, compatible with any board able to be used with BrainFlow.&lt;br /&gt;
&lt;br /&gt;
===RecordingChannels===&lt;br /&gt;
Sets which board channels will be used for data acquisition. Some boards will not have all listed channel types, in which case no data will be collected from such types. If channels are found and &#039;&#039;&#039;ChannelNames&#039;&#039;&#039; is set to auto, listed channels will be given their designated names.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The following information might not be needed for specific boards. Search for your board [https://brainflow.readthedocs.io/en/stable/SupportedBoards.html here] to see which parameters are necessary&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
===COM===&lt;br /&gt;
Specifies the port the device is connected to (this must be found by the user--the program will not search ports to find which the device is connected to. Open your systems device manager to determine this) if needed. If not needed, leave as auto.&lt;br /&gt;
&lt;br /&gt;
===MAC===&lt;br /&gt;
Specifies the MAC address of the device if needed. If not needed, leave as auto.&lt;br /&gt;
&lt;br /&gt;
===IPPort===&lt;br /&gt;
Specifies the address of an IP port if needed. If not needed, leave as auto.&lt;br /&gt;
&lt;br /&gt;
===SerialNumber===&lt;br /&gt;
Specifies the serial number of the device if needed. If not needed, leave as auto.&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11341</id>
		<title>Contributions:BrainFlow</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11341"/>
		<updated>2024-05-21T22:05:36Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Brainflowpic.png|400px|thumb|right]]&lt;br /&gt;
==Synopsis==&lt;br /&gt;
This module integrates the data aquistion capabilities from [https://brainflow.readthedocs.io/en/stable/ BrainFlow] into BCI2000, allowing for compatibility with several new boards.&lt;br /&gt;
&lt;br /&gt;
==BrainFlow Installation/Setup==&lt;br /&gt;
Before installation, please install [https://gitforwindows.org/ git bash] and [https://www.python.org/downloads/ python]. Note that VS2022 is not compatible with this module.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Automatic Installation===&lt;br /&gt;
&#039;&#039;&#039;Note that instillation will take around 125MB. Also ensure that you are using VS2019.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Libraries generated from BrainFlow are needed for this module, which requires the user to download and build the project. The download/compilation process can be automated using this script located in SignalSource\BrainFlow:&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:BFLibInstall.JPG|BrainFlow library install script&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
All that needs to be done to use this scripts is: locate them in {BCI2000 Folder}\src\contrib\SignalSource\BrainFlow, and double click on &amp;quot;GenerateLibraries.bat&amp;quot;. This will clone the [https://github.com/brainflow-dev/brainflow BrainFlow repository] into src\extlib. The script will build libraries for both debug and release configurations, so there will be two folders installed. &#039;&#039;&#039;Make sure to press enter when indicated. Do not exit the console until everything has finished installing--just follow the prompts given by the console.&#039;&#039;&#039; After each set of libraries are installed, you will be told to add the directories {BCI2000 Folder}\src\extlib\brainflowDebug\installed\lib and {BCI2000 Folder}\src\extlib\brainflow\installed\lib to your systems PATH&lt;br /&gt;
(please follow [https://www.youtube.com/watch?v=91SGaK7_eeY this] tutorial if you are unsure how to do this).&lt;br /&gt;
&lt;br /&gt;
In CMake, make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===BoardID===&lt;br /&gt;
Identifier for the board in use, compatible with any board able to be used with BrainFlow.&lt;br /&gt;
&lt;br /&gt;
===RecordingChannels===&lt;br /&gt;
Sets which board channels will be used for data acquisition. Some boards will not have all listed channel types, in which case no data will be collected from such types. If channels are found and &#039;&#039;&#039;ChannelNames&#039;&#039;&#039; is set to auto, listed channels will be given their designated names.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The following information might not be needed for specific boards. Search for your board [https://brainflow.readthedocs.io/en/stable/SupportedBoards.html here] to see which parameters are necessary&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
===COM===&lt;br /&gt;
Specifies the port the device is connected to (this must be found by the user--the program will not search ports to find which the device is connected to. Open your systems device manager to determine this) if needed. If not needed, leave as auto.&lt;br /&gt;
&lt;br /&gt;
===MAC===&lt;br /&gt;
Specifies the MAC address of the device if needed. If not needed, leave as auto.&lt;br /&gt;
&lt;br /&gt;
===IPPort===&lt;br /&gt;
Specifies the address of an IP port if needed. If not needed, leave as auto.&lt;br /&gt;
&lt;br /&gt;
===SerialNumber===&lt;br /&gt;
Specifies the serial number of the device if needed. If not needed, leave as auto.&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=File:Brainflowpic.png&amp;diff=11340</id>
		<title>File:Brainflowpic.png</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=File:Brainflowpic.png&amp;diff=11340"/>
		<updated>2024-05-21T22:04:28Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11339</id>
		<title>Contributions:BrainFlow</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11339"/>
		<updated>2024-05-21T22:01:42Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
This module integrates the data aquistion capabilities from [https://brainflow.readthedocs.io/en/stable/ BrainFlow] into BCI2000, allowing for compatibility with several new boards.&lt;br /&gt;
&lt;br /&gt;
==BrainFlow Installation/Setup==&lt;br /&gt;
Before installation, please install [https://gitforwindows.org/ git bash] and [https://www.python.org/downloads/ python]. Note that VS2022 is not compatible with this module.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Automatic Installation===&lt;br /&gt;
&#039;&#039;&#039;Note that instillation will take around 125MB. Also ensure that you are using VS2019.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Libraries generated from BrainFlow are needed for this module, which requires the user to download and build the project. The download/compilation process can be automated using this script located in SignalSource\BrainFlow:&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:BFLibInstall.JPG|BrainFlow library install script&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
All that needs to be done to use this scripts is: locate them in {BCI2000 Folder}\src\contrib\SignalSource\BrainFlow, and double click on &amp;quot;GenerateLibraries.bat&amp;quot;. This will clone the [https://github.com/brainflow-dev/brainflow BrainFlow repository] into src\extlib. The script will build libraries for both debug and release configurations, so there will be two folders installed. &#039;&#039;&#039;Make sure to press enter when indicated. Do not exit the console until everything has finished installing--just follow the prompts given by the console.&#039;&#039;&#039; After each set of libraries are installed, you will be told to add the directories {BCI2000 Folder}\src\extlib\brainflowDebug\installed\lib and {BCI2000 Folder}\src\extlib\brainflow\installed\lib to your systems PATH&lt;br /&gt;
(please follow [https://www.youtube.com/watch?v=91SGaK7_eeY this] tutorial if you are unsure how to do this).&lt;br /&gt;
&lt;br /&gt;
In CMake, make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===BoardID===&lt;br /&gt;
Identifier for the board in use, compatible with any board able to be used with BrainFlow.&lt;br /&gt;
&lt;br /&gt;
===RecordingChannels===&lt;br /&gt;
Sets which board channels will be used for data acquisition. Some boards will not have all listed channel types, in which case no data will be collected from such types. If channels are found and &#039;&#039;&#039;ChannelNames&#039;&#039;&#039; is set to auto, listed channels will be given their designated names.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The following information might not be needed for specific boards. Search for your board [https://brainflow.readthedocs.io/en/stable/SupportedBoards.html here] to see which parameters are necessary&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
===COM===&lt;br /&gt;
Specifies the port the device is connected to (this must be found by the user--the program will not search ports to find which the device is connected to. Open your systems device manager to determine this) if needed. If not needed, leave as auto.&lt;br /&gt;
&lt;br /&gt;
===MAC===&lt;br /&gt;
Specifies the MAC address of the device if needed. If not needed, leave as auto.&lt;br /&gt;
&lt;br /&gt;
===IPPort===&lt;br /&gt;
Specifies the address of an IP port if needed. If not needed, leave as auto.&lt;br /&gt;
&lt;br /&gt;
===SerialNumber===&lt;br /&gt;
Specifies the serial number of the device if needed. If not needed, leave as auto.&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11338</id>
		<title>Contributions:BrainFlow</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11338"/>
		<updated>2024-05-21T22:00:47Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* Automatic Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
This module integrates the data aquistion capabilities from [https://brainflow.readthedocs.io/en/stable/ BrainFlow] into BCI2000, allowing for compatibility with several new boards.&lt;br /&gt;
&lt;br /&gt;
==BrainFlow Installation/Setup==&lt;br /&gt;
Before installation, please install [https://gitforwindows.org/ git bash] and [https://www.python.org/downloads/ python]. Note that VS2022 is not compatible with this module.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Automatic Installation===&lt;br /&gt;
&#039;&#039;&#039;Note that instillation will take around 125MB. Also ensure that you are using VS2019.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Libraries generated from BrainFlow are needed for this module, which requires the user to download and build the project. The download/compilation process can be automated using this script located in SignalSource\BrainFlow:&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:BFLibInstall.JPG|BrainFlow library install script&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
All that needs to be done to use this scripts is: locate them in {BCI2000 Folder}\src\contrib\SignalSource\BrainFlow, and double click on &amp;quot;GenerateLibraries.bat&amp;quot;. This will clone the [https://github.com/brainflow-dev/brainflow BrainFlow repository] into src\extlib. The script will build libraries for both debug and release configurations, so there will be two folders installed. &#039;&#039;&#039;Make sure to press enter when indicated. Do not exit the console until everything has finished installing--just follow the prompts given by the console.&#039;&#039;&#039; After each set of libraries are installed, you will be told to add the directories {BCI2000 Folder}\src\extlib\brainflowDebug\installed\lib and {BCI2000 Folder}\src\extlib\brainflow\installed\lib to your systems PATH&lt;br /&gt;
(please follow [https://www.youtube.com/watch?v=91SGaK7_eeY this] tutorial if you are unsure how to do this).&lt;br /&gt;
&lt;br /&gt;
In CMake, make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===BoardID===&lt;br /&gt;
Identifier for the board in use, compatible with any board able to be used with BrainFlow.&lt;br /&gt;
&lt;br /&gt;
===RecordingChannels===&lt;br /&gt;
Sets which board channels will be used for data acquisition. Some boards will not have all listed channel types, in which case no data will be collected from such types. If channels are found and &#039;&#039;&#039;ChannelNames&#039;&#039;&#039; is set to auto, listed channels will be given their designated names.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The following information might not be needed for specific boards. Search for your board [https://brainflow.readthedocs.io/en/stable/SupportedBoards.html here] to see what parameters are necessary&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
===COM===&lt;br /&gt;
Specifies the port the device is connected to (this must be found by the user--the program will not search ports to find which the device is connected to. Open your systems device manager to determine this) if needed. If not needed, leave as auto.&lt;br /&gt;
&lt;br /&gt;
===MAC===&lt;br /&gt;
Specifies the MAC address of the device if needed. If not needed, leave as auto.&lt;br /&gt;
&lt;br /&gt;
===IPPort===&lt;br /&gt;
Specifies the address of an IP port if needed. If not needed, leave as auto.&lt;br /&gt;
&lt;br /&gt;
===SerialNumber===&lt;br /&gt;
Specifies the serial number of the device if needed. If not needed, leave as auto.&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11320</id>
		<title>Contributions:BrainFlow</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11320"/>
		<updated>2024-05-03T23:12:07Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* BrainFlow Installation/Setup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
This module integrates the data aquistion capabilities from [https://brainflow.readthedocs.io/en/stable/ BrainFlow] into BCI2000, allowing for compatibility with several new boards.&lt;br /&gt;
&lt;br /&gt;
==BrainFlow Installation/Setup==&lt;br /&gt;
Before installation, please install [https://gitforwindows.org/ git bash] and [https://www.python.org/downloads/ python]. Note that VS2022 is not compatible with this module.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Automatic Installation===&lt;br /&gt;
&#039;&#039;&#039;Note that instillation will take around 500MB&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Libraries generated from BrainFlow are needed for this module, which requires the user to download and build the project. The download process (and configuring the solution) can be automated using this scripts located in SignalSource\BrainFlow:&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:BFLibInstall.JPG|BrainFlow library install script&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
All that needs to be done to use this scripts is: locate them in {BCI2000 Folder}\src\contrib\SignalSource\BrainFlow, and double click on &amp;quot;BrainFlowInstall.bat&amp;quot;. This will clone the [https://github.com/brainflow-dev/brainflow BrainFlow repository] into the src\extlib. The script will build libraries for both debug and release configurations, so there will be two folders installed. After the first set of libaries (for debug config) are installed, you will be told to add the directory {BCI2000 Folder}\src\extlib\brainflowDebug\installed\lib to your systems PATH&lt;br /&gt;
(please follow [https://www.youtube.com/watch?v=91SGaK7_eeY this] tutorial if you are unsure how to do this). After pressing enter, the release libraries will begin downloading--at this point you will now be asked to add the directory to the release libraries to your systems path ({BCI2000 Folder}\src\extlib\brainflow\installed\lib), done in the same manner as with the debug libraries.&lt;br /&gt;
&lt;br /&gt;
In CMake, make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===BoardID===&lt;br /&gt;
Identifier for the board in use, compatible with any board able to be used with BrainFlow.&lt;br /&gt;
&lt;br /&gt;
===RecordingChannels===&lt;br /&gt;
Sets which board channels will be used for data acquisition. Some boards will not have all listed channel types, in which case no data will be collected from such types. If channels are found and &#039;&#039;&#039;ChannelNames&#039;&#039;&#039; is set to auto, listed channels will be given their designated names.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The following information might not be needed for specific boards. Search for your board [https://brainflow.readthedocs.io/en/stable/SupportedBoards.html here] to see what parameters are necessary&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
===COM===&lt;br /&gt;
Specifies the port the device is connected to (this must be found by the user--the program will not search ports to find which the device is connected to. Open your systems device manager to determine this) if needed. If not needed, leave as auto.&lt;br /&gt;
&lt;br /&gt;
===MAC===&lt;br /&gt;
Specifies the MAC address of the device if needed. If not needed, leave as auto.&lt;br /&gt;
&lt;br /&gt;
===IPPort===&lt;br /&gt;
Specifies the address of an IP port if needed. If not needed, leave as auto.&lt;br /&gt;
&lt;br /&gt;
===SerialNumber===&lt;br /&gt;
Specifies the serial number of the device if needed. If not needed, leave as auto.&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11223</id>
		<title>Contributions:BrainFlow</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11223"/>
		<updated>2024-03-29T21:51:44Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* BrainFlow Installation/Setup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
This module integrates the data aquistion capabilities from [https://brainflow.readthedocs.io/en/stable/ BrainFlow] into BCI2000, allowing for compatibility with several new boards.&lt;br /&gt;
&lt;br /&gt;
==BrainFlow Installation/Setup==&lt;br /&gt;
Before installation, please install [https://gitforwindows.org/ git bash] and [https://www.python.org/downloads/ python].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Automatic Installation===&lt;br /&gt;
&#039;&#039;&#039;Note that instillation will take around 500MB&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Libraries generated from BrainFlow are needed for this module, which requires the user to download and build the project. The download process (and configuring the solution) can be automated using this scripts located in SignalSource\BrainFlow:&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:BFLibInstall.JPG|BrainFlow library install script&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
All that needs to be done to use this scripts is: locate them in {BCI2000 Folder}\src\contrib\SignalSource\BrainFlow, and double click on &amp;quot;BrainFlowInstall.bat&amp;quot;. This will clone the [https://github.com/brainflow-dev/brainflow BrainFlow repository] into the src\extlib. The script will build libraries for both debug and release configurations, so there will be two folders installed. After the first set of libaries (for debug config) are installed, you will be told to add the directory {BCI2000 Folder}\src\extlib\brainflowDebug\installed\lib to your systems PATH&lt;br /&gt;
(please follow [https://www.youtube.com/watch?v=91SGaK7_eeY this] tutorial if you are unsure how to do this). After pressing enter, the release libraries will begin downloading--at this point you will now be asked to add the directory to the release libraries to your systems path ({BCI2000 Folder}\src\extlib\brainflow\installed\lib), done in the same manner as with the debug libraries.&lt;br /&gt;
&lt;br /&gt;
In CMake, make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===BoardID===&lt;br /&gt;
Identifier for the board in use, compatible with any board able to be used with BrainFlow.&lt;br /&gt;
&lt;br /&gt;
===RecordingChannels===&lt;br /&gt;
Sets which board channels will be used for data acquisition. Some boards will not have all listed channel types, in which case no data will be collected from such types. If channels are found and &#039;&#039;&#039;ChannelNames&#039;&#039;&#039; is set to auto, listed channels will be given their designated names.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The following information might not be needed for specific boards. Search for your board [https://brainflow.readthedocs.io/en/stable/SupportedBoards.html here] to see what parameters are necessary&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
===COM===&lt;br /&gt;
Specifies the port the device is connected to (this must be found by the user--the program will not search ports to find which the device is connected to. Open your systems device manager to determine this) if needed. If not needed, leave as auto.&lt;br /&gt;
&lt;br /&gt;
===MAC===&lt;br /&gt;
Specifies the MAC address of the device if needed. If not needed, leave as auto.&lt;br /&gt;
&lt;br /&gt;
===IPPort===&lt;br /&gt;
Specifies the address of an IP port if needed. If not needed, leave as auto.&lt;br /&gt;
&lt;br /&gt;
===SerialNumber===&lt;br /&gt;
Specifies the serial number of the device if needed. If not needed, leave as auto.&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11222</id>
		<title>Contributions:BrainFlow</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11222"/>
		<updated>2024-03-29T21:50:51Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
This module integrates the data aquistion capabilities from [https://brainflow.readthedocs.io/en/stable/ BrainFlow] into BCI2000, allowing for compatibility with several new boards.&lt;br /&gt;
&lt;br /&gt;
==BrainFlow Installation/Setup==&lt;br /&gt;
Before installation, please install [https://gitforwindows.org/ git bash] and [https://www.python.org/downloads/ python].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Automatic Installation===&lt;br /&gt;
&#039;&#039;&#039;Note that instillation will take around 500MB&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Libraries generated from BrainFlow are needed for this module, which requires the user to download and build the project. The download process (and configuring the solution) can be automated using this scripts located in SignalSource\BrainFlow:&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:BFLibInstall.JPG|BrainFlow library install script&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
All that needs to be done to use this scripts is: locate them in {BCI2000 Folder}\src\contrib\SignalSource\BrainFlow, and double click on &amp;quot;BrainFlowInstall.bat&amp;quot;. This will clone the [https://github.com/brainflow-dev/brainflow BrainFlow repository] into the src\extlib. The script will build libraries for both debug and release configurations, so there will be two folders installed. After the first set of libaries (for debug config) are installed, you will be told to add the directory {BCI2000 Folder}\src\extlib\brainflowDebug\installed\lib to your systems PATH&lt;br /&gt;
(please follow [https://www.youtube.com/watch?v=91SGaK7_eeY this] tutorial if you are unsure how to do this). After pressing enter, the release libraries will begin downloading--at this point you will now be asked to add the directory to the release libraries to your systems path ({BCI2000 Folder}\src\extlib\brainflow\installed\lib), done in the same manner as with the debug libraries.&lt;br /&gt;
&lt;br /&gt;
Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===BoardID===&lt;br /&gt;
Identifier for the board in use, compatible with any board able to be used with BrainFlow.&lt;br /&gt;
&lt;br /&gt;
===RecordingChannels===&lt;br /&gt;
Sets which board channels will be used for data acquisition. Some boards will not have all listed channel types, in which case no data will be collected from such types. If channels are found and &#039;&#039;&#039;ChannelNames&#039;&#039;&#039; is set to auto, listed channels will be given their designated names.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The following information might not be needed for specific boards. Search for your board [https://brainflow.readthedocs.io/en/stable/SupportedBoards.html here] to see what parameters are necessary&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
===COM===&lt;br /&gt;
Specifies the port the device is connected to (this must be found by the user--the program will not search ports to find which the device is connected to. Open your systems device manager to determine this) if needed. If not needed, leave as auto.&lt;br /&gt;
&lt;br /&gt;
===MAC===&lt;br /&gt;
Specifies the MAC address of the device if needed. If not needed, leave as auto.&lt;br /&gt;
&lt;br /&gt;
===IPPort===&lt;br /&gt;
Specifies the address of an IP port if needed. If not needed, leave as auto.&lt;br /&gt;
&lt;br /&gt;
===SerialNumber===&lt;br /&gt;
Specifies the serial number of the device if needed. If not needed, leave as auto.&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11221</id>
		<title>Contributions:BrainFlow</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11221"/>
		<updated>2024-03-29T21:50:17Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
This module integrates the data aquistion capabilities from [https://brainflow.readthedocs.io/en/stable/ BrainFlow] into BCI2000, allowing for compatibility with several new boards.&lt;br /&gt;
&lt;br /&gt;
==BrainFlow Installation/Setup==&lt;br /&gt;
Before installation, please install [https://gitforwindows.org/ git bash] and [https://www.python.org/downloads/ python].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Automatic Installation===&lt;br /&gt;
&#039;&#039;&#039;Note that instillation will take around 500MB&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Libraries generated from BrainFlow are needed for this module, which requires the user to download and build the project. The download process (and configuring the solution) can be automated using this scripts located in SignalSource\BrainFlow:&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:BFLibInstall.JPG|BrainFlow library install script&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
All that needs to be done to use this scripts is: locate them in {BCI2000 Folder}\src\contrib\SignalSource\BrainFlow, and double click on &amp;quot;BrainFlowInstall.bat&amp;quot;. This will clone the [https://github.com/brainflow-dev/brainflow BrainFlow repository] into the src\extlib. The script will build libraries for both debug and release configurations, so there will be two folders installed. After the first set of libaries (for debug config) are installed, you will be told to add the directory {BCI2000 Folder}\src\extlib\brainflowDebug\installed\lib to your systems PATH&lt;br /&gt;
(please follow [https://www.youtube.com/watch?v=91SGaK7_eeY this] tutorial if you are unsure how to do this). After pressing enter, the release libraries will begin downloading--at this point you will now be asked to add the directory to the release libraries to your systems path ({BCI2000 Folder}\src\extlib\brainflow\installed\lib), done in the same manner as with the debug libraries.&lt;br /&gt;
&lt;br /&gt;
Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===BoardID===&lt;br /&gt;
Identifier for the board in use, compatible with any board able to be used with BrainFlow.&lt;br /&gt;
&lt;br /&gt;
===RecordingChannels===&lt;br /&gt;
Sets which board channels will be used for data acquisition. Some boards will not have all listed channel types, in which case no data will be collected from such types. If channels are found and &#039;&#039;&#039;ChannelNames&#039;&#039;&#039; is set to auto, listed channels will be given their designated names.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The following information might not be needed for specific boards. Search for your board [https://brainflow.readthedocs.io/en/stable/SupportedBoards.html here] to see what parameters are necessary&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
===COM===&lt;br /&gt;
Specifies the port the device is connected to (this must be found by the user--the program will not search ports to find which the device is connected to. Open your systems device manager to determine this) if needed. If not needed, leave as auto.&lt;br /&gt;
&lt;br /&gt;
===MAC===&lt;br /&gt;
Specifies the MAC address of the device if needed. If not needed, leave as auto.&lt;br /&gt;
&lt;br /&gt;
==IPPort===&lt;br /&gt;
Specifies the address of an IP port if needed. If not needed, leave as auto.&lt;br /&gt;
&lt;br /&gt;
==SerialNumber==&lt;br /&gt;
Specifies the serial number of the device if needed. If not needed, leave as auto.&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11220</id>
		<title>Contributions:BrainFlow</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11220"/>
		<updated>2024-03-29T20:51:44Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* Automatic Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
This module integrates the data aquistion capabilities from [https://brainflow.readthedocs.io/en/stable/ BrainFlow] into BCI2000, allowing for compatibility with several new boards.&lt;br /&gt;
&lt;br /&gt;
==BrainFlow Installation/Setup==&lt;br /&gt;
Before installation, please install [https://gitforwindows.org/ git bash] and [https://www.python.org/downloads/ python].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Automatic Installation===&lt;br /&gt;
&#039;&#039;&#039;Note that instillation will take around 500MB&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Libraries generated from BrainFlow are needed for this module, which requires the user to download and build the project. The download process (and configuring the solution) can be automated using this scripts located in SignalSource\BrainFlow:&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:BFLibInstall.JPG|BrainFlow library install script&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
All that needs to be done to use this scripts is: locate them in {BCI2000 Folder}\src\contrib\SignalSource\BrainFlow, and double click on &amp;quot;BrainFlowInstall.bat&amp;quot;. This will clone the [https://github.com/brainflow-dev/brainflow BrainFlow repository] into the src\extlib. The script will build libraries for both debug and release configurations, so there will be two folders installed. After the first set of libaries (for debug config) are installed, you will be told to add the directory {BCI2000 Folder}\src\extlib\brainflowDebug\installed\lib to your systems PATH&lt;br /&gt;
(please follow [https://www.youtube.com/watch?v=91SGaK7_eeY this] tutorial if you are unsure how to do this). After pressing enter, the release libraries will begin downloading--at this point you will now be asked to add the directory to the release libraries to your systems path ({BCI2000 Folder}\src\extlib\brainflow\installed\lib), done in the same manner as with the debug libraries.&lt;br /&gt;
&lt;br /&gt;
Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===BoardID===&lt;br /&gt;
Identifier for the boad in use, compatable with any board able to be used with BrainFlow.&lt;br /&gt;
&lt;br /&gt;
===RecordingChannels===&lt;br /&gt;
Sets which board channels will be used for data aquisition. Some boards will not have all listed channel types, in which case no data will be collected from such types.&lt;br /&gt;
&lt;br /&gt;
===COM===&lt;br /&gt;
Specifies the port the device is connected to (this must be found by the user--the program will not search ports to find which the device is connected to. Open your systems device manager to determine this.)&lt;br /&gt;
&lt;br /&gt;
===MAC===&lt;br /&gt;
Specifies the MAC address of the device&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11219</id>
		<title>Contributions:BrainFlow</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11219"/>
		<updated>2024-03-29T20:32:14Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* Automatic Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
This module integrates the data aquistion capabilities from [https://brainflow.readthedocs.io/en/stable/ BrainFlow] into BCI2000, allowing for compatibility with several new boards.&lt;br /&gt;
&lt;br /&gt;
==BrainFlow Installation/Setup==&lt;br /&gt;
Before installation, please install [https://gitforwindows.org/ git bash] and [https://www.python.org/downloads/ python].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Automatic Installation===&lt;br /&gt;
&lt;br /&gt;
Libraries generated from BrainFlow are needed for this module, which requires the user to download and build the project. The download process (and configuring the solution) can be automated using this scripts located in SignalSource\BrainFlow:&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:BFLibInstall.JPG|BrainFlow library install script&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
All that needs to be done to use this scripts is: locate them in {BCI2000 Folder}\src\contrib\SignalSource\BrainFlow, and double click on &amp;quot;BrainFlowInstall.bat&amp;quot;. This will clone the [https://github.com/brainflow-dev/brainflow BrainFlow repository] into the src\extlib. The script will build libraries for both debug and release configurations, so there will be two folders installed. After the first set of libaries (for debug config) are installed, you will be told to add the directory {BCI2000 Folder}\src\extlib\brainflowDebug\installed\lib to your systems PATH&lt;br /&gt;
(please follow [https://www.youtube.com/watch?v=91SGaK7_eeY this] tutorial if you are unsure how to do this). After pressing enter, the release libraries will begin downloading--at this point you will now be asked to add the directory to the release libraries to your systems path ({BCI2000 Folder}\src\extlib\brainflow\installed\lib), done in the same manner as with the debug libraries.&lt;br /&gt;
&lt;br /&gt;
Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, and &#039;&#039;&#039;you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;--if this is selected, BCI2000 will fail to build. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===BoardID===&lt;br /&gt;
Identifier for the boad in use, compatable with any board able to be used with BrainFlow.&lt;br /&gt;
&lt;br /&gt;
===RecordingChannels===&lt;br /&gt;
Sets which board channels will be used for data aquisition. Some boards will not have all listed channel types, in which case no data will be collected from such types.&lt;br /&gt;
&lt;br /&gt;
===COM===&lt;br /&gt;
Specifies the port the device is connected to (this must be found by the user--the program will not search ports to find which the device is connected to. Open your systems device manager to determine this.)&lt;br /&gt;
&lt;br /&gt;
===MAC===&lt;br /&gt;
Specifies the MAC address of the device&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11218</id>
		<title>Contributions:BrainFlow</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11218"/>
		<updated>2024-03-29T20:31:24Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* COM */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
This module integrates the data aquistion capabilities from [https://brainflow.readthedocs.io/en/stable/ BrainFlow] into BCI2000, allowing for compatibility with several new boards.&lt;br /&gt;
&lt;br /&gt;
==BrainFlow Installation/Setup==&lt;br /&gt;
Before installation, please install [https://gitforwindows.org/ git bash] and [https://www.python.org/downloads/ python].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Automatic Installation===&lt;br /&gt;
&lt;br /&gt;
Libraries generated from BrainFlow are needed for this module, which requires the user to download and build the project. The download process (and configuring the solution) can be automated using this scripts located in SignalSource\BrainFlow:&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:BFLibInstall.JPG|BrainFlow library install script&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
All that needs to be done to use this scripts is: locate them in {BCI2000 Folder}\src\contrib\SignalSource\BrainFlow, and double click on &amp;quot;BrainFlowInstall.bat&amp;quot;. This will clone the [https://github.com/brainflow-dev/brainflow BrainFlow repository] into the src\extlib. The script will build libraries for both debug and release configurations, so there will be two folders installed. After the first set of libaries (for debug config) are installed, you will be told to add the directory {BCI2000 Folder}\src\extlib\brainflowDebug\installed\lib to your systems PATH&lt;br /&gt;
(please follow [https://www.youtube.com/watch?v=91SGaK7_eeY this] tutorial if you are unsure how to do this). After pressing enter, the release libraries will begin downloading--at this point you will now be asked to add the directory to the release libraries to your systems path ({BCI2000 Folder}\src\extlib\brainflowDebug\installed\lib), done in the same manner as with the debug libraries.&lt;br /&gt;
&lt;br /&gt;
Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, and &#039;&#039;&#039;you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;--if this is selected, BCI2000 will fail to build. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===BoardID===&lt;br /&gt;
Identifier for the boad in use, compatable with any board able to be used with BrainFlow.&lt;br /&gt;
&lt;br /&gt;
===RecordingChannels===&lt;br /&gt;
Sets which board channels will be used for data aquisition. Some boards will not have all listed channel types, in which case no data will be collected from such types.&lt;br /&gt;
&lt;br /&gt;
===COM===&lt;br /&gt;
Specifies the port the device is connected to (this must be found by the user--the program will not search ports to find which the device is connected to. Open your systems device manager to determine this.)&lt;br /&gt;
&lt;br /&gt;
===MAC===&lt;br /&gt;
Specifies the MAC address of the device&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11210</id>
		<title>Contributions:BrainFlow</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11210"/>
		<updated>2024-03-25T20:52:16Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* BrainFlow Installation/Setup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
This module integrates the data aquistion capabilities from [https://brainflow.readthedocs.io/en/stable/ BrainFlow] into BCI2000, allowing for compatibility with several new boards.&lt;br /&gt;
&lt;br /&gt;
==BrainFlow Installation/Setup==&lt;br /&gt;
Before installation, please install [https://gitforwindows.org/ git bash] and [https://www.python.org/downloads/ python].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Automatic Installation===&lt;br /&gt;
&lt;br /&gt;
Libraries generated from BrainFlow are needed for this module, which requires the user to download and build the project. The download process (and configuring the solution) can be automated using this scripts located in SignalSource\BrainFlow:&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:BFLibInstall.JPG|BrainFlow library install script&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
All that needs to be done to use this scripts is: locate them in {BCI2000 Folder}\src\contrib\SignalSource\BrainFlow, and double click on &amp;quot;BrainFlowInstall.bat&amp;quot;. This will clone the [https://github.com/brainflow-dev/brainflow BrainFlow repository] into the src\extlib. The script will build libraries for both debug and release configurations, so there will be two folders installed. After the first set of libaries (for debug config) are installed, you will be told to add the directory {BCI2000 Folder}\src\extlib\brainflowDebug\installed\lib to your systems PATH&lt;br /&gt;
(please follow [https://www.youtube.com/watch?v=91SGaK7_eeY this] tutorial if you are unsure how to do this). After pressing enter, the release libraries will begin downloading--at this point you will now be asked to add the directory to the release libraries to your systems path ({BCI2000 Folder}\src\extlib\brainflowDebug\installed\lib), done in the same manner as with the debug libraries.&lt;br /&gt;
&lt;br /&gt;
Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, and &#039;&#039;&#039;you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;--if this is selected, BCI2000 will fail to build. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===BoardID===&lt;br /&gt;
Identifier for the boad in use, compatable with any board able to be used with BrainFlow.&lt;br /&gt;
&lt;br /&gt;
===RecordingChannels===&lt;br /&gt;
Sets which board channels will be used for data aquisition. Some boards will not have all listed channel types, in which case no data will be collected from such types.&lt;br /&gt;
&lt;br /&gt;
===COM===&lt;br /&gt;
Specifies the port the device is connected to&lt;br /&gt;
&lt;br /&gt;
===MAC===&lt;br /&gt;
Specifies the MAC address of the device&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=File:BFLibInstall.JPG&amp;diff=11209</id>
		<title>File:BFLibInstall.JPG</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=File:BFLibInstall.JPG&amp;diff=11209"/>
		<updated>2024-03-25T20:44:04Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11048</id>
		<title>Contributions:BrainFlow</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11048"/>
		<updated>2024-02-01T22:38:33Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* BrainFlow Installation/Setup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
This module integrates the data aquistion capabilities from [https://brainflow.readthedocs.io/en/stable/ BrainFlow] into BCI2000, allowing for compatibility with several new boards.&lt;br /&gt;
&lt;br /&gt;
==BrainFlow Installation/Setup==&lt;br /&gt;
Before installation, please install [https://gitforwindows.org/ git bash] and [https://www.python.org/downloads/ python].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Please note that after generating the libraries for debug or release, you may ONLY build in that configuration! To switch to the other configuration you must rebuild the libraries, which can quickly be done through the BrainFlowBuild.py script in the SignalSource\BrainFlow folder&#039;&#039;&#039;&lt;br /&gt;
===Automatic Installation===&lt;br /&gt;
&lt;br /&gt;
Libraries generated from BrainFlow are needed for this module, which requires the user to download and build the project. The download process (and configuring the solution) can be automated using these scripts located in SignalSource\BrainFlow:&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:BFModules.JPG|BrainFlow installation/configuration automation scripts&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
All that needs to be done to use this scripts is: locate them in {BCI2000 Folder}\src\contrib\SignalSource\BrainFlow, and double click on &amp;quot;BrainFlowInstall.bat&amp;quot;. This will clone the [https://github.com/brainflow-dev/brainflow BrainFlow repository] into the correct location (which will be one folder outside of BCI2000--if your BCI2000 copy has directory User\BCI2000, then this script will create User\brainflow). The BrainFlowBuild.py script will generate compiled libraries for either debug or release, depending on what you enter upon being prompted (0=debug, 1=release). &lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;Compiled/{Release and/or Debug}&amp;quot;). This can be done by searching for &amp;quot;Path&amp;quot; in the windows search bar (which will give you the option &amp;quot;Edit the system environment variables&amp;quot;), which upon opening will open up a window labelled &amp;quot;System Properties&amp;quot;. Open the &amp;quot;Environment Variables&amp;quot; tab and under the &amp;quot;System Variables&amp;quot; window click on &amp;quot;Path&amp;quot;, and press edit. At the bottom of the list, enter the folder ...\brainflow\compiled.&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of ...\brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out (you may leave the &amp;quot;Description&amp;quot; field blank), press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, and &#039;&#039;&#039;you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;--if this is selected, BCI2000 will fail to build. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module.&lt;br /&gt;
&lt;br /&gt;
===Manual Installation===&lt;br /&gt;
&lt;br /&gt;
First, in the same folder containing your working copy of BCI2000, create a folder named &#039;brainflow&#039;. For example, if the location of your copy of BCI2000 is C:\Users\Bob\Desktop\BCI2000, your folder will be C:\Users\Bob\Desktop\brainflow. In this new folder, open [https://gitforwindows.org/ git bash], and enter &#039;git clone https://github.com/brainflow-dev/brainflow.git&#039;. After installation is complete, navigate to the &#039;tools&#039; folder, and run build.py. This will create the solution needed to generate the libraries for EITHER debug or release.&lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;brainflow\compiled\{Release and/or Debug}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
If you wish to use debug mode, open build.py and search for &#039;config&#039; until you find a section that looks like this:&lt;br /&gt;
&lt;br /&gt;
    def build(args):&lt;br /&gt;
        if platform.system() == &#039;Windows&#039;:&lt;br /&gt;
            config = &#039;Release&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;config&#039; determines how the solution is built, so adjust this according to which version you plan to use (&amp;quot;Release&amp;quot; or &amp;quot;Debug&amp;quot;), then run it.&lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;Compiled/{Release and/or Debug}&amp;quot;). This can be done by searching for &amp;quot;Path&amp;quot; in the windows search bar, which will show &amp;quot;Edit the system environment variables&amp;quot;, which upon opening will open up a tab labelled system properties. Open the &amp;quot;Environment&amp;quot; tab and click on &amp;quot;Path&amp;quot; under the &amp;quot;System Variables&amp;quot; window, and press edit. At the bottom of the list, enter the folder ...\brainflow\compiled.&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, &#039;&#039;&#039;and you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===BoardID===&lt;br /&gt;
Identifier for the boad in use, compatable with any board able to be used with BrainFlow.&lt;br /&gt;
&lt;br /&gt;
===RecordingChannels===&lt;br /&gt;
Sets which board channels will be used for data aquisition. Some boards will not have all listed channel types, in which case no data will be collected from such types.&lt;br /&gt;
&lt;br /&gt;
===COM===&lt;br /&gt;
Specifies the port the device is connected to&lt;br /&gt;
&lt;br /&gt;
===MAC===&lt;br /&gt;
Specifies the MAC address of the device&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11021</id>
		<title>Contributions:BrainFlow</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11021"/>
		<updated>2024-01-17T21:43:43Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* Manual Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
This module integrates the data aquistion capabilities from [https://brainflow.readthedocs.io/en/stable/ BrainFlow] into BCI2000, allowing for compatibility with several new boards.&lt;br /&gt;
&lt;br /&gt;
==BrainFlow Installation/Setup==&lt;br /&gt;
Before installation, please install [https://gitforwindows.org/ git bash] and [https://www.python.org/downloads/ python].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Please note that after generating the libraries for debug or release, you may ONLY build in that configuration! To switch to the other configuration you must rebuild the libraries, which can quickly be done through the BrainFlowBuild.py script in the SignalSource\BrainFlow folder&#039;&#039;&#039;&lt;br /&gt;
===Automatic Installation===&lt;br /&gt;
&lt;br /&gt;
Libraries generated from BrainFlow are needed for this module, which requires the user to download and build the project. The download process (and configuring the solution) can be automated using these scripts located in SignalSource\BrainFlow:&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:BFModules.JPG|BrainFlow installation/configuration automation scripts&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
All that needs to be done to use this scripts is: locate them in {BCI2000 Folder}\src\contrib\SignalSource\BrainFlow, and double click on &amp;quot;BrainFlowInstall.bat&amp;quot;. This will clone the [https://github.com/brainflow-dev/brainflow BrainFlow repository] into the correct location (which will be one folder outside of BCI2000--if your BCI2000 copy has directory User\BCI2000, then this script will create User\brainflow). The BrainFlowBuild.py script will generate compiled libraries for either debug or release, depending on what you enter upon being prompted (0=debug, 1=release). &lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;Compiled/{Release and/or Debug}&amp;quot;). This can be done by searching for &amp;quot;Path&amp;quot; in the windows search bar, which will show &amp;quot;Edit the system environment variables&amp;quot;, which upon opening will open up a tab labelled system properties. Open the &amp;quot;Environment&amp;quot; tab and click on &amp;quot;Path&amp;quot; under the &amp;quot;System Variables&amp;quot; window, and press edit. At the bottom of the list, enter the folder ...\brainflow\compiled.&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of ...\brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, and &#039;&#039;&#039;you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;--if this is selected, BCI2000 will fail to build. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module.&lt;br /&gt;
&lt;br /&gt;
===Manual Installation===&lt;br /&gt;
&lt;br /&gt;
First, in the same folder containing your working copy of BCI2000, create a folder named &#039;brainflow&#039;. For example, if the location of your copy of BCI2000 is C:\Users\Bob\Desktop\BCI2000, your folder will be C:\Users\Bob\Desktop\brainflow. In this new folder, open [https://gitforwindows.org/ git bash], and enter &#039;git clone https://github.com/brainflow-dev/brainflow.git&#039;. After installation is complete, navigate to the &#039;tools&#039; folder, and run build.py. This will create the solution needed to generate the libraries for EITHER debug or release.&lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;brainflow\compiled\{Release and/or Debug}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
If you wish to use debug mode, open build.py and search for &#039;config&#039; until you find a section that looks like this:&lt;br /&gt;
&lt;br /&gt;
    def build(args):&lt;br /&gt;
        if platform.system() == &#039;Windows&#039;:&lt;br /&gt;
            config = &#039;Release&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;config&#039; determines how the solution is built, so adjust this according to which version you plan to use (&amp;quot;Release&amp;quot; or &amp;quot;Debug&amp;quot;), then run it.&lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;Compiled/{Release and/or Debug}&amp;quot;). This can be done by searching for &amp;quot;Path&amp;quot; in the windows search bar, which will show &amp;quot;Edit the system environment variables&amp;quot;, which upon opening will open up a tab labelled system properties. Open the &amp;quot;Environment&amp;quot; tab and click on &amp;quot;Path&amp;quot; under the &amp;quot;System Variables&amp;quot; window, and press edit. At the bottom of the list, enter the folder ...\brainflow\compiled.&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, &#039;&#039;&#039;and you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===BoardID===&lt;br /&gt;
Identifier for the boad in use, compatable with any board able to be used with BrainFlow.&lt;br /&gt;
&lt;br /&gt;
===RecordingChannels===&lt;br /&gt;
Sets which board channels will be used for data aquisition. Some boards will not have all listed channel types, in which case no data will be collected from such types.&lt;br /&gt;
&lt;br /&gt;
===COM===&lt;br /&gt;
Specifies the port the device is connected to&lt;br /&gt;
&lt;br /&gt;
===MAC===&lt;br /&gt;
Specifies the MAC address of the device&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11020</id>
		<title>Contributions:BrainFlow</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11020"/>
		<updated>2024-01-17T21:43:23Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* Manual Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
This module integrates the data aquistion capabilities from [https://brainflow.readthedocs.io/en/stable/ BrainFlow] into BCI2000, allowing for compatibility with several new boards.&lt;br /&gt;
&lt;br /&gt;
==BrainFlow Installation/Setup==&lt;br /&gt;
Before installation, please install [https://gitforwindows.org/ git bash] and [https://www.python.org/downloads/ python].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Please note that after generating the libraries for debug or release, you may ONLY build in that configuration! To switch to the other configuration you must rebuild the libraries, which can quickly be done through the BrainFlowBuild.py script in the SignalSource\BrainFlow folder&#039;&#039;&#039;&lt;br /&gt;
===Automatic Installation===&lt;br /&gt;
&lt;br /&gt;
Libraries generated from BrainFlow are needed for this module, which requires the user to download and build the project. The download process (and configuring the solution) can be automated using these scripts located in SignalSource\BrainFlow:&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:BFModules.JPG|BrainFlow installation/configuration automation scripts&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
All that needs to be done to use this scripts is: locate them in {BCI2000 Folder}\src\contrib\SignalSource\BrainFlow, and double click on &amp;quot;BrainFlowInstall.bat&amp;quot;. This will clone the [https://github.com/brainflow-dev/brainflow BrainFlow repository] into the correct location (which will be one folder outside of BCI2000--if your BCI2000 copy has directory User\BCI2000, then this script will create User\brainflow). The BrainFlowBuild.py script will generate compiled libraries for either debug or release, depending on what you enter upon being prompted (0=debug, 1=release). &lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;Compiled/{Release and/or Debug}&amp;quot;). This can be done by searching for &amp;quot;Path&amp;quot; in the windows search bar, which will show &amp;quot;Edit the system environment variables&amp;quot;, which upon opening will open up a tab labelled system properties. Open the &amp;quot;Environment&amp;quot; tab and click on &amp;quot;Path&amp;quot; under the &amp;quot;System Variables&amp;quot; window, and press edit. At the bottom of the list, enter the folder ...\brainflow\compiled.&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of ...\brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, and &#039;&#039;&#039;you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;--if this is selected, BCI2000 will fail to build. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module.&lt;br /&gt;
&lt;br /&gt;
===Manual Installation===&lt;br /&gt;
&lt;br /&gt;
First, in the same folder containing your working copy of BCI2000, create a folder named &#039;brainflow&#039;. For example, if the location of your copy of BCI2000 is C:\Users\Bob\Desktop\BCI2000, your folder will be C:\Users\Bob\Desktop\brainflow. In this new folder, open [https://gitforwindows.org/ git bash], and enter &#039;git clone https://github.com/brainflow-dev/brainflow&#039;. After installation is complete, navigate to the &#039;tools&#039; folder, and run build.py. This will create the solution needed to generate the libraries for EITHER debug or release.&lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;brainflow\compiled\{Release and/or Debug}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
If you wish to use debug mode, open build.py and search for &#039;config&#039; until you find a section that looks like this:&lt;br /&gt;
&lt;br /&gt;
    def build(args):&lt;br /&gt;
        if platform.system() == &#039;Windows&#039;:&lt;br /&gt;
            config = &#039;Release&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;config&#039; determines how the solution is built, so adjust this according to which version you plan to use (&amp;quot;Release&amp;quot; or &amp;quot;Debug&amp;quot;), then run it.&lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;Compiled/{Release and/or Debug}&amp;quot;). This can be done by searching for &amp;quot;Path&amp;quot; in the windows search bar, which will show &amp;quot;Edit the system environment variables&amp;quot;, which upon opening will open up a tab labelled system properties. Open the &amp;quot;Environment&amp;quot; tab and click on &amp;quot;Path&amp;quot; under the &amp;quot;System Variables&amp;quot; window, and press edit. At the bottom of the list, enter the folder ...\brainflow\compiled.&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, &#039;&#039;&#039;and you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===BoardID===&lt;br /&gt;
Identifier for the boad in use, compatable with any board able to be used with BrainFlow.&lt;br /&gt;
&lt;br /&gt;
===RecordingChannels===&lt;br /&gt;
Sets which board channels will be used for data aquisition. Some boards will not have all listed channel types, in which case no data will be collected from such types.&lt;br /&gt;
&lt;br /&gt;
===COM===&lt;br /&gt;
Specifies the port the device is connected to&lt;br /&gt;
&lt;br /&gt;
===MAC===&lt;br /&gt;
Specifies the MAC address of the device&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11019</id>
		<title>Contributions:BrainFlow</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11019"/>
		<updated>2024-01-17T21:37:54Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
This module integrates the data aquistion capabilities from [https://brainflow.readthedocs.io/en/stable/ BrainFlow] into BCI2000, allowing for compatibility with several new boards.&lt;br /&gt;
&lt;br /&gt;
==BrainFlow Installation/Setup==&lt;br /&gt;
Before installation, please install [https://gitforwindows.org/ git bash] and [https://www.python.org/downloads/ python].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Please note that after generating the libraries for debug or release, you may ONLY build in that configuration! To switch to the other configuration you must rebuild the libraries, which can quickly be done through the BrainFlowBuild.py script in the SignalSource\BrainFlow folder&#039;&#039;&#039;&lt;br /&gt;
===Automatic Installation===&lt;br /&gt;
&lt;br /&gt;
Libraries generated from BrainFlow are needed for this module, which requires the user to download and build the project. The download process (and configuring the solution) can be automated using these scripts located in SignalSource\BrainFlow:&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:BFModules.JPG|BrainFlow installation/configuration automation scripts&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
All that needs to be done to use this scripts is: locate them in {BCI2000 Folder}\src\contrib\SignalSource\BrainFlow, and double click on &amp;quot;BrainFlowInstall.bat&amp;quot;. This will clone the [https://github.com/brainflow-dev/brainflow BrainFlow repository] into the correct location (which will be one folder outside of BCI2000--if your BCI2000 copy has directory User\BCI2000, then this script will create User\brainflow). The BrainFlowBuild.py script will generate compiled libraries for either debug or release, depending on what you enter upon being prompted (0=debug, 1=release). &lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;Compiled/{Release and/or Debug}&amp;quot;). This can be done by searching for &amp;quot;Path&amp;quot; in the windows search bar, which will show &amp;quot;Edit the system environment variables&amp;quot;, which upon opening will open up a tab labelled system properties. Open the &amp;quot;Environment&amp;quot; tab and click on &amp;quot;Path&amp;quot; under the &amp;quot;System Variables&amp;quot; window, and press edit. At the bottom of the list, enter the folder ...\brainflow\compiled.&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of ...\brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, and &#039;&#039;&#039;you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;--if this is selected, BCI2000 will fail to build. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module.&lt;br /&gt;
&lt;br /&gt;
===Manual Installation===&lt;br /&gt;
&lt;br /&gt;
First, in the same folder containing your working copy of BCI2000, create a folder named &#039;brainflow&#039;. For example, if the location of your copy of BCI2000 is C:\Users\Bob\Desktop\BCI2000, your folder will be C:\Users\Bob\Desktop\brainflow. In this new folder, open [https://gitforwindows.org/ git bash], and enter &#039;git clone https://github.com/OpenBCI/brainflow.git&#039; ([https://github.com/OpenBCI/brainflow/tree/master BrainFlow]). After installation is complete, navigate to the &#039;tools&#039; folder, and run build.py. This will create the solution needed to generate the libraries for EITHER debug or release.&lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;brainflow\compiled\{Release and/or Debug}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
If you wish to use debug mode, open build.py and search for &#039;config&#039; until you find a section that looks like this:&lt;br /&gt;
&lt;br /&gt;
    def build(args):&lt;br /&gt;
        if platform.system() == &#039;Windows&#039;:&lt;br /&gt;
            config = &#039;Release&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;config&#039; determines how the solution is built, so adjust this according to which version you plan to use (&amp;quot;Release&amp;quot; or &amp;quot;Debug&amp;quot;), then run it.&lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;Compiled/{Release and/or Debug}&amp;quot;). This can be done by searching for &amp;quot;Path&amp;quot; in the windows search bar, which will show &amp;quot;Edit the system environment variables&amp;quot;, which upon opening will open up a tab labelled system properties. Open the &amp;quot;Environment&amp;quot; tab and click on &amp;quot;Path&amp;quot; under the &amp;quot;System Variables&amp;quot; window, and press edit. At the bottom of the list, enter the folder ...\brainflow\compiled.&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, &#039;&#039;&#039;and you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===BoardID===&lt;br /&gt;
Identifier for the boad in use, compatable with any board able to be used with BrainFlow.&lt;br /&gt;
&lt;br /&gt;
===RecordingChannels===&lt;br /&gt;
Sets which board channels will be used for data aquisition. Some boards will not have all listed channel types, in which case no data will be collected from such types.&lt;br /&gt;
&lt;br /&gt;
===COM===&lt;br /&gt;
Specifies the port the device is connected to&lt;br /&gt;
&lt;br /&gt;
===MAC===&lt;br /&gt;
Specifies the MAC address of the device&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11018</id>
		<title>Contributions:BrainFlow</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11018"/>
		<updated>2024-01-17T21:37:25Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* Automatic Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
This module integrates the data aquistion capabilities from [https://brainflow.readthedocs.io/en/stable/ BrainFlow] into BCI2000, allowing for compatibility with several new boards.&lt;br /&gt;
&lt;br /&gt;
==BrainFlow Installation/Setup==&lt;br /&gt;
Before installation, please install [https://gitforwindows.org/ git bash] and [https://www.python.org/downloads/ python].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Please note that after generating the libraries for debug or release, you may ONLY build in that configuration! To switch to the other configuration you must rebuild the libraries, which can quickly be done through the BrainFlowBuild.py script in the SignalSource\BrainFlow folder&#039;&#039;&#039;&lt;br /&gt;
===Automatic Installation===&lt;br /&gt;
&lt;br /&gt;
Libraries generated from BrainFlow are needed for this module, which requires the user to download and build the project. The download process (and configuring the solution) can be automated using these scripts located in SignalSource\BrainFlow:&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:BFModules.JPG|BrainFlow installation/configuration automation scripts&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
All that needs to be done to use this scripts is: locate them in {BCI2000 Folder}\src\contrib\SignalSource\BrainFlow, and double click on &amp;quot;BrainFlowInstall.bat&amp;quot;. This will clone the [https://github.com/brainflow-dev/brainflow BrainFlow repository] into the correct location (which will be one folder outside of BCI2000--if your BCI2000 copy has directory User\BCI2000, then this script will create User\brainflow). The BrainFlowBuild.py script will generate compiled libraries for either debug or release, depending on what you enter upon being prompted (0=debug, 1=release). &lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;Compiled/{Release and/or Debug}&amp;quot;). This can be done by searching for &amp;quot;Path&amp;quot; in the windows search bar, which will show &amp;quot;Edit the system environment variables&amp;quot;, which upon opening will open up a tab labelled system properties. Open the &amp;quot;Environment&amp;quot; tab and click on &amp;quot;Path&amp;quot; under the &amp;quot;System Variables&amp;quot; window, and press edit. At the bottom of the list, enter the folder ...\brainflow\compiled.&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of ...\brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, and &#039;&#039;&#039;you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;--if this is selected, BCI2000 will fail to build. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module.&lt;br /&gt;
&lt;br /&gt;
===Manual Installation===&lt;br /&gt;
&lt;br /&gt;
First, in the same folder containing your working copy of BCI2000, create a folder named &#039;brainflow&#039;. For example, if the location of your copy of BCI2000 is C:\Users\Bob\Desktop\BCI2000, your folder will be C:\Users\Bob\Desktop\brainflow. In this new folder, open [https://gitforwindows.org/ git bash], and enter &#039;git clone https://github.com/OpenBCI/brainflow.git&#039; ([https://github.com/OpenBCI/brainflow/tree/master BrainFlow]). After installation is complete, navigate to the &#039;tools&#039; folder, and run build.py. This will create the solution needed to generate the libraries for EITHER debug or release.&lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;brainflow\compiled\{Release and/or Debug}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
If you wish to use debug mode, open build.py and search for &#039;config&#039; until you find a section that looks like this:&lt;br /&gt;
&lt;br /&gt;
    def build(args):&lt;br /&gt;
        if platform.system() == &#039;Windows&#039;:&lt;br /&gt;
            config = &#039;Release&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;config&#039; determines how the solution is built, so adjust this according to which version you plan to use (&amp;quot;Release&amp;quot; or &amp;quot;Debug&amp;quot;), then run it.&lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;Compiled/{Release and/or Debug}&amp;quot;). This can be done by searching for &amp;quot;Path&amp;quot; in the windows search bar, which will show &amp;quot;Edit the system environment variables&amp;quot;, which upon opening will open up a tab labelled system properties. Open the &amp;quot;Environment&amp;quot; tab and click on &amp;quot;Path&amp;quot; under the &amp;quot;System Variables&amp;quot; window, and press edit. At the bottom of the list, enter the folder ...\brainflow\compiled.&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, &#039;&#039;&#039;and you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===BoardID===&lt;br /&gt;
Identifier for the boad in use, compatable with any board able to be used with BrainFlow.&lt;br /&gt;
&lt;br /&gt;
===RecordingChannels===&lt;br /&gt;
Sets which board channels will be used for data aquisition. Some boards will not have all listed channel types, in which case no data will be collected from such types.&lt;br /&gt;
&lt;br /&gt;
===COM===&lt;br /&gt;
Specifies the port the device is connected to&lt;br /&gt;
&lt;br /&gt;
===MAC===&lt;br /&gt;
Specifies the MAC address of the device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/cmake/brainflow&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/Brainflow.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/BoardController.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/DataHandler.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/MLModule.lib&lt;br /&gt;
C:\Users\Robbie\Documents\BCI2000folder\brainflow\installed\lib\cmake\brainflow&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11017</id>
		<title>Contributions:BrainFlow</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11017"/>
		<updated>2024-01-17T21:36:32Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* Automatic Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
This module integrates the data aquistion capabilities from [https://brainflow.readthedocs.io/en/stable/ BrainFlow] into BCI2000, allowing for compatibility with several new boards.&lt;br /&gt;
&lt;br /&gt;
==BrainFlow Installation/Setup==&lt;br /&gt;
Before installation, please install [https://gitforwindows.org/ git bash] and [https://www.python.org/downloads/ python].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Please note that after generating the libraries for debug or release, you may ONLY build in that configuration! To switch to the other configuration you must rebuild the libraries, which can quickly be done through the BrainFlowBuild.py script in the SignalSource\BrainFlow folder&#039;&#039;&#039;&lt;br /&gt;
===Automatic Installation===&lt;br /&gt;
&lt;br /&gt;
Libraries generated from BrainFlow are needed for this module, which requires the user to download and build the project. The download process (and configuring the solution) can be automated using these scripts located in SignalSource\BrainFlow:&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:BFModules.JPG|BrainFlow installation/configuration automation scripts&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
All that needs to be done to use this scripts is: locate them in {BCI2000 Folder}\src\contrib\SignalSource\BrainFlow, and double click on &amp;quot;BrainFlowInstall.bat&amp;quot;. This will clone the [https://github.com/brainflow-dev/brainflow BrainFlow repository] into the correct location (which will be one folder outside of BCI2000--if your BCI2000 copy has directory User\BCI2000, then this script will create User\brainflow) as well as run the BrainFlowBuild.py script, which will generate compiled libraries for either debug or release, depending on what you enter upon being prompted (0=debug, 1=release). &lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;Compiled/{Release and/or Debug}&amp;quot;). This can be done by searching for &amp;quot;Path&amp;quot; in the windows search bar, which will show &amp;quot;Edit the system environment variables&amp;quot;, which upon opening will open up a tab labelled system properties. Open the &amp;quot;Environment&amp;quot; tab and click on &amp;quot;Path&amp;quot; under the &amp;quot;System Variables&amp;quot; window, and press edit. At the bottom of the list, enter the folder ...\brainflow\compiled.&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of ...\brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, and &#039;&#039;&#039;you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;--if this is selected, BCI2000 will fail to build. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module.&lt;br /&gt;
&lt;br /&gt;
===Manual Installation===&lt;br /&gt;
&lt;br /&gt;
First, in the same folder containing your working copy of BCI2000, create a folder named &#039;brainflow&#039;. For example, if the location of your copy of BCI2000 is C:\Users\Bob\Desktop\BCI2000, your folder will be C:\Users\Bob\Desktop\brainflow. In this new folder, open [https://gitforwindows.org/ git bash], and enter &#039;git clone https://github.com/OpenBCI/brainflow.git&#039; ([https://github.com/OpenBCI/brainflow/tree/master BrainFlow]). After installation is complete, navigate to the &#039;tools&#039; folder, and run build.py. This will create the solution needed to generate the libraries for EITHER debug or release.&lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;brainflow\compiled\{Release and/or Debug}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
If you wish to use debug mode, open build.py and search for &#039;config&#039; until you find a section that looks like this:&lt;br /&gt;
&lt;br /&gt;
    def build(args):&lt;br /&gt;
        if platform.system() == &#039;Windows&#039;:&lt;br /&gt;
            config = &#039;Release&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;config&#039; determines how the solution is built, so adjust this according to which version you plan to use (&amp;quot;Release&amp;quot; or &amp;quot;Debug&amp;quot;), then run it.&lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;Compiled/{Release and/or Debug}&amp;quot;). This can be done by searching for &amp;quot;Path&amp;quot; in the windows search bar, which will show &amp;quot;Edit the system environment variables&amp;quot;, which upon opening will open up a tab labelled system properties. Open the &amp;quot;Environment&amp;quot; tab and click on &amp;quot;Path&amp;quot; under the &amp;quot;System Variables&amp;quot; window, and press edit. At the bottom of the list, enter the folder ...\brainflow\compiled.&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, &#039;&#039;&#039;and you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===BoardID===&lt;br /&gt;
Identifier for the boad in use, compatable with any board able to be used with BrainFlow.&lt;br /&gt;
&lt;br /&gt;
===RecordingChannels===&lt;br /&gt;
Sets which board channels will be used for data aquisition. Some boards will not have all listed channel types, in which case no data will be collected from such types.&lt;br /&gt;
&lt;br /&gt;
===COM===&lt;br /&gt;
Specifies the port the device is connected to&lt;br /&gt;
&lt;br /&gt;
===MAC===&lt;br /&gt;
Specifies the MAC address of the device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/cmake/brainflow&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/Brainflow.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/BoardController.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/DataHandler.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/MLModule.lib&lt;br /&gt;
C:\Users\Robbie\Documents\BCI2000folder\brainflow\installed\lib\cmake\brainflow&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11016</id>
		<title>Contributions:BrainFlow</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11016"/>
		<updated>2024-01-17T21:36:12Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* BrainFlow Installation/Setup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
This module integrates the data aquistion capabilities from [https://brainflow.readthedocs.io/en/stable/ BrainFlow] into BCI2000, allowing for compatibility with several new boards.&lt;br /&gt;
&lt;br /&gt;
==BrainFlow Installation/Setup==&lt;br /&gt;
Before installation, please install [https://gitforwindows.org/ git bash] and [https://www.python.org/downloads/ python].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Please note that after generating the libraries for debug or release, you may ONLY build in that configuration! To switch to the other configuration you must rebuild the libraries, which can quickly be done through the BrainFlowBuild.py script in the SignalSource\BrainFlow folder&#039;&#039;&#039;&lt;br /&gt;
===Automatic Installation===&lt;br /&gt;
&lt;br /&gt;
Libraries generated from BrainFlow are needed for this module, which requires the user to download and build the project. The download process (and configuring the solution) can be automated using these scripts located in SignalSource\BrainFlow:&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:BFModules.JPG|BrainFlow installation/configuration automation scripts&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
All that needs to be done to use this scripts is: locate them in {BCI2000 Folder}\src\contrib\SignalSource\BrainFlow, and double click on &amp;quot;BrainFlowInstall.bat&amp;quot;. This will clone the [https://github.com/brainflow-dev/brainflow BrainFlow repository]*** into the correct location (which will be one folder outside of BCI2000--if your BCI2000 copy has directory User\BCI2000, then this script will create User\brainflow) as well as run the BrainFlowBuild.py script, which will generate compiled libraries for either debug or release, depending on what you enter upon being prompted (0=debug, 1=release). &lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;Compiled/{Release and/or Debug}&amp;quot;). This can be done by searching for &amp;quot;Path&amp;quot; in the windows search bar, which will show &amp;quot;Edit the system environment variables&amp;quot;, which upon opening will open up a tab labelled system properties. Open the &amp;quot;Environment&amp;quot; tab and click on &amp;quot;Path&amp;quot; under the &amp;quot;System Variables&amp;quot; window, and press edit. At the bottom of the list, enter the folder ...\brainflow\compiled.&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of ...\brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, and &#039;&#039;&#039;you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;--if this is selected, BCI2000 will fail to build. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module.&lt;br /&gt;
&lt;br /&gt;
===Manual Installation===&lt;br /&gt;
&lt;br /&gt;
First, in the same folder containing your working copy of BCI2000, create a folder named &#039;brainflow&#039;. For example, if the location of your copy of BCI2000 is C:\Users\Bob\Desktop\BCI2000, your folder will be C:\Users\Bob\Desktop\brainflow. In this new folder, open [https://gitforwindows.org/ git bash], and enter &#039;git clone https://github.com/OpenBCI/brainflow.git&#039; ([https://github.com/OpenBCI/brainflow/tree/master BrainFlow]). After installation is complete, navigate to the &#039;tools&#039; folder, and run build.py. This will create the solution needed to generate the libraries for EITHER debug or release.&lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;brainflow\compiled\{Release and/or Debug}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
If you wish to use debug mode, open build.py and search for &#039;config&#039; until you find a section that looks like this:&lt;br /&gt;
&lt;br /&gt;
    def build(args):&lt;br /&gt;
        if platform.system() == &#039;Windows&#039;:&lt;br /&gt;
            config = &#039;Release&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;config&#039; determines how the solution is built, so adjust this according to which version you plan to use (&amp;quot;Release&amp;quot; or &amp;quot;Debug&amp;quot;), then run it.&lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;Compiled/{Release and/or Debug}&amp;quot;). This can be done by searching for &amp;quot;Path&amp;quot; in the windows search bar, which will show &amp;quot;Edit the system environment variables&amp;quot;, which upon opening will open up a tab labelled system properties. Open the &amp;quot;Environment&amp;quot; tab and click on &amp;quot;Path&amp;quot; under the &amp;quot;System Variables&amp;quot; window, and press edit. At the bottom of the list, enter the folder ...\brainflow\compiled.&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, &#039;&#039;&#039;and you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===BoardID===&lt;br /&gt;
Identifier for the boad in use, compatable with any board able to be used with BrainFlow.&lt;br /&gt;
&lt;br /&gt;
===RecordingChannels===&lt;br /&gt;
Sets which board channels will be used for data aquisition. Some boards will not have all listed channel types, in which case no data will be collected from such types.&lt;br /&gt;
&lt;br /&gt;
===COM===&lt;br /&gt;
Specifies the port the device is connected to&lt;br /&gt;
&lt;br /&gt;
===MAC===&lt;br /&gt;
Specifies the MAC address of the device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/cmake/brainflow&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/Brainflow.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/BoardController.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/DataHandler.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/MLModule.lib&lt;br /&gt;
C:\Users\Robbie\Documents\BCI2000folder\brainflow\installed\lib\cmake\brainflow&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11015</id>
		<title>Contributions:BrainFlow</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11015"/>
		<updated>2024-01-17T21:35:21Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* Automatic Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
This module integrates the data aquistion capabilities from [https://brainflow.readthedocs.io/en/stable/ BrainFlow] into BCI2000, allowing for compatibility with several new boards.&lt;br /&gt;
&lt;br /&gt;
==BrainFlow Installation/Setup==&lt;br /&gt;
Before installation, please install [https://gitforwindows.org/ git bash] and [https://www.python.org/downloads/ python].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Please note that after generating the libraries for debug or release, you may ONLY build in that configuration! To switch to the other configuration you must rebuild the libraries, which can quickly be done through the BrainFlowBuild.py script in the SignalSource\BrainFlow folder&#039;&#039;&#039;&lt;br /&gt;
===Automatic Installation===&lt;br /&gt;
&lt;br /&gt;
Libraries generated from BrainFlow are needed for this module, which requires the user to download and build the project. The download process (and configuring the solution) can be automated using these scripts:&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:BFModules.JPG|BrainFlow installation/configuration automation scripts&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
All that needs to be done to use this scripts is: locate them in {BCI2000 Folder}\src\contrib\SignalSource\BrainFlow, and double click on &amp;quot;BrainFlowInstall.bat&amp;quot;. This will clone the [https://github.com/brainflow-dev/brainflow BrainFlow repository]*** into the correct location (which will be one folder outside of BCI2000--if your BCI2000 copy has directory User\BCI2000, then this script will create User\brainflow) as well as run the BrainFlowBuild.py script, which will generate compiled libraries for either debug or release, depending on what you enter upon being prompted (0=debug, 1=release). &lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;Compiled/{Release and/or Debug}&amp;quot;). This can be done by searching for &amp;quot;Path&amp;quot; in the windows search bar, which will show &amp;quot;Edit the system environment variables&amp;quot;, which upon opening will open up a tab labelled system properties. Open the &amp;quot;Environment&amp;quot; tab and click on &amp;quot;Path&amp;quot; under the &amp;quot;System Variables&amp;quot; window, and press edit. At the bottom of the list, enter the folder ...\brainflow\compiled.&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of ...\brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, and &#039;&#039;&#039;you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;--if this is selected, BCI2000 will fail to build. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module.&lt;br /&gt;
&lt;br /&gt;
===Manual Installation===&lt;br /&gt;
&lt;br /&gt;
First, in the same folder containing your working copy of BCI2000, create a folder named &#039;brainflow&#039;. For example, if the location of your copy of BCI2000 is C:\Users\Bob\Desktop\BCI2000, your folder will be C:\Users\Bob\Desktop\brainflow. In this new folder, open [https://gitforwindows.org/ git bash], and enter &#039;git clone https://github.com/OpenBCI/brainflow.git&#039; ([https://github.com/OpenBCI/brainflow/tree/master BrainFlow]). After installation is complete, navigate to the &#039;tools&#039; folder, and run build.py. This will create the solution needed to generate the libraries for EITHER debug or release.&lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;brainflow\compiled\{Release and/or Debug}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
If you wish to use debug mode, open build.py and search for &#039;config&#039; until you find a section that looks like this:&lt;br /&gt;
&lt;br /&gt;
    def build(args):&lt;br /&gt;
        if platform.system() == &#039;Windows&#039;:&lt;br /&gt;
            config = &#039;Release&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;config&#039; determines how the solution is built, so adjust this according to which version you plan to use (&amp;quot;Release&amp;quot; or &amp;quot;Debug&amp;quot;), then run it.&lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;Compiled/{Release and/or Debug}&amp;quot;). This can be done by searching for &amp;quot;Path&amp;quot; in the windows search bar, which will show &amp;quot;Edit the system environment variables&amp;quot;, which upon opening will open up a tab labelled system properties. Open the &amp;quot;Environment&amp;quot; tab and click on &amp;quot;Path&amp;quot; under the &amp;quot;System Variables&amp;quot; window, and press edit. At the bottom of the list, enter the folder ...\brainflow\compiled.&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, &#039;&#039;&#039;and you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===BoardID===&lt;br /&gt;
Identifier for the boad in use, compatable with any board able to be used with BrainFlow.&lt;br /&gt;
&lt;br /&gt;
===RecordingChannels===&lt;br /&gt;
Sets which board channels will be used for data aquisition. Some boards will not have all listed channel types, in which case no data will be collected from such types.&lt;br /&gt;
&lt;br /&gt;
===COM===&lt;br /&gt;
Specifies the port the device is connected to&lt;br /&gt;
&lt;br /&gt;
===MAC===&lt;br /&gt;
Specifies the MAC address of the device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/cmake/brainflow&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/Brainflow.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/BoardController.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/DataHandler.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/MLModule.lib&lt;br /&gt;
C:\Users\Robbie\Documents\BCI2000folder\brainflow\installed\lib\cmake\brainflow&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11014</id>
		<title>Contributions:BrainFlow</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11014"/>
		<updated>2024-01-17T21:35:14Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* Automatic Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
This module integrates the data aquistion capabilities from [https://brainflow.readthedocs.io/en/stable/ BrainFlow] into BCI2000, allowing for compatibility with several new boards.&lt;br /&gt;
&lt;br /&gt;
==BrainFlow Installation/Setup==&lt;br /&gt;
Before installation, please install [https://gitforwindows.org/ git bash] and [https://www.python.org/downloads/ python].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Please note that after generating the libraries for debug or release, you may ONLY build in that configuration! To switch to the other configuration you must rebuild the libraries, which can quickly be done through the BrainFlowBuild.py script in the SignalSource\BrainFlow folder&#039;&#039;&#039;&lt;br /&gt;
===Automatic Installation===&lt;br /&gt;
&lt;br /&gt;
Libraries generated from BrainFlow are needed for this module, which requires the user to download and build the project. The download process (and configuring the solution) can be automated using these scripts:&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:BFModules.JPG|BrainFlow installation/configuration automation scripts&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
All that needs to be done to use this scripts is: locate them in {BCI2000 Folder}\src\contrib\SignalSource\BrainFlow, and double click on &amp;quot;BrainFlowInstall.bat&amp;quot;. This will clone the [https://github.com/brainflow-dev/brainflow BrainFlow repository]*** into the correct location (which will be one folder outside of BCI2000--if your BCI2000 copy has directory User\BCI2000, then this script will create User\brainflow) as well as run the BrainFlowBuild.py script, which will generate compiled libraries for either debug or release, depending on what you enter upon being prompted (0=debug, 1=release). &lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;Compiled/{Release and/or Debug}&amp;quot;). This can be done by searching for &amp;quot;Path&amp;quot; in the windows search bar, which will show &amp;quot;Edit the system environment variables&amp;quot;, which upon opening will open up a tab labelled system properties. Open the &amp;quot;Environment&amp;quot; tab and click on &amp;quot;Path&amp;quot; under the &amp;quot;System Variables&amp;quot; window, and press edit. At the bottom of the list, enter the folder ...\brainflow\compiled.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of ...\brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, and &#039;&#039;&#039;you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;--if this is selected, BCI2000 will fail to build. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module.&lt;br /&gt;
&lt;br /&gt;
===Manual Installation===&lt;br /&gt;
&lt;br /&gt;
First, in the same folder containing your working copy of BCI2000, create a folder named &#039;brainflow&#039;. For example, if the location of your copy of BCI2000 is C:\Users\Bob\Desktop\BCI2000, your folder will be C:\Users\Bob\Desktop\brainflow. In this new folder, open [https://gitforwindows.org/ git bash], and enter &#039;git clone https://github.com/OpenBCI/brainflow.git&#039; ([https://github.com/OpenBCI/brainflow/tree/master BrainFlow]). After installation is complete, navigate to the &#039;tools&#039; folder, and run build.py. This will create the solution needed to generate the libraries for EITHER debug or release.&lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;brainflow\compiled\{Release and/or Debug}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
If you wish to use debug mode, open build.py and search for &#039;config&#039; until you find a section that looks like this:&lt;br /&gt;
&lt;br /&gt;
    def build(args):&lt;br /&gt;
        if platform.system() == &#039;Windows&#039;:&lt;br /&gt;
            config = &#039;Release&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;config&#039; determines how the solution is built, so adjust this according to which version you plan to use (&amp;quot;Release&amp;quot; or &amp;quot;Debug&amp;quot;), then run it.&lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;Compiled/{Release and/or Debug}&amp;quot;). This can be done by searching for &amp;quot;Path&amp;quot; in the windows search bar, which will show &amp;quot;Edit the system environment variables&amp;quot;, which upon opening will open up a tab labelled system properties. Open the &amp;quot;Environment&amp;quot; tab and click on &amp;quot;Path&amp;quot; under the &amp;quot;System Variables&amp;quot; window, and press edit. At the bottom of the list, enter the folder ...\brainflow\compiled.&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, &#039;&#039;&#039;and you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===BoardID===&lt;br /&gt;
Identifier for the boad in use, compatable with any board able to be used with BrainFlow.&lt;br /&gt;
&lt;br /&gt;
===RecordingChannels===&lt;br /&gt;
Sets which board channels will be used for data aquisition. Some boards will not have all listed channel types, in which case no data will be collected from such types.&lt;br /&gt;
&lt;br /&gt;
===COM===&lt;br /&gt;
Specifies the port the device is connected to&lt;br /&gt;
&lt;br /&gt;
===MAC===&lt;br /&gt;
Specifies the MAC address of the device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/cmake/brainflow&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/Brainflow.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/BoardController.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/DataHandler.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/MLModule.lib&lt;br /&gt;
C:\Users\Robbie\Documents\BCI2000folder\brainflow\installed\lib\cmake\brainflow&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11013</id>
		<title>Contributions:BrainFlow</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11013"/>
		<updated>2024-01-17T21:35:00Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* BrainFlow Installation/Setup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
This module integrates the data aquistion capabilities from [https://brainflow.readthedocs.io/en/stable/ BrainFlow] into BCI2000, allowing for compatibility with several new boards.&lt;br /&gt;
&lt;br /&gt;
==BrainFlow Installation/Setup==&lt;br /&gt;
Before installation, please install [https://gitforwindows.org/ git bash] and [https://www.python.org/downloads/ python].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Please note that after generating the libraries for debug or release, you may ONLY build in that configuration! To switch to the other configuration you must rebuild the libraries, which can quickly be done through the BrainFlowBuild.py script in the SignalSource\BrainFlow folder&#039;&#039;&#039;&lt;br /&gt;
===Automatic Installation===&lt;br /&gt;
&lt;br /&gt;
Libraries generated from BrainFlow are needed for this module, which requires the user to download and build the project. The download process (and configuring the solution) can be automated using these scripts:&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:BFModules.JPG|BrainFlow installation/configuration automation scripts&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
All that needs to be done to use this scripts is: locate them in {BCI2000 Folder}\src\contrib\SignalSource\BrainFlow, and double click on &amp;quot;BrainFlowInstall.bat&amp;quot;. This will clone the [https://github.com/brainflow-dev/brainflow BrainFlow repository]*** into the correct location (which will be one folder outside of BCI2000--if your BCI2000 copy has directory User\BCI2000, then this script will create User\brainflow) as well as run the BrainFlowBuild.py script, which will generate compiled libraries for either debug or release, depending on what you enter upon being prompted (0=debug, 1=release). &lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;Compiled/{Release and/or Debug}&amp;quot;). This can be done by searching for &amp;quot;Path&amp;quot; in the windows search bar, which will show &amp;quot;Edit the system environment variables&amp;quot;, which upon opening will open up a tab labelled system properties. Open the &amp;quot;Environment&amp;quot; tab and click on &amp;quot;Path&amp;quot; under the &amp;quot;System Variables&amp;quot; window, and press edit. At the bottom of the list, enter the folder ...\brainflow\compiled.&lt;br /&gt;
&lt;br /&gt;
C:\Users\Robbie\Documents\BCI2000folder\brainflow\installed\lib&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of ...\brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, and &#039;&#039;&#039;you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;--if this is selected, BCI2000 will fail to build. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Manual Installation===&lt;br /&gt;
&lt;br /&gt;
First, in the same folder containing your working copy of BCI2000, create a folder named &#039;brainflow&#039;. For example, if the location of your copy of BCI2000 is C:\Users\Bob\Desktop\BCI2000, your folder will be C:\Users\Bob\Desktop\brainflow. In this new folder, open [https://gitforwindows.org/ git bash], and enter &#039;git clone https://github.com/OpenBCI/brainflow.git&#039; ([https://github.com/OpenBCI/brainflow/tree/master BrainFlow]). After installation is complete, navigate to the &#039;tools&#039; folder, and run build.py. This will create the solution needed to generate the libraries for EITHER debug or release.&lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;brainflow\compiled\{Release and/or Debug}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
If you wish to use debug mode, open build.py and search for &#039;config&#039; until you find a section that looks like this:&lt;br /&gt;
&lt;br /&gt;
    def build(args):&lt;br /&gt;
        if platform.system() == &#039;Windows&#039;:&lt;br /&gt;
            config = &#039;Release&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;config&#039; determines how the solution is built, so adjust this according to which version you plan to use (&amp;quot;Release&amp;quot; or &amp;quot;Debug&amp;quot;), then run it.&lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;Compiled/{Release and/or Debug}&amp;quot;). This can be done by searching for &amp;quot;Path&amp;quot; in the windows search bar, which will show &amp;quot;Edit the system environment variables&amp;quot;, which upon opening will open up a tab labelled system properties. Open the &amp;quot;Environment&amp;quot; tab and click on &amp;quot;Path&amp;quot; under the &amp;quot;System Variables&amp;quot; window, and press edit. At the bottom of the list, enter the folder ...\brainflow\compiled.&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, &#039;&#039;&#039;and you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===BoardID===&lt;br /&gt;
Identifier for the boad in use, compatable with any board able to be used with BrainFlow.&lt;br /&gt;
&lt;br /&gt;
===RecordingChannels===&lt;br /&gt;
Sets which board channels will be used for data aquisition. Some boards will not have all listed channel types, in which case no data will be collected from such types.&lt;br /&gt;
&lt;br /&gt;
===COM===&lt;br /&gt;
Specifies the port the device is connected to&lt;br /&gt;
&lt;br /&gt;
===MAC===&lt;br /&gt;
Specifies the MAC address of the device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/cmake/brainflow&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/Brainflow.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/BoardController.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/DataHandler.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/MLModule.lib&lt;br /&gt;
C:\Users\Robbie\Documents\BCI2000folder\brainflow\installed\lib\cmake\brainflow&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11012</id>
		<title>Contributions:BrainFlow</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11012"/>
		<updated>2024-01-17T21:34:42Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* BrainFlow Installation/Setup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
This module integrates the data aquistion capabilities from [https://brainflow.readthedocs.io/en/stable/ BrainFlow] into BCI2000, allowing for compatibility with several new boards.&lt;br /&gt;
&lt;br /&gt;
==BrainFlow Installation/Setup==&lt;br /&gt;
Before installation, please install [https://gitforwindows.org/ git bash] and [https://www.python.org/downloads/ python].&lt;br /&gt;
&#039;&#039;&#039;Please note that after generating the libraries for debug or release, you may ONLY build in that configuration! To switch to the other configuration you must rebuild the libraries, which can quickly be done through the BrainFlowBuild.py script in the SignalSource\BrainFlow folder&#039;&#039;&#039;&lt;br /&gt;
===Automatic Installation===&lt;br /&gt;
&lt;br /&gt;
Libraries generated from BrainFlow are needed for this module, which requires the user to download and build the project. The download process (and configuring the solution) can be automated using these scripts:&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:BFModules.JPG|BrainFlow installation/configuration automation scripts&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
All that needs to be done to use this scripts is: locate them in {BCI2000 Folder}\src\contrib\SignalSource\BrainFlow, and double click on &amp;quot;BrainFlowInstall.bat&amp;quot;. This will clone the [https://github.com/brainflow-dev/brainflow BrainFlow repository]*** into the correct location (which will be one folder outside of BCI2000--if your BCI2000 copy has directory User\BCI2000, then this script will create User\brainflow) as well as run the BrainFlowBuild.py script, which will generate compiled libraries for either debug or release, depending on what you enter upon being prompted (0=debug, 1=release). &lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;Compiled/{Release and/or Debug}&amp;quot;). This can be done by searching for &amp;quot;Path&amp;quot; in the windows search bar, which will show &amp;quot;Edit the system environment variables&amp;quot;, which upon opening will open up a tab labelled system properties. Open the &amp;quot;Environment&amp;quot; tab and click on &amp;quot;Path&amp;quot; under the &amp;quot;System Variables&amp;quot; window, and press edit. At the bottom of the list, enter the folder ...\brainflow\compiled.&lt;br /&gt;
&lt;br /&gt;
C:\Users\Robbie\Documents\BCI2000folder\brainflow\installed\lib&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of ...\brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, and &#039;&#039;&#039;you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;--if this is selected, BCI2000 will fail to build. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Manual Installation===&lt;br /&gt;
&lt;br /&gt;
First, in the same folder containing your working copy of BCI2000, create a folder named &#039;brainflow&#039;. For example, if the location of your copy of BCI2000 is C:\Users\Bob\Desktop\BCI2000, your folder will be C:\Users\Bob\Desktop\brainflow. In this new folder, open [https://gitforwindows.org/ git bash], and enter &#039;git clone https://github.com/OpenBCI/brainflow.git&#039; ([https://github.com/OpenBCI/brainflow/tree/master BrainFlow]). After installation is complete, navigate to the &#039;tools&#039; folder, and run build.py. This will create the solution needed to generate the libraries for EITHER debug or release.&lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;brainflow\compiled\{Release and/or Debug}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
If you wish to use debug mode, open build.py and search for &#039;config&#039; until you find a section that looks like this:&lt;br /&gt;
&lt;br /&gt;
    def build(args):&lt;br /&gt;
        if platform.system() == &#039;Windows&#039;:&lt;br /&gt;
            config = &#039;Release&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;config&#039; determines how the solution is built, so adjust this according to which version you plan to use (&amp;quot;Release&amp;quot; or &amp;quot;Debug&amp;quot;), then run it.&lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;Compiled/{Release and/or Debug}&amp;quot;). This can be done by searching for &amp;quot;Path&amp;quot; in the windows search bar, which will show &amp;quot;Edit the system environment variables&amp;quot;, which upon opening will open up a tab labelled system properties. Open the &amp;quot;Environment&amp;quot; tab and click on &amp;quot;Path&amp;quot; under the &amp;quot;System Variables&amp;quot; window, and press edit. At the bottom of the list, enter the folder ...\brainflow\compiled.&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, &#039;&#039;&#039;and you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===BoardID===&lt;br /&gt;
Identifier for the boad in use, compatable with any board able to be used with BrainFlow.&lt;br /&gt;
&lt;br /&gt;
===RecordingChannels===&lt;br /&gt;
Sets which board channels will be used for data aquisition. Some boards will not have all listed channel types, in which case no data will be collected from such types.&lt;br /&gt;
&lt;br /&gt;
===COM===&lt;br /&gt;
Specifies the port the device is connected to&lt;br /&gt;
&lt;br /&gt;
===MAC===&lt;br /&gt;
Specifies the MAC address of the device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/cmake/brainflow&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/Brainflow.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/BoardController.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/DataHandler.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/MLModule.lib&lt;br /&gt;
C:\Users\Robbie\Documents\BCI2000folder\brainflow\installed\lib\cmake\brainflow&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11011</id>
		<title>Contributions:BrainFlow</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=11011"/>
		<updated>2024-01-17T21:34:21Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* BrainFlow Installation/Setup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
This module integrates the data aquistion capabilities from [https://brainflow.readthedocs.io/en/stable/ BrainFlow] into BCI2000, allowing for compatibility with several new boards.&lt;br /&gt;
&lt;br /&gt;
==BrainFlow Installation/Setup==&lt;br /&gt;
Before installation, please install [https://gitforwindows.org/ git bash] and [https://www.python.org/downloads/ python].&lt;br /&gt;
&lt;br /&gt;
===Automatic Installation===&lt;br /&gt;
&#039;&#039;&#039;Please note that after generating the libraries for debug or release, you may ONLY build in that configuration! To switch to the other configuration you must rebuild the libraries, which can quickly be done through the BrainFlowBuild.py script in the SignalSource\BrainFlow folder&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Libraries generated from BrainFlow are needed for this module, which requires the user to download and build the project. The download process (and configuring the solution) can be automated using these scripts:&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:BFModules.JPG|BrainFlow installation/configuration automation scripts&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
All that needs to be done to use this scripts is: locate them in {BCI2000 Folder}\src\contrib\SignalSource\BrainFlow, and double click on &amp;quot;BrainFlowInstall.bat&amp;quot;. This will clone the [https://github.com/brainflow-dev/brainflow BrainFlow repository]*** into the correct location (which will be one folder outside of BCI2000--if your BCI2000 copy has directory User\BCI2000, then this script will create User\brainflow) as well as run the BrainFlowBuild.py script, which will generate compiled libraries for either debug or release, depending on what you enter upon being prompted (0=debug, 1=release). &lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;Compiled/{Release and/or Debug}&amp;quot;). This can be done by searching for &amp;quot;Path&amp;quot; in the windows search bar, which will show &amp;quot;Edit the system environment variables&amp;quot;, which upon opening will open up a tab labelled system properties. Open the &amp;quot;Environment&amp;quot; tab and click on &amp;quot;Path&amp;quot; under the &amp;quot;System Variables&amp;quot; window, and press edit. At the bottom of the list, enter the folder ...\brainflow\compiled.&lt;br /&gt;
&lt;br /&gt;
C:\Users\Robbie\Documents\BCI2000folder\brainflow\installed\lib&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of ...\brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, and &#039;&#039;&#039;you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;--if this is selected, BCI2000 will fail to build. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Manual Installation===&lt;br /&gt;
&lt;br /&gt;
First, in the same folder containing your working copy of BCI2000, create a folder named &#039;brainflow&#039;. For example, if the location of your copy of BCI2000 is C:\Users\Bob\Desktop\BCI2000, your folder will be C:\Users\Bob\Desktop\brainflow. In this new folder, open [https://gitforwindows.org/ git bash], and enter &#039;git clone https://github.com/OpenBCI/brainflow.git&#039; ([https://github.com/OpenBCI/brainflow/tree/master BrainFlow]). After installation is complete, navigate to the &#039;tools&#039; folder, and run build.py. This will create the solution needed to generate the libraries for EITHER debug or release.&lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;brainflow\compiled\{Release and/or Debug}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
If you wish to use debug mode, open build.py and search for &#039;config&#039; until you find a section that looks like this:&lt;br /&gt;
&lt;br /&gt;
    def build(args):&lt;br /&gt;
        if platform.system() == &#039;Windows&#039;:&lt;br /&gt;
            config = &#039;Release&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;config&#039; determines how the solution is built, so adjust this according to which version you plan to use (&amp;quot;Release&amp;quot; or &amp;quot;Debug&amp;quot;), then run it.&lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;Compiled/{Release and/or Debug}&amp;quot;). This can be done by searching for &amp;quot;Path&amp;quot; in the windows search bar, which will show &amp;quot;Edit the system environment variables&amp;quot;, which upon opening will open up a tab labelled system properties. Open the &amp;quot;Environment&amp;quot; tab and click on &amp;quot;Path&amp;quot; under the &amp;quot;System Variables&amp;quot; window, and press edit. At the bottom of the list, enter the folder ...\brainflow\compiled.&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, &#039;&#039;&#039;and you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===BoardID===&lt;br /&gt;
Identifier for the boad in use, compatable with any board able to be used with BrainFlow.&lt;br /&gt;
&lt;br /&gt;
===RecordingChannels===&lt;br /&gt;
Sets which board channels will be used for data aquisition. Some boards will not have all listed channel types, in which case no data will be collected from such types.&lt;br /&gt;
&lt;br /&gt;
===COM===&lt;br /&gt;
Specifies the port the device is connected to&lt;br /&gt;
&lt;br /&gt;
===MAC===&lt;br /&gt;
Specifies the MAC address of the device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/cmake/brainflow&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/Brainflow.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/BoardController.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/DataHandler.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/MLModule.lib&lt;br /&gt;
C:\Users\Robbie\Documents\BCI2000folder\brainflow\installed\lib\cmake\brainflow&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=10975</id>
		<title>Contributions:BrainFlow</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=10975"/>
		<updated>2023-12-11T23:26:43Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* BrainFlow Installation/Setup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
This module integrates the data aquistion capabilities from [https://brainflow.readthedocs.io/en/stable/ BrainFlow] into BCI2000, allowing for compatibility with several new boards.&lt;br /&gt;
&lt;br /&gt;
==BrainFlow Installation/Setup==&lt;br /&gt;
Before installation, please install [https://gitforwindows.org/ git bash] and [https://www.python.org/downloads/ python].&lt;br /&gt;
&lt;br /&gt;
===Automatic Installation===&lt;br /&gt;
&lt;br /&gt;
Libraries generated from BrainFlow are needed for this module, which requires the user to download and build the project. The download process (and configuring the solution) can be automated using these scripts:&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:BFModules.JPG|BrainFlow installation/configuration automation scripts&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
All that needs to be done to use this scripts is: locate them in {BCI2000 Folder}\src\contrib\SignalSource\BrainFlow, and double click on &amp;quot;BrainFlowInstall.bat&amp;quot;. This will clone the [https://github.com/brainflow-dev/brainflow BrainFlow repository]*** into the correct location as well as run the BrainFlowBuild.py script, which will generate compiled libraries for either debug or release, depending on what you enter upon being prompted (0=debug, 1=release). &lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;Compiled/{Release and/or Debug}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, and &#039;&#039;&#039;you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Manual Installation===&lt;br /&gt;
&lt;br /&gt;
First, in the same folder containing your working copy of BCI2000, create a folder named &#039;brainflow&#039;. For example, if the location of your copy of BCI2000 is C:\Users\Bob\Desktop\BCI2000, your folder will be C:\Users\Bob\Desktop\brainflow. In this new folder, open [https://gitforwindows.org/ git bash], and enter &#039;git clone https://github.com/OpenBCI/brainflow.git&#039; ([https://github.com/OpenBCI/brainflow/tree/master BrainFlow]). After installation is complete, navigate to the &#039;tools&#039; folder, and run build.py. This will create the solution needed to generate the libraries for EITHER debug or release.&lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;brainflow\compiled\{Release and/or Debug}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
If you wish to use debug mode, open build.py and search for &#039;config&#039; until you find a section that looks like this:&lt;br /&gt;
&lt;br /&gt;
    def build(args):&lt;br /&gt;
        if platform.system() == &#039;Windows&#039;:&lt;br /&gt;
            config = &#039;Release&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;config&#039; determines how the solution is built, so adjust this according to which version you plan to use (&amp;quot;Release&amp;quot; or &amp;quot;Debug&amp;quot;), then run it.&lt;br /&gt;
&lt;br /&gt;
Next, go to brainflow\build and open &#039;brainflow.sln&#039;. Set the version to match the config used above (release or debug), and build the solution.&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, &#039;&#039;&#039;and you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===BoardID===&lt;br /&gt;
Identifier for the boad in use, compatable with any board able to be used with BrainFlow.&lt;br /&gt;
&lt;br /&gt;
===RecordingChannels===&lt;br /&gt;
Sets which board channels will be used for data aquisition. Some boards will not have all listed channel types, in which case no data will be collected from such types.&lt;br /&gt;
&lt;br /&gt;
===COM===&lt;br /&gt;
Specifies the port the device is connected to&lt;br /&gt;
&lt;br /&gt;
===MAC===&lt;br /&gt;
Specifies the MAC address of the device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/cmake/brainflow&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/Brainflow.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/BoardController.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/DataHandler.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/MLModule.lib&lt;br /&gt;
C:\Users\Robbie\Documents\BCI2000folder\brainflow\installed\lib\cmake\brainflow&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=10974</id>
		<title>Contributions:BrainFlow</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=10974"/>
		<updated>2023-12-11T23:26:01Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* BrainFlow Installation/Setup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
This module integrates the data aquistion capabilities from [https://brainflow.readthedocs.io/en/stable/ BrainFlow] into BCI2000, allowing for compatibility with several new boards.&lt;br /&gt;
&lt;br /&gt;
==BrainFlow Installation/Setup==&lt;br /&gt;
Before installation, please install [https://gitforwindows.org/ git bash] and [https://www.python.org/downloads/ python].&lt;br /&gt;
&lt;br /&gt;
===Automatic Installation===&lt;br /&gt;
&lt;br /&gt;
Libraries generated from BrainFlow are needed for this module, which requires the user to download and build the project. The download process (and configuring the solution) can be automated using these scripts:&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:BFModules.JPG|BrainFlow installation/configuration automation scripts&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
All that needs to be done to use this scripts is: locate them in {BCI2000 Folder}\src\contrib\SignalSource\BrainFlow, and double click on &amp;quot;BrainFlowInstall.bat&amp;quot;. This will clone the [https://github.com/brainflow-dev/brainflow BrainFlow repository]*** into the correct location as well as run the BrainFlowBuild.py script, which will generate compiled libraries for either debug or release, depending on what you enter upon being prompted (0=debug, 1=release). &lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;Compiled/{Release and/or Debug}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, and &#039;&#039;&#039;you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module to be used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Manual Installation===&lt;br /&gt;
&lt;br /&gt;
First, in the same folder containing your working copy of BCI2000, create a folder named &#039;brainflow&#039;. For example, if the location of your copy of BCI2000 is C:\Users\Bob\Desktop\BCI2000, your folder will be C:\Users\Bob\Desktop\brainflow. In this new folder, open [https://gitforwindows.org/ git bash], and enter &#039;git clone https://github.com/OpenBCI/brainflow.git&#039; ([https://github.com/OpenBCI/brainflow/tree/master BrainFlow]). After installation is complete, navigate to the &#039;tools&#039; folder, and run build.py. This will create the solution needed to generate the libraries for EITHER debug or release.&lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;brainflow\compiled\{Release and/or Debug}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
If you wish to use debug mode, open build.py and search for &#039;config&#039; until you find a section that looks like this:&lt;br /&gt;
&lt;br /&gt;
    def build(args):&lt;br /&gt;
        if platform.system() == &#039;Windows&#039;:&lt;br /&gt;
            config = &#039;Release&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;config&#039; determines how the solution is built, so adjust this according to which version you plan to use (&amp;quot;Release&amp;quot; or &amp;quot;Debug&amp;quot;), then run it.&lt;br /&gt;
&lt;br /&gt;
Next, go to brainflow\build and open &#039;brainflow.sln&#039;. Set the version to match the config used above (release or debug), and build the solution.&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, &#039;&#039;&#039;and you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;. In the batch file to be used, append &#039;&#039;&#039;start executable BrainFlowADC --local&#039;&#039;&#039; to the line corresponding to the source module to be used.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===BoardID===&lt;br /&gt;
Identifier for the boad in use, compatable with any board able to be used with BrainFlow.&lt;br /&gt;
&lt;br /&gt;
===RecordingChannels===&lt;br /&gt;
Sets which board channels will be used for data aquisition. Some boards will not have all listed channel types, in which case no data will be collected from such types.&lt;br /&gt;
&lt;br /&gt;
===COM===&lt;br /&gt;
Specifies the port the device is connected to&lt;br /&gt;
&lt;br /&gt;
===MAC===&lt;br /&gt;
Specifies the MAC address of the device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/cmake/brainflow&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/Brainflow.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/BoardController.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/DataHandler.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/MLModule.lib&lt;br /&gt;
C:\Users\Robbie\Documents\BCI2000folder\brainflow\installed\lib\cmake\brainflow&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=10973</id>
		<title>Contributions:BrainFlow</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=10973"/>
		<updated>2023-12-11T23:19:48Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Synopsis==&lt;br /&gt;
This module integrates the data aquistion capabilities from [https://brainflow.readthedocs.io/en/stable/ BrainFlow] into BCI2000, allowing for compatibility with several new boards.&lt;br /&gt;
&lt;br /&gt;
==BrainFlow Installation/Setup==&lt;br /&gt;
Before installation, please install [https://gitforwindows.org/ git bash] and [https://www.python.org/downloads/ python].&lt;br /&gt;
&lt;br /&gt;
===Automatic Installation===&lt;br /&gt;
&lt;br /&gt;
Libraries generated from BrainFlow are needed for this module, which requires the user to download and build the project. The download process (and configuring the solution) can be automated using these scripts:&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:BFModules.JPG|BrainFlow installation/configuration automation scripts&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
All that needs to be done to use this scripts is: locate them in {BCI2000 Folder}\src\contrib\SignalSource\BrainFlow, and double click on &amp;quot;BrainFlowInstall.bat&amp;quot;. This will clone the [https://github.com/brainflow-dev/brainflow BrainFlow repository]*** into the correct location as well as run the BrainFlowBuild.py script, which will generate compiled libraries for either debug or release, depending on what you enter upon being prompted (0=debug, 1=release). &lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;Compiled/{Release and/or Debug}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, and &#039;&#039;&#039;you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Manual Installation===&lt;br /&gt;
&lt;br /&gt;
First, in the same folder containing your working copy of BCI2000, create a folder named &#039;brainflow&#039;. For example, if the location of your copy of BCI2000 is C:\Users\Bob\Desktop\BCI2000, your folder will be C:\Users\Bob\Desktop\brainflow. In this new folder, open [https://gitforwindows.org/ git bash], and enter &#039;git clone https://github.com/OpenBCI/brainflow.git&#039; ([https://github.com/OpenBCI/brainflow/tree/master BrainFlow]). After installation is complete, navigate to the &#039;tools&#039; folder, and run build.py. This will create the solution needed to generate the libraries for EITHER debug or release.&lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;brainflow\compiled\{Release and/or Debug}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
If you wish to use debug mode, open build.py and search for &#039;config&#039; until you find a section that looks like this:&lt;br /&gt;
&lt;br /&gt;
    def build(args):&lt;br /&gt;
        if platform.system() == &#039;Windows&#039;:&lt;br /&gt;
            config = &#039;Release&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;config&#039; determines how the solution is built, so adjust this according to which version you plan to use (&amp;quot;Release&amp;quot; or &amp;quot;Debug&amp;quot;), then run it.&lt;br /&gt;
&lt;br /&gt;
Next, go to brainflow\build and open &#039;brainflow.sln&#039;. Set the version to match the config used above (release or debug), and build the solution.&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, &#039;&#039;&#039;and you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===BoardID===&lt;br /&gt;
Identifier for the boad in use, compatable with any board able to be used with BrainFlow.&lt;br /&gt;
&lt;br /&gt;
===RecordingChannels===&lt;br /&gt;
Sets which board channels will be used for data aquisition. Some boards will not have all listed channel types, in which case no data will be collected from such types.&lt;br /&gt;
&lt;br /&gt;
===COM===&lt;br /&gt;
Specifies the port the device is connected to&lt;br /&gt;
&lt;br /&gt;
===MAC===&lt;br /&gt;
Specifies the MAC address of the device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/cmake/brainflow&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/Brainflow.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/BoardController.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/DataHandler.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/MLModule.lib&lt;br /&gt;
C:\Users\Robbie\Documents\BCI2000folder\brainflow\installed\lib\cmake\brainflow&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=10972</id>
		<title>Contributions:BrainFlow</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=10972"/>
		<updated>2023-12-11T23:19:31Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* BrainFlow Installation/Setup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Installation==&lt;br /&gt;
==Synopsis==&lt;br /&gt;
This module integrates the data aquistion capabilities from [https://brainflow.readthedocs.io/en/stable/ BrainFlow] into BCI2000, allowing for compatibility with several new boards.&lt;br /&gt;
&lt;br /&gt;
==BrainFlow Installation/Setup==&lt;br /&gt;
Before installation, please install [https://gitforwindows.org/ git bash] and [https://www.python.org/downloads/ python].&lt;br /&gt;
&lt;br /&gt;
===Automatic Installation===&lt;br /&gt;
&lt;br /&gt;
Libraries generated from BrainFlow are needed for this module, which requires the user to download and build the project. The download process (and configuring the solution) can be automated using these scripts:&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:BFModules.JPG|BrainFlow installation/configuration automation scripts&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
All that needs to be done to use this scripts is: locate them in {BCI2000 Folder}\src\contrib\SignalSource\BrainFlow, and double click on &amp;quot;BrainFlowInstall.bat&amp;quot;. This will clone the [https://github.com/brainflow-dev/brainflow BrainFlow repository]*** into the correct location as well as run the BrainFlowBuild.py script, which will generate compiled libraries for either debug or release, depending on what you enter upon being prompted (0=debug, 1=release). &lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;Compiled/{Release and/or Debug}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, and &#039;&#039;&#039;you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Manual Installation===&lt;br /&gt;
&lt;br /&gt;
First, in the same folder containing your working copy of BCI2000, create a folder named &#039;brainflow&#039;. For example, if the location of your copy of BCI2000 is C:\Users\Bob\Desktop\BCI2000, your folder will be C:\Users\Bob\Desktop\brainflow. In this new folder, open [https://gitforwindows.org/ git bash], and enter &#039;git clone https://github.com/OpenBCI/brainflow.git&#039; ([https://github.com/OpenBCI/brainflow/tree/master BrainFlow]). After installation is complete, navigate to the &#039;tools&#039; folder, and run build.py. This will create the solution needed to generate the libraries for EITHER debug or release.&lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;brainflow\compiled\{Release and/or Debug}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
If you wish to use debug mode, open build.py and search for &#039;config&#039; until you find a section that looks like this:&lt;br /&gt;
&lt;br /&gt;
    def build(args):&lt;br /&gt;
        if platform.system() == &#039;Windows&#039;:&lt;br /&gt;
            config = &#039;Release&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;config&#039; determines how the solution is built, so adjust this according to which version you plan to use (&amp;quot;Release&amp;quot; or &amp;quot;Debug&amp;quot;), then run it.&lt;br /&gt;
&lt;br /&gt;
Next, go to brainflow\build and open &#039;brainflow.sln&#039;. Set the version to match the config used above (release or debug), and build the solution.&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, &#039;&#039;&#039;and you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===BoardID===&lt;br /&gt;
Identifier for the boad in use, compatable with any board able to be used with BrainFlow.&lt;br /&gt;
&lt;br /&gt;
===RecordingChannels===&lt;br /&gt;
Sets which board channels will be used for data aquisition. Some boards will not have all listed channel types, in which case no data will be collected from such types.&lt;br /&gt;
&lt;br /&gt;
===COM===&lt;br /&gt;
Specifies the port the device is connected to&lt;br /&gt;
&lt;br /&gt;
===MAC===&lt;br /&gt;
Specifies the MAC address of the device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/cmake/brainflow&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/Brainflow.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/BoardController.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/DataHandler.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/MLModule.lib&lt;br /&gt;
C:\Users\Robbie\Documents\BCI2000folder\brainflow\installed\lib\cmake\brainflow&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=10971</id>
		<title>Contributions:BrainFlow</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=10971"/>
		<updated>2023-12-11T23:19:13Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* MAC */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Installation==&lt;br /&gt;
==Synopsis==&lt;br /&gt;
This module integrates the data aquistion capabilities from [https://brainflow.readthedocs.io/en/stable/ BrainFlow] into BCI2000, allowing for compatibility with several new boards.&lt;br /&gt;
&lt;br /&gt;
==BrainFlow Installation/Setup==&lt;br /&gt;
Before installation, please install [https://gitforwindows.org/ git bash] and [https://www.python.org/downloads/ python].&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Automatic Installation&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
Libraries generated from BrainFlow are needed for this module, which requires the user to download and build the project. The download process (and configuring the solution) can be automated using these scripts:&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:BFModules.JPG|BrainFlow installation/configuration automation scripts&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
All that needs to be done to use this scripts is: locate them in {BCI2000 Folder}\src\contrib\SignalSource\BrainFlow, and double click on &amp;quot;BrainFlowInstall.bat&amp;quot;. This will clone the [https://github.com/brainflow-dev/brainflow BrainFlow repository]*** into the correct location as well as run the BrainFlowBuild.py script, which will generate compiled libraries for either debug or release, depending on what you enter upon being prompted (0=debug, 1=release). &lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;Compiled/{Release and/or Debug}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, and &#039;&#039;&#039;you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Manual Installation&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
First, in the same folder containing your working copy of BCI2000, create a folder named &#039;brainflow&#039;. For example, if the location of your copy of BCI2000 is C:\Users\Bob\Desktop\BCI2000, your folder will be C:\Users\Bob\Desktop\brainflow. In this new folder, open [https://gitforwindows.org/ git bash], and enter &#039;git clone https://github.com/OpenBCI/brainflow.git&#039; ([https://github.com/OpenBCI/brainflow/tree/master BrainFlow]). After installation is complete, navigate to the &#039;tools&#039; folder, and run build.py. This will create the solution needed to generate the libraries for EITHER debug or release.&lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;brainflow\compiled\{Release and/or Debug}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
If you wish to use debug mode, open build.py and search for &#039;config&#039; until you find a section that looks like this:&lt;br /&gt;
&lt;br /&gt;
    def build(args):&lt;br /&gt;
        if platform.system() == &#039;Windows&#039;:&lt;br /&gt;
            config = &#039;Release&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;config&#039; determines how the solution is built, so adjust this according to which version you plan to use (&amp;quot;Release&amp;quot; or &amp;quot;Debug&amp;quot;), then run it.&lt;br /&gt;
&lt;br /&gt;
Next, go to brainflow\build and open &#039;brainflow.sln&#039;. Set the version to match the config used above (release or debug), and build the solution.&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, &#039;&#039;&#039;and you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===BoardID===&lt;br /&gt;
Identifier for the boad in use, compatable with any board able to be used with BrainFlow.&lt;br /&gt;
&lt;br /&gt;
===RecordingChannels===&lt;br /&gt;
Sets which board channels will be used for data aquisition. Some boards will not have all listed channel types, in which case no data will be collected from such types.&lt;br /&gt;
&lt;br /&gt;
===COM===&lt;br /&gt;
Specifies the port the device is connected to&lt;br /&gt;
&lt;br /&gt;
===MAC===&lt;br /&gt;
Specifies the MAC address of the device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/cmake/brainflow&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/Brainflow.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/BoardController.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/DataHandler.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/MLModule.lib&lt;br /&gt;
C:\Users\Robbie\Documents\BCI2000folder\brainflow\installed\lib\cmake\brainflow&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=10970</id>
		<title>Contributions:BrainFlow</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=10970"/>
		<updated>2023-12-11T23:19:07Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* COM */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Installation==&lt;br /&gt;
==Synopsis==&lt;br /&gt;
This module integrates the data aquistion capabilities from [https://brainflow.readthedocs.io/en/stable/ BrainFlow] into BCI2000, allowing for compatibility with several new boards.&lt;br /&gt;
&lt;br /&gt;
==BrainFlow Installation/Setup==&lt;br /&gt;
Before installation, please install [https://gitforwindows.org/ git bash] and [https://www.python.org/downloads/ python].&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Automatic Installation&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
Libraries generated from BrainFlow are needed for this module, which requires the user to download and build the project. The download process (and configuring the solution) can be automated using these scripts:&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:BFModules.JPG|BrainFlow installation/configuration automation scripts&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
All that needs to be done to use this scripts is: locate them in {BCI2000 Folder}\src\contrib\SignalSource\BrainFlow, and double click on &amp;quot;BrainFlowInstall.bat&amp;quot;. This will clone the [https://github.com/brainflow-dev/brainflow BrainFlow repository]*** into the correct location as well as run the BrainFlowBuild.py script, which will generate compiled libraries for either debug or release, depending on what you enter upon being prompted (0=debug, 1=release). &lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;Compiled/{Release and/or Debug}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, and &#039;&#039;&#039;you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Manual Installation&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
First, in the same folder containing your working copy of BCI2000, create a folder named &#039;brainflow&#039;. For example, if the location of your copy of BCI2000 is C:\Users\Bob\Desktop\BCI2000, your folder will be C:\Users\Bob\Desktop\brainflow. In this new folder, open [https://gitforwindows.org/ git bash], and enter &#039;git clone https://github.com/OpenBCI/brainflow.git&#039; ([https://github.com/OpenBCI/brainflow/tree/master BrainFlow]). After installation is complete, navigate to the &#039;tools&#039; folder, and run build.py. This will create the solution needed to generate the libraries for EITHER debug or release.&lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;brainflow\compiled\{Release and/or Debug}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
If you wish to use debug mode, open build.py and search for &#039;config&#039; until you find a section that looks like this:&lt;br /&gt;
&lt;br /&gt;
    def build(args):&lt;br /&gt;
        if platform.system() == &#039;Windows&#039;:&lt;br /&gt;
            config = &#039;Release&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;config&#039; determines how the solution is built, so adjust this according to which version you plan to use (&amp;quot;Release&amp;quot; or &amp;quot;Debug&amp;quot;), then run it.&lt;br /&gt;
&lt;br /&gt;
Next, go to brainflow\build and open &#039;brainflow.sln&#039;. Set the version to match the config used above (release or debug), and build the solution.&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, &#039;&#039;&#039;and you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===BoardID===&lt;br /&gt;
Identifier for the boad in use, compatable with any board able to be used with BrainFlow.&lt;br /&gt;
&lt;br /&gt;
===RecordingChannels===&lt;br /&gt;
Sets which board channels will be used for data aquisition. Some boards will not have all listed channel types, in which case no data will be collected from such types.&lt;br /&gt;
&lt;br /&gt;
===COM===&lt;br /&gt;
Specifies the port the device is connected to&lt;br /&gt;
&lt;br /&gt;
==MAC==&lt;br /&gt;
Specifies the MAC address of the device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/cmake/brainflow&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/Brainflow.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/BoardController.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/DataHandler.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/MLModule.lib&lt;br /&gt;
C:\Users\Robbie\Documents\BCI2000folder\brainflow\installed\lib\cmake\brainflow&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=10969</id>
		<title>Contributions:BrainFlow</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=10969"/>
		<updated>2023-12-11T23:19:02Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* RecordingChannels */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Installation==&lt;br /&gt;
==Synopsis==&lt;br /&gt;
This module integrates the data aquistion capabilities from [https://brainflow.readthedocs.io/en/stable/ BrainFlow] into BCI2000, allowing for compatibility with several new boards.&lt;br /&gt;
&lt;br /&gt;
==BrainFlow Installation/Setup==&lt;br /&gt;
Before installation, please install [https://gitforwindows.org/ git bash] and [https://www.python.org/downloads/ python].&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Automatic Installation&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
Libraries generated from BrainFlow are needed for this module, which requires the user to download and build the project. The download process (and configuring the solution) can be automated using these scripts:&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:BFModules.JPG|BrainFlow installation/configuration automation scripts&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
All that needs to be done to use this scripts is: locate them in {BCI2000 Folder}\src\contrib\SignalSource\BrainFlow, and double click on &amp;quot;BrainFlowInstall.bat&amp;quot;. This will clone the [https://github.com/brainflow-dev/brainflow BrainFlow repository]*** into the correct location as well as run the BrainFlowBuild.py script, which will generate compiled libraries for either debug or release, depending on what you enter upon being prompted (0=debug, 1=release). &lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;Compiled/{Release and/or Debug}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, and &#039;&#039;&#039;you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Manual Installation&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
First, in the same folder containing your working copy of BCI2000, create a folder named &#039;brainflow&#039;. For example, if the location of your copy of BCI2000 is C:\Users\Bob\Desktop\BCI2000, your folder will be C:\Users\Bob\Desktop\brainflow. In this new folder, open [https://gitforwindows.org/ git bash], and enter &#039;git clone https://github.com/OpenBCI/brainflow.git&#039; ([https://github.com/OpenBCI/brainflow/tree/master BrainFlow]). After installation is complete, navigate to the &#039;tools&#039; folder, and run build.py. This will create the solution needed to generate the libraries for EITHER debug or release.&lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;brainflow\compiled\{Release and/or Debug}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
If you wish to use debug mode, open build.py and search for &#039;config&#039; until you find a section that looks like this:&lt;br /&gt;
&lt;br /&gt;
    def build(args):&lt;br /&gt;
        if platform.system() == &#039;Windows&#039;:&lt;br /&gt;
            config = &#039;Release&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;config&#039; determines how the solution is built, so adjust this according to which version you plan to use (&amp;quot;Release&amp;quot; or &amp;quot;Debug&amp;quot;), then run it.&lt;br /&gt;
&lt;br /&gt;
Next, go to brainflow\build and open &#039;brainflow.sln&#039;. Set the version to match the config used above (release or debug), and build the solution.&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, &#039;&#039;&#039;and you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===BoardID===&lt;br /&gt;
Identifier for the boad in use, compatable with any board able to be used with BrainFlow.&lt;br /&gt;
&lt;br /&gt;
===RecordingChannels===&lt;br /&gt;
Sets which board channels will be used for data aquisition. Some boards will not have all listed channel types, in which case no data will be collected from such types.&lt;br /&gt;
&lt;br /&gt;
==COM==&lt;br /&gt;
Specifies the port the device is connected to&lt;br /&gt;
&lt;br /&gt;
==MAC==&lt;br /&gt;
Specifies the MAC address of the device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/cmake/brainflow&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/Brainflow.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/BoardController.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/DataHandler.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/MLModule.lib&lt;br /&gt;
C:\Users\Robbie\Documents\BCI2000folder\brainflow\installed\lib\cmake\brainflow&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=10968</id>
		<title>Contributions:BrainFlow</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=10968"/>
		<updated>2023-12-11T23:18:57Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* BoardID */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Installation==&lt;br /&gt;
==Synopsis==&lt;br /&gt;
This module integrates the data aquistion capabilities from [https://brainflow.readthedocs.io/en/stable/ BrainFlow] into BCI2000, allowing for compatibility with several new boards.&lt;br /&gt;
&lt;br /&gt;
==BrainFlow Installation/Setup==&lt;br /&gt;
Before installation, please install [https://gitforwindows.org/ git bash] and [https://www.python.org/downloads/ python].&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Automatic Installation&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
Libraries generated from BrainFlow are needed for this module, which requires the user to download and build the project. The download process (and configuring the solution) can be automated using these scripts:&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:BFModules.JPG|BrainFlow installation/configuration automation scripts&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
All that needs to be done to use this scripts is: locate them in {BCI2000 Folder}\src\contrib\SignalSource\BrainFlow, and double click on &amp;quot;BrainFlowInstall.bat&amp;quot;. This will clone the [https://github.com/brainflow-dev/brainflow BrainFlow repository]*** into the correct location as well as run the BrainFlowBuild.py script, which will generate compiled libraries for either debug or release, depending on what you enter upon being prompted (0=debug, 1=release). &lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;Compiled/{Release and/or Debug}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, and &#039;&#039;&#039;you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Manual Installation&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
First, in the same folder containing your working copy of BCI2000, create a folder named &#039;brainflow&#039;. For example, if the location of your copy of BCI2000 is C:\Users\Bob\Desktop\BCI2000, your folder will be C:\Users\Bob\Desktop\brainflow. In this new folder, open [https://gitforwindows.org/ git bash], and enter &#039;git clone https://github.com/OpenBCI/brainflow.git&#039; ([https://github.com/OpenBCI/brainflow/tree/master BrainFlow]). After installation is complete, navigate to the &#039;tools&#039; folder, and run build.py. This will create the solution needed to generate the libraries for EITHER debug or release.&lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;brainflow\compiled\{Release and/or Debug}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
If you wish to use debug mode, open build.py and search for &#039;config&#039; until you find a section that looks like this:&lt;br /&gt;
&lt;br /&gt;
    def build(args):&lt;br /&gt;
        if platform.system() == &#039;Windows&#039;:&lt;br /&gt;
            config = &#039;Release&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;config&#039; determines how the solution is built, so adjust this according to which version you plan to use (&amp;quot;Release&amp;quot; or &amp;quot;Debug&amp;quot;), then run it.&lt;br /&gt;
&lt;br /&gt;
Next, go to brainflow\build and open &#039;brainflow.sln&#039;. Set the version to match the config used above (release or debug), and build the solution.&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, &#039;&#039;&#039;and you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
===BoardID===&lt;br /&gt;
Identifier for the boad in use, compatable with any board able to be used with BrainFlow.&lt;br /&gt;
&lt;br /&gt;
==RecordingChannels==&lt;br /&gt;
Sets which board channels will be used for data aquisition. Some boards will not have all listed channel types, in which case no data will be collected from such types.&lt;br /&gt;
&lt;br /&gt;
==COM==&lt;br /&gt;
Specifies the port the device is connected to&lt;br /&gt;
&lt;br /&gt;
==MAC==&lt;br /&gt;
Specifies the MAC address of the device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/cmake/brainflow&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/Brainflow.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/BoardController.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/DataHandler.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/MLModule.lib&lt;br /&gt;
C:\Users\Robbie\Documents\BCI2000folder\brainflow\installed\lib\cmake\brainflow&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=10967</id>
		<title>Contributions:BrainFlow</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=10967"/>
		<updated>2023-12-11T23:18:46Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Installation==&lt;br /&gt;
==Synopsis==&lt;br /&gt;
This module integrates the data aquistion capabilities from [https://brainflow.readthedocs.io/en/stable/ BrainFlow] into BCI2000, allowing for compatibility with several new boards.&lt;br /&gt;
&lt;br /&gt;
==BrainFlow Installation/Setup==&lt;br /&gt;
Before installation, please install [https://gitforwindows.org/ git bash] and [https://www.python.org/downloads/ python].&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Automatic Installation&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
Libraries generated from BrainFlow are needed for this module, which requires the user to download and build the project. The download process (and configuring the solution) can be automated using these scripts:&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:BFModules.JPG|BrainFlow installation/configuration automation scripts&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
All that needs to be done to use this scripts is: locate them in {BCI2000 Folder}\src\contrib\SignalSource\BrainFlow, and double click on &amp;quot;BrainFlowInstall.bat&amp;quot;. This will clone the [https://github.com/brainflow-dev/brainflow BrainFlow repository]*** into the correct location as well as run the BrainFlowBuild.py script, which will generate compiled libraries for either debug or release, depending on what you enter upon being prompted (0=debug, 1=release). &lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;Compiled/{Release and/or Debug}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, and &#039;&#039;&#039;you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Manual Installation&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
First, in the same folder containing your working copy of BCI2000, create a folder named &#039;brainflow&#039;. For example, if the location of your copy of BCI2000 is C:\Users\Bob\Desktop\BCI2000, your folder will be C:\Users\Bob\Desktop\brainflow. In this new folder, open [https://gitforwindows.org/ git bash], and enter &#039;git clone https://github.com/OpenBCI/brainflow.git&#039; ([https://github.com/OpenBCI/brainflow/tree/master BrainFlow]). After installation is complete, navigate to the &#039;tools&#039; folder, and run build.py. This will create the solution needed to generate the libraries for EITHER debug or release.&lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;brainflow\compiled\{Release and/or Debug}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
If you wish to use debug mode, open build.py and search for &#039;config&#039; until you find a section that looks like this:&lt;br /&gt;
&lt;br /&gt;
    def build(args):&lt;br /&gt;
        if platform.system() == &#039;Windows&#039;:&lt;br /&gt;
            config = &#039;Release&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;config&#039; determines how the solution is built, so adjust this according to which version you plan to use (&amp;quot;Release&amp;quot; or &amp;quot;Debug&amp;quot;), then run it.&lt;br /&gt;
&lt;br /&gt;
Next, go to brainflow\build and open &#039;brainflow.sln&#039;. Set the version to match the config used above (release or debug), and build the solution.&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, &#039;&#039;&#039;and you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
==BoardID==&lt;br /&gt;
Identifier for the boad in use, compatable with any board able to be used with BrainFlow.&lt;br /&gt;
&lt;br /&gt;
==RecordingChannels==&lt;br /&gt;
Sets which board channels will be used for data aquisition. Some boards will not have all listed channel types, in which case no data will be collected from such types.&lt;br /&gt;
&lt;br /&gt;
==COM==&lt;br /&gt;
Specifies the port the device is connected to&lt;br /&gt;
&lt;br /&gt;
==MAC==&lt;br /&gt;
Specifies the MAC address of the device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/cmake/brainflow&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/Brainflow.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/BoardController.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/DataHandler.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/MLModule.lib&lt;br /&gt;
C:\Users\Robbie\Documents\BCI2000folder\brainflow\installed\lib\cmake\brainflow&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=10966</id>
		<title>Contributions:BrainFlow</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=10966"/>
		<updated>2023-12-11T23:18:25Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* BrainFlow Installation/Setup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Installation==&lt;br /&gt;
==Synopsis==&lt;br /&gt;
This module integrates the data aquistion capabilities from [https://brainflow.readthedocs.io/en/stable/ BrainFlow] into BCI2000, allowing for compatibility with several new boards.&lt;br /&gt;
&lt;br /&gt;
==BrainFlow Installation/Setup==&lt;br /&gt;
Before installation, please install [https://gitforwindows.org/ git bash] and [https://www.python.org/downloads/ python].&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Automatic Installation&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
Libraries generated from BrainFlow are needed for this module, which requires the user to download and build the project. The download process (and configuring the solution) can be automated using these scripts:&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:BFModules.JPG|BrainFlow installation/configuration automation scripts&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
All that needs to be done to use this scripts is: locate them in {BCI2000 Folder}\src\contrib\SignalSource\BrainFlow, and double click on &amp;quot;BrainFlowInstall.bat&amp;quot;. This will clone the [https://github.com/brainflow-dev/brainflow BrainFlow repository]*** into the correct location as well as run the BrainFlowBuild.py script, which will generate compiled libraries for either debug or release, depending on what you enter upon being prompted (0=debug, 1=release). &lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;Compiled/{Release and/or Debug}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, and &#039;&#039;&#039;you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Manual Installation&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
First, in the same folder containing your working copy of BCI2000, create a folder named &#039;brainflow&#039;. For example, if the location of your copy of BCI2000 is C:\Users\Bob\Desktop\BCI2000, your folder will be C:\Users\Bob\Desktop\brainflow. In this new folder, open [https://gitforwindows.org/ git bash], and enter &#039;git clone https://github.com/OpenBCI/brainflow.git&#039; ([https://github.com/OpenBCI/brainflow/tree/master BrainFlow]). After installation is complete, navigate to the &#039;tools&#039; folder, and run build.py. This will create the solution needed to generate the libraries for EITHER debug or release.&lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;brainflow\compiled\{Release and/or Debug}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
If you wish to use debug mode, open build.py and search for &#039;config&#039; until you find a section that looks like this:&lt;br /&gt;
&lt;br /&gt;
    def build(args):&lt;br /&gt;
        if platform.system() == &#039;Windows&#039;:&lt;br /&gt;
            config = &#039;Release&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;config&#039; determines how the solution is built, so adjust this according to which version you plan to use (&amp;quot;Release&amp;quot; or &amp;quot;Debug&amp;quot;), then run it.&lt;br /&gt;
&lt;br /&gt;
Next, go to brainflow\build and open &#039;brainflow.sln&#039;. Set the version to match the config used above (release or debug), and build the solution.&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, &#039;&#039;&#039;and you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
*BoardID&lt;br /&gt;
Identifier for the boad in use, compatable with any board able to be used with BrainFlow.&lt;br /&gt;
&lt;br /&gt;
*RecordingChannels&lt;br /&gt;
Sets which board channels will be used for data aquisition. Some boards will not have all listed channel types, in which case no data will be collected from such types.&lt;br /&gt;
&lt;br /&gt;
*COM&lt;br /&gt;
Specifies the port the device is connected to&lt;br /&gt;
&lt;br /&gt;
*MAC&lt;br /&gt;
Specifies the MAC address of the device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/cmake/brainflow&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/Brainflow.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/BoardController.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/DataHandler.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/MLModule.lib&lt;br /&gt;
C:\Users\Robbie\Documents\BCI2000folder\brainflow\installed\lib\cmake\brainflow&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=10965</id>
		<title>Contributions:BrainFlow</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=10965"/>
		<updated>2023-12-11T23:18:00Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* BrainFlow Install */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Installation==&lt;br /&gt;
==Synopsis==&lt;br /&gt;
This module integrates the data aquistion capabilities from [https://brainflow.readthedocs.io/en/stable/ BrainFlow] into BCI2000, allowing for compatibility with several new boards.&lt;br /&gt;
&lt;br /&gt;
==BrainFlow Installation/Setup==&lt;br /&gt;
Before installation, please install [https://gitforwindows.org/ git bash] and [https://www.python.org/downloads/ python].&lt;br /&gt;
&lt;br /&gt;
*Automatic Installation:&lt;br /&gt;
&lt;br /&gt;
Libraries generated from BrainFlow are needed for this module, which requires the user to download and build the project. The download process (and configuring the solution) can be automated using these scripts:&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:BFModules.JPG|BrainFlow installation/configuration automation scripts&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
All that needs to be done to use this scripts is: locate them in {BCI2000 Folder}\src\contrib\SignalSource\BrainFlow, and double click on &amp;quot;BrainFlowInstall.bat&amp;quot;. This will clone the [https://github.com/brainflow-dev/brainflow BrainFlow repository]*** into the correct location as well as run the BrainFlowBuild.py script, which will generate compiled libraries for either debug or release, depending on what you enter upon being prompted (0=debug, 1=release). &lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;Compiled/{Release and/or Debug}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, and &#039;&#039;&#039;you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Manual Installation:&lt;br /&gt;
&lt;br /&gt;
First, in the same folder containing your working copy of BCI2000, create a folder named &#039;brainflow&#039;. For example, if the location of your copy of BCI2000 is C:\Users\Bob\Desktop\BCI2000, your folder will be C:\Users\Bob\Desktop\brainflow. In this new folder, open [https://gitforwindows.org/ git bash], and enter &#039;git clone https://github.com/OpenBCI/brainflow.git&#039; ([https://github.com/OpenBCI/brainflow/tree/master BrainFlow]). After installation is complete, navigate to the &#039;tools&#039; folder, and run build.py. This will create the solution needed to generate the libraries for EITHER debug or release.&lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;brainflow\compiled\{Release and/or Debug}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
If you wish to use debug mode, open build.py and search for &#039;config&#039; until you find a section that looks like this:&lt;br /&gt;
&lt;br /&gt;
    def build(args):&lt;br /&gt;
        if platform.system() == &#039;Windows&#039;:&lt;br /&gt;
            config = &#039;Release&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;config&#039; determines how the solution is built, so adjust this according to which version you plan to use (&amp;quot;Release&amp;quot; or &amp;quot;Debug&amp;quot;), then run it.&lt;br /&gt;
&lt;br /&gt;
Next, go to brainflow\build and open &#039;brainflow.sln&#039;. Set the version to match the config used above (release or debug), and build the solution.&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, &#039;&#039;&#039;and you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
*BoardID&lt;br /&gt;
Identifier for the boad in use, compatable with any board able to be used with BrainFlow.&lt;br /&gt;
&lt;br /&gt;
*RecordingChannels&lt;br /&gt;
Sets which board channels will be used for data aquisition. Some boards will not have all listed channel types, in which case no data will be collected from such types.&lt;br /&gt;
&lt;br /&gt;
*COM&lt;br /&gt;
Specifies the port the device is connected to&lt;br /&gt;
&lt;br /&gt;
*MAC&lt;br /&gt;
Specifies the MAC address of the device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/cmake/brainflow&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/Brainflow.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/BoardController.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/DataHandler.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/MLModule.lib&lt;br /&gt;
C:\Users\Robbie\Documents\BCI2000folder\brainflow\installed\lib\cmake\brainflow&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=10964</id>
		<title>Contributions:BrainFlow</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=10964"/>
		<updated>2023-12-11T22:47:26Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* BrainFlow Install */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Installation==&lt;br /&gt;
===BrainFlow Install===&lt;br /&gt;
Before installation, please install [https://gitforwindows.org/ git bash] and [https://www.python.org/downloads/ python].&lt;br /&gt;
&lt;br /&gt;
*Automatic Installation:&lt;br /&gt;
&lt;br /&gt;
Libraries generated from BrainFlow are needed for this module, which requires the user to download and build the project. The download process (and configuring the solution) can be automated using these scripts:&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:BFModules.JPG|BrainFlow installation/configuration automation scripts&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
All that needs to be done to use this scripts is: locate them in {BCI2000 Folder}\src\contrib\SignalSource\BrainFlow, and double click on &amp;quot;BrainFlowInstall.bat&amp;quot;. This will clone the [https://github.com/brainflow-dev/brainflow BrainFlow repository]*** into the correct location as well as run the BrainFlowBuild.py script, which will generate compiled libraries for either debug or release, depending on what you enter upon being prompted (0=debug, 1=release). &lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;Compiled/{Release and/or Debug}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, and &#039;&#039;&#039;you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Manual Installation:&lt;br /&gt;
&lt;br /&gt;
First, in the same folder containing your working copy of BCI2000, create a folder named &#039;brainflow&#039;. For example, if the location of your copy of BCI2000 is C:\Users\Bob\Desktop\BCI2000, your folder will be C:\Users\Bob\Desktop\brainflow. In this new folder, open [https://gitforwindows.org/ git bash], and enter &#039;git clone https://github.com/OpenBCI/brainflow.git&#039; ([https://github.com/OpenBCI/brainflow/tree/master BrainFlow]). After installation is complete, navigate to the &#039;tools&#039; folder, and run build.py. This will create the solution needed to generate the libraries for EITHER debug or release.&lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;brainflow\compiled\{Release and/or Debug}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
If you wish to use debug mode, open build.py and search for &#039;config&#039; until you find a section that looks like this:&lt;br /&gt;
&lt;br /&gt;
    def build(args):&lt;br /&gt;
        if platform.system() == &#039;Windows&#039;:&lt;br /&gt;
            config = &#039;Release&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;config&#039; determines how the solution is built, so adjust this according to which version you plan to use (&amp;quot;Release&amp;quot; or &amp;quot;Debug&amp;quot;), then run it.&lt;br /&gt;
&lt;br /&gt;
Next, go to brainflow\build and open &#039;brainflow.sln&#039;. Set the version to match the config used above (release or debug), and build the solution.&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, &#039;&#039;&#039;and you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/cmake/brainflow&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/Brainflow.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/BoardController.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/DataHandler.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/MLModule.lib&lt;br /&gt;
C:\Users\Robbie\Documents\BCI2000folder\brainflow\installed\lib\cmake\brainflow&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=10917</id>
		<title>Contributions:BrainFlow</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:BrainFlow&amp;diff=10917"/>
		<updated>2023-11-03T22:58:17Z</updated>

		<summary type="html">&lt;p&gt;Rlellis: /* BrainFlow Install */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Installation==&lt;br /&gt;
===BrainFlow Install===&lt;br /&gt;
Before installation, please install [https://gitforwindows.org/ git bash] and [https://www.python.org/downloads/ python].&lt;br /&gt;
&lt;br /&gt;
Libraries generated from BrainFlow are needed for this module, which requires the user to download and build the project. The download process (and configuring the solution) can be automated using these scripts:&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=75px heights=75px&amp;gt;&lt;br /&gt;
File:BFModules.JPG|BrainFlow installation/configuration automation scripts&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
All that needs to be done to use this scripts is: locate them in {BCI2000 Folder}\src\contrib\SignalSource\BrainFlow, and double click on &amp;quot;BrainFlowInstall.bat&amp;quot;. This will clone the [https://github.com/brainflow-dev/brainflow BrainFlow repository]*** into the correct location as well as run the BrainFlowBuild.py script, which will generate compiled libraries for either debug or release, depending on what you enter upon being prompted (0=debug, 1=release). &lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;Compiled/{Release and/or Debug}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
In the CMake GUI opened from BCI2000/build, press the &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
First, in the same folder containing your working copy of BCI2000, create a folder named &#039;brainflow&#039;. For example, if the location of your copy of BCI2000 is C:\Users\Bob\Desktop\BCI2000, your folder will be C:\Users\Bob\Desktop\brainflow. In this new folder, open [https://gitforwindows.org/ git bash], and enter &#039;git clone https://github.com/OpenBCI/brainflow.git&#039; ([https://github.com/OpenBCI/brainflow/tree/master BrainFlow]). After installation is complete, navigate to the &#039;tools&#039; folder, and run build.py. This will create the solution needed to generate the libraries for EITHER debug or release.&lt;br /&gt;
&lt;br /&gt;
Afterward, you will need to add the generated libraries to your systems path. (&amp;quot;brainflow\compiled\{Release and/or Debug}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
If you wish to use debug mode, open build.py and search for &#039;config&#039; until you find a section that looks like this:&lt;br /&gt;
&lt;br /&gt;
    def build(args):&lt;br /&gt;
        if platform.system() == &#039;Windows&#039;:&lt;br /&gt;
            config = &#039;Release&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;config&#039; determines how the solution is built, so adjust this according to which version you plan to use (&amp;quot;Release&amp;quot; or &amp;quot;Debug&amp;quot;), then run it.&lt;br /&gt;
&lt;br /&gt;
Next, go to brainflow\build and open &#039;brainflow.sln&#039;. Set the version to match the config used above (release or debug), and build the solution.&lt;br /&gt;
&lt;br /&gt;
In BCI2000&#039;s CMake window (build\Configure.sh.cmd), press the blue &amp;quot;Add Entry&amp;quot; arrow in the top right corner. In the dropdown menu for &amp;quot;Type:&amp;quot;, select &amp;quot;PATH&amp;quot;, then in &amp;quot;Name:&amp;quot; enter: &amp;quot;CMAKE_PREFIX_PATH&amp;quot;. For the value, enter the entire file location of brainflow\installed\lib\cmake\brainflow (go to the folder your BCI2000 folder resides in, a folder named &amp;quot;brainflow&amp;quot; will be located there. You can append the the location of this folder with this location so your entire file location looks like C:\Users...\{Folder containing BCI2000 folder}\brainflow\installed\lib\cmake\brainflow). After these three fields are filled out, press &amp;quot;OK&amp;quot;. Make sure under &amp;quot;BUILD&amp;quot; that &amp;quot;BUILD_ALL_SOURCEMODULES&amp;quot; is selected, and you will also need to deselect &amp;quot;USE_DYNAMIC_CRT&amp;quot; under &amp;quot;USE&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/cmake/brainflow&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/installed/lib/Brainflow.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/BoardController.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/DataHandler.lib&lt;br /&gt;
C:/Users/Robbie/Documents/BCI2000folder/brainflow/compiled/Debug/MLModule.lib&lt;br /&gt;
C:\Users\Robbie\Documents\BCI2000folder\brainflow\installed\lib\cmake\brainflow&lt;/div&gt;</summary>
		<author><name>Rlellis</name></author>
	</entry>
</feed>