Class TrignoRfCompConfig
Defines how a Trigno RF component should be configured.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: DelsysAPI.Configurations.Component
Assembly: DelsysAPI.dll
Syntax
public class TrignoRfCompConfig : ComponentConfig
Constructors
TrignoRfCompConfig()
Default constructor of a trigno component configuration. Initializes everything, loads the sample modes, and supplies the ConfigType of TrignoRf
Declaration
public TrignoRfCompConfig()
Fields
Bandwidth
Bandwidth of the sensor in this configuration.
Declaration
public int Bandwidth
Field Value
| Type | Description |
|---|---|
| System.Int32 |
SampleMode
Sample mode index of the component configuration.
Declaration
public int SampleMode
Field Value
| Type | Description |
|---|---|
| System.Int32 |
UniversalSampleModes
A dictionary containing every sample mode info to sample mode index.
Declaration
public static Dictionary<RfMode, int> UniversalSampleModes
Field Value
| Type | Description |
|---|---|
| System.Collections.Generic.Dictionary<RfMode, System.Int32> |
Properties
DigitalOutput0
Digital Output Pin 0
Declaration
public bool DigitalOutput0 { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
DigitalOutput1
Digital OutputPin 1
Declaration
public bool DigitalOutput1 { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
DigitalOutput2
Digital Output Pin 2
Declaration
public bool DigitalOutput2 { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
SampleModes
Returns a List of sample modes available for the current component
Declaration
public string[] SampleModes { get; }
Property Value
| Type | Description |
|---|---|
| System.String[] |
Methods
SelectSampleMode(String)
Selects the sample mode for the current component by description.
Declaration
public bool SelectSampleMode(string sampleMode)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | sampleMode |
Returns
| Type | Description |
|---|---|
| System.Boolean |
SetDigitalOutputControl(Boolean, Boolean, Boolean)
Sets the DIOs for the sensor at a software level. These must still be sent to the sensor for configuration.
Declaration
public void SetDigitalOutputControl(bool pin0, bool pin1, bool pin2)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | pin0 | DIO0 |
| System.Boolean | pin1 | DIO1 |
| System.Boolean | pin2 | DIO2 |