
Page 7of 10 Rev A DCO G174
© Great Lakes NeuroTechnologies Inc. 2014
5. Read BioRadio Configuration Settings
a. Reading the configuration of the BioRadio may be a useful first step before acquiring,
plotting, or analyzing data.
b. The biopotential and sensor pod signals can be accessed via signal group properties of
the BioRadioDevice object (e.g., myDevice.BioPotentialSignals,
myDevice.PulseOxSignals, or myDevice.AuxiliarySignals).
c. The number of channels can be accessed via the “Count” property of each signal group
(e.g., myDevice.BioPotentialSignals.Count).
d. The sample rate can be accessed via the “SamplesPerSecond” property of each signal
group (e.g., myDevice.BioPotentialSignals.SamplesPerSecond).
e. The sample rate of any signals acquired using a sensor pod is 250 Hz.
6. Start Acquisition
a. Once a BioRadio has been instantiated and assigned to a MATLAB variable (let’s say
that variable name is myDevice for this example), data streaming can be initialized by
calling myDevice.StartAcquisition. See BioRadio_Stream.m for an example
on usage.
7. Stop Acquisition
a. Data streaming can be terminated by calling myDevice.StopAcquisition. See
BioRadio_Stream.m for an example on usage.
b. NOTE: Built-in MATLAB timing functions such as tic and toc may be useful for
acquiring data for a specified time interval.
8. Retrieve Data from Buffer
a. Data is stored in a buffer on the host PC during streaming.
b. The individual channels of data associated with each signal group can be accessed via
the Item method (e.g., myDevice.BioPotentialSignals.Item(0)).
c. NOTE: The index of the Item method is zero-based. For example, the first channel
would be accessed with Item(0), while the fourth channel would be accessed with
Item(3).
d. The GetScaledValueArray method pulls the data from the buffer and can be used to
assign it to a MATLAB variable myData_0 =
myDevice.BioPotentialSignals.Item(0).GetScaledValueArray.double
e. See BioRadio_Stream.m for an example of pulling data from the buffer.
9. Disconnect from BioRadio
a. Calling Disconnect closes the Bluetooth connection with the BioRadio (e.g.,
myDevice.Disconnect). See BioRadio_Disconnect.m for an example on
usage.