Jump to content

Contributions:g.EstimSwitchingUnit

From BCI2000 Wiki
Revision as of 18:28, 15 January 2021 by Abelsten (talk | contribs) (Added a picture of the switching unit)

Location

http://www.bci2000.org/svn/trunk/src/private/SignalProcessing/g.EstimSwitchingUnit

Versioning

g.tec g.Estim Switching Unit

Author

Alexander Belsten (belsten@neurotechcenter.org)

Version History

  • 2020/05/22: Initial release for the switching unit prototype

Source Code Revisions

  • Initial development: 6125
  • Known to compile under: 6177
  • Broken since: --

Functional Description

This filter adds support for the g.tec g.Estim PRO Switching unit. This device is used in conjunction with a g.Estim and a g.tec amplifier. It allows for the channels the automatic switching of channels from a recording channel to a stimulating channel. The filter has been developed using:

g.Estim Switching Unit Prototype

    Serial Number: SR-2019.10.01

    API Version: 0.1.0537

Integration into BCI2000

Compile the filter by enabling BUILD_PRIVATE in your CMake configuration. Access to the private directory in the SVN is necessary.

Parameters

The g.EstimSwitchingUnit is configured in the filtering tab. The configurable parameters are:

EnableSU

This parameter enables the switching unit.

DeviceID

Index of device to connect to. Usually 0.

Trigger

There are two options for the trigger, a software trigger, and a digital trigger.

Software Trigger

Channel switching is triggered when the StimulusCode state meets the stimulus condition defined in the first row of the StimConfig parameter. Note: if only one state (one column) is defined in StimConfig, channel information configuration will not need to be re-uploaded to the device. This results in a dramatic decrease in latency of transition between recording to stimulating.

Digital Trigger

Channel switching is triggered by the digital in on the switching unit. Only one state (one column) can be defined in the StimConfig parameter to use the digital trigger. When the digital trigger occurs, the switching configuration for that one state will be applied.

StimConfig

This matrix configures channel routing. The first row labeled by StimulusCode is the channel routing condition. When StimulusCode is equal to this condition, the channels will be routed for stimulation. The Stim+ ch and Stim- ch nested lists define what channels should be routed to the positive side (anode) of the stimulation input and to the negative side (cathode) of stimulation input.

See also