MetaWear C# SDK  1.2.0
C# API for MbientLab's sensor platform
Classes | Enumerations
MbientLab.MetaWear.Builder Namespace Reference

Classes

interface  IRouteBranchEnd
 Route element for enforcing that users call To or Index(int) immediately after a terminating branch More...
 
interface  IRouteComponent
 Component in a route definition More...
 
interface  IRouteMulticast
 Route element for enforcing that users call To immediately after declaring a multicast More...
 
interface  IRouteSplit
 RouteComponent for enforcing that users call Index(int) immediately after splitting data More...
 

Enumerations

enum  Function1 { AbsValue, Rms, Rss, Sqrt }
 1 operand functions that operate on sensor or processor data More...
 
enum  Function2 {
  Add, Multiply, Divide, Modulus,
  Exponent, LeftShift, RightShift, Subtract,
  Constant
}
 2 operand functions that operate on sensor or processor data More...
 
enum  Passthrough { All, Conditional, Count }
 Operation modes for the passthrough limiter More...
 
enum  ComparisonOutput { ComparisonOutput.Absolute, ComparisonOutput.PassFail, ComparisonOutput.Reference, ComparisonOutput.Zone }
 Output modes for the comparison filter, only supported by firmware v1.2.3 or higher More...
 
enum  Comparison {
  Eq, Neq, Lt, Lte,
  Gt, Gte
}
 Supported comparison operations More...
 
enum  Pulse { Pulse.Width, Pulse.Area, Pulse.Peak, Pulse.OnDetect }
 Output types of the pulse finder More...
 
enum  Threshold { Threshold.Absolute, Threshold.Binary }
 Output modes for the threshold filter More...
 
enum  Differential { Differential.Absolute, Differential.Differential, Differential.Binary }
 Output modes for the differential filter More...
 
enum  AccountType { AccountType.Count, AccountType.Time }
 Types of information the accounter processor can append to the data More...
 

Enumeration Type Documentation

◆ AccountType

Types of information the accounter processor can append to the data

Enumerator
Count 

Append a looping counter to all data. This counter is accessed by calling IData.Extra<T> with the

uint type.

Time 

Extra information used to calculate actual timestamps for streamed data

◆ Comparison

Supported comparison operations

◆ ComparisonOutput

Output modes for the comparison filter, only supported by firmware v1.2.3 or higher

Enumerator
Absolute 

Input value is returned when the comparison is satisfied

PassFail 

The reference value that satisfies the comparison is returned, no output if none match

Reference 

The index (0 based) of the value that satisfies the comparison is returned, n if none match

Zone 

0 if comparison failed, 1 if it passed

◆ Differential

Output modes for the differential filter

Enumerator
Absolute 

Return the data as is

Differential 

Return the difference between the value and its reference point

Binary 

1 if the difference is positive, -1 if negative

◆ Function1

1 operand functions that operate on sensor or processor data

◆ Function2

2 operand functions that operate on sensor or processor data

◆ Passthrough

Operation modes for the passthrough limiter

◆ Pulse

Output types of the pulse finder

Enumerator
Width 

Returns the number of samples in the pulse

Area 

Returns a running sum of all samples in the pulse

Peak 

Returns the highest sample value in the pulse

OnDetect 

Returns 0x1 as soon as a pulse is detected

◆ Threshold

Output modes for the threshold filter

Enumerator
Absolute 

Return the data as is

Binary 

1 if the data exceeded the threshold, -1 if below