Jump to content

User Reference:gUnicornADC

From BCI2000 Wiki
Revision as of 20:21, 21 December 2018 by Madamek (talk | contribs) (Data Storage)

Function

g.Unicorn Hardware

Drivers

Parameters

SampleBlockSize

Samples per channel per digitized block. Together with the sampling rate, this parameter determines how often per second data are collected, processed, and feedback is updated. For example, at 600 Hz sampling and a SampleBlockSize of 20, the system (e.g., source signal display, signal processing, and stimulus presentation) would be updated 30 times per second.

SamplingRate

SourceCh

SourceChannelList

The list of channels that should be acquired from each device. The total number of channels listed should correspond to SourceCh. For more than one device, SourceChDevices determines how the SourceChList values are mapped to each device. For example if SourceChDevices = '8 8' and SourceChList = '1 2 3 4 13 14 15 16 5 6 7 8 9 10 11 12', then channels 1-4 and 13-16 will be acquired on the first device, and channels 5-12 will be acquired on the second device. These channels will be saved in the data file as 16 contiguous channels. The order of channels does not matter; i.e., '1 2 3 4' is the same as '2 3 1 4'. The channels are always in ascending order on a single device. Channels may not be listed twice on a single device; e.g., entering '1 2 3 4 5 6 7 1' if SourceChDevices = '8' will result in an error. If this parameter is left blank (the default), then all channels are acquired on all devices.

SourceChGain

SourceChOffset

ChannelNames

States

Counter

AccelerationX

AccelerationY

AccelerationZ

GyroscopeX

GyroscopeY

GyroscopeZ

Battery

Validation

Additional Information

Using 32bit Executables on 64bit Installations

BCI2000 supports compilation of the gUSBamp source module for 64bit targets. The resulting executable will run on 64bit systems, and work with the 64bit version of the gUSBamp drivers. However, the binary distribution of BCI2000 contains 32bit executables. These run fine under 64bit systems, but you will need to perform these additional driver installation steps to install 32bit gUSBamp API DLLs on 64bit systems:

  • Execute gtec's 32bit driver installer on your 64bit system.
  • After successful installation, execute gtec's 64bit driver installer on your 64bit system.
  • You will now have both the 32bit API DLL and the 64bit API DLL installed, such that both 32bit and 64bit executables will be able to connect to a gUSBamp attached to the system's USB ports.

See also

User Reference:DataIOFilter, Programming Reference:GenericADC Class