Table of Contents

Interface IAnalogOutput

Namespace
Loehnert.IO.Contracts
Assembly
Loehnert.IO.dll

Provides functionality for an analog output.

public interface IAnalogOutput : IHasKey, IHasDescription
Inherited Members

Properties

Actuator

Gets or sets an actuator.

IActuator Actuator { get; set; }

Property Value

IActuator

Adjustment

Gets or sets the adjustment.

IAdjustment Adjustment { get; set; }

Property Value

IAdjustment

UnadjustedValue

Gets the value, that isn't adjusted by Adjustment.

double UnadjustedValue { get; }

Property Value

double

UnscaledValue

Gets the real value of the analog output, not scaled by Actuator and not adjusted by Adjustment. Usually in V or mA.

double UnscaledValue { get; }

Property Value

double

Value

Gets or sets the value.

double Value { get; set; }

Property Value

double

Methods

GetValue()

Gets the actual actuator value.

double GetValue()

Returns

double

The actual actuator value.

Examples

Implement like:

Adjustment.RevertScale(Actuator.RevertScale(this.OutputValue))

SetValue(double)

Sets the value for the actuator, e. g. the 1/s.

void SetValue(double value)

Parameters

value double

Value for the actuator.

Examples

Implement like:

this.OutputValue = Adjustment.Scale(Actuator.Scale(value))