|
|
||||
|
|
Device Driver for the MATLAB Data Acquisition Toolbox |
|||
![]() |
||||
|
|
|
The API for MATLAB is available for g.USBamp and the g.MOBIlab+. The toolbox is a device driver that allows to read biosignal data like EEG, ECoG, EMG, EOG and ECG into the MATLAB environment. MATLAB is a very flexible development environment which allows to setup easily your own signal acquisition and analysis by utilizing all available toolboxes from MATLAB (like Statistics, Neural Networks, Signal Processing,...). The API for MATLAB contains commands which give full access to the amplifier. There are commands for reading the data, for setting the bandpass and Notch filters, for changing the sampling frequency of the amplifier, to define bipolar derivations and to calibrate the system. Multiple g.USBamps and g.MOBIlab+s can be used if they are connected to the synchronization cable to work absolute in synchrony. Therefore one device must be defined as MASTER to control the other amplifiers. An integrated impedance check gives you the impedance values of all electrodes connected to the 16 input channels and 4 reference channels. Tne of the key advantages of API for MATLAB is that it is fully integrated into the MATLAB Data Acquisition Toolbox. Therefore you can start within minutes with the acquisition of data and build your application easily and fast on top of it. |
|||||||||||||||||||||
|
|
|||||||||||||||||||||
Highlights
|
|||||||||||||||||||||
|
On-line Biosignal Acquisition Define the analog input object for g.USBamp set(ai,'SampleRate',256,'SamplesPerTrigger',10*256); while ai.SamplesAcquired < preview while ai.SamplesAcquired < 10 * 256 data = getdata(ai); |
|||||||||||||||||||||
|
Usage of Softscope The Data Acquisition Toolbox provides a scope block for the visualization
of data. Perform the following steps to visualize g.USBamp and g.MOBIlab+ data in this
scope. Configure g.USBamp to acquire 1 channel in calibration mode. Therefore an analog input object with the adaptor guadaq of device 1 must be created.
|
|||||||||||||||||||||
|
|
|||||||||||||||||||||
Prerequisite MATLAB and the Data Acquisition Toolbox (Release 2008b) |