Bio Radio SDK - Xamarin Android
GLNeuroTech.Devices.BioRadio.BioRadioSignal Class Reference

Represents a BioRadio signal. This class can be used to read the configuration and any data that has been received during streaming. More...

Inheritance diagram for GLNeuroTech.Devices.BioRadio.BioRadioSignal:
GLNeuroTech.Devices.Common.Signal GLNeuroTech.Devices.BioRadio.BioPotentialSignal GLNeuroTech.Devices.BioRadio.Signals.AccelerometerSignal GLNeuroTech.Devices.BioRadio.Signals.AuxiliarySignal GLNeuroTech.Devices.BioRadio.Signals.GyroscopeSignal GLNeuroTech.Devices.BioRadio.Signals.HeartRateSignal GLNeuroTech.Devices.BioRadio.Signals.PpgSignal GLNeuroTech.Devices.BioRadio.Signals.SpO2Signal GLNeuroTech.Devices.BioRadio.Signals.GsrSignal

Public Attributes

const long RawPadValue = long.MaxValue
 The value reserved to indicate a pad value in the raw data stream. More...
 
const int ScaledPadValue = 9999999
 The value reserved to indicate a pad value in the scaled data stream. More...
 

Properties

ChannelConfiguration Configuration [get, set]
 Describes the device configuration options that have been set for this channel. More...
 
- Properties inherited from GLNeuroTech.Devices.Common.Signal
SignalGroup Owner [get]
 The SignalGroup to which this signal belongs. More...
 
int SamplesPerSecond [get, set]
 The number of samples transmitted by the device in one second. More...
 
TimeSpan SampleInterval [get, set]
 The time interval between sample readings. More...
 
double MaxValue [get, set]
 The maximum scaled value that this signal supports. More...
 
double MinValue [get, set]
 The miniumum scaled value that this signal supports. More...
 
double RawMinValue [get, set]
 The minimum unscaled value that this signal supports. More...
 
double RawMaxValue [get, set]
 The maximum unscaled value that this signal supports. More...
 
string Name [get, set]
 The name associated with this signal. More...
 
string Units [get, set]
 The units of measurement in which scaled values are reported. More...
 
int ReadingsAvailable [get, set]
 The number of samples available to be read More...
 
bool Enabled [get, set]
 Indicates whether the signal is enabled. More...
 

Additional Inherited Members

- Public Member Functions inherited from GLNeuroTech.Devices.Common.Signal
void Reset ()
 Clears any data in the input buffer for this signal. More...
 
void AddSample (uint timeStamp, long rawValue)
 Add Sample More...
 
long GetNextRawValue ()
 Returns the next raw sensor value in the buffer. More...
 
double [] GetScaledValueArray ()
 Used to retrieve an array of scaled sample values from the signal More...
 
double [] GetScaledValueArray (int count)
 Creates an array of values representing the samples from the signal. More...
 
IEnumerable< double > GetScaledValues ()
 Enumerates over all scaled values currently in the signal buffer. More...
 
long [] GetRawValueArray (int count)
 Gets an array of raw (unscaled) values from the signal. More...
 
IEnumerable< long > GetRawValues (int count)
 Enumerates over raw values in the signal buffer. More...
 
IEnumerable< long > GetRawValues ()
 Enumerates over raw values in the signal buffer. More...
 
Sample GetNextSample ()
 Used to retrieve the next Sample object in the signal buffer. More...
 
IEnumerable< SampleGetSamples ()
 Iterates over all samples currently in the signal buffer. More...
 
void Dispose ()
 
- Protected Member Functions inherited from GLNeuroTech.Devices.Common.Signal
 Signal ()
 

Detailed Description

Represents a BioRadio signal. This class can be used to read the configuration and any data that has been received during streaming.

Member Data Documentation

◆ RawPadValue

const long GLNeuroTech.Devices.BioRadio.BioRadioSignal.RawPadValue = long.MaxValue

The value reserved to indicate a pad value in the raw data stream.

◆ ScaledPadValue

const int GLNeuroTech.Devices.BioRadio.BioRadioSignal.ScaledPadValue = 9999999

The value reserved to indicate a pad value in the scaled data stream.

Property Documentation

◆ Configuration

ChannelConfiguration GLNeuroTech.Devices.BioRadio.BioRadioSignal.Configuration
getset

Describes the device configuration options that have been set for this channel.