Table of Contents

Class EL9000BSeriesElectronicLoadModule

Namespace
Loehnert.Lisrt.ElectronicLoad.ElektroAutomatik
Assembly
Loehnert.Lisrt.ElectronicLoad.ElektroAutomatik.dll

Represents a LisRT Module for a EL9000B-Series electronic load by ElektroAutomatik controlled via Modbus TCP.

public class EL9000BSeriesElectronicLoadModule : InitializableCompositeModule, ICompositeModule, ILisrtModule, IInitializable, INotifyPropertyChangedEx, INotifyPropertyChanged, IHasServiceView
Inheritance
PropertyChangedBase
EL9000BSeriesElectronicLoadModule
Implements
INotifyPropertyChangedEx
Inherited Members
PropertyChangedBase.Refresh()
PropertyChangedBase.IsNotifying
PropertyChangedBase.PropertyChanged

Constructors

EL9000BSeriesElectronicLoadModule(string, IModbusMaster)

Initializes a new instance of the EL9000BSeriesElectronicLoadModule class.

public EL9000BSeriesElectronicLoadModule(string name, IModbusMaster modbusMaster)

Parameters

name string

Name for the device.

modbusMaster IModbusMaster

IModbusMaster for communication with the device.

Exceptions

ArgumentNullException

Thrown if modbusMaster is null.

Properties

FunctionMode

Gets the current function mode.

public FunctionMode FunctionMode { get; }

Property Value

FunctionMode

Remarks

Set the function mode with SetFunctionMode(FunctionMode).

InputIsEnabled

Gets a value indicating whether the input of the electronic load is enabled.

public bool InputIsEnabled { get; }

Property Value

bool

MaximumCurrent

Gets or sets maximum current in amperes.

[Configuration(0, Unit = "A")]
public double MaximumCurrent { get; set; }

Property Value

double

MaximumPower

Gets or sets maximum power in watts.

[Configuration(0, Unit = "W")]
public double MaximumPower { get; set; }

Property Value

double

MaximumResistance

Gets or sets maximum resistance in ohms.

[Configuration(0, Unit = "Ω")]
public double MaximumResistance { get; set; }

Property Value

double

MaximumVoltage

Gets or sets maximum voltage in volts.

[Configuration(0, Unit = "V")]
public double MaximumVoltage { get; set; }

Property Value

double

ReloadValuesFromDeviceIsActive

Gets or sets a value indicating whether the value setting methods reload the values from the device.

[Configuration(true, Description = "Indicates whether the set point should be read back after a set point change.")]
public bool ReloadValuesFromDeviceIsActive { get; set; }

Property Value

bool

Remarks

Default is false. For example if true, SetCurrent(double) sets the value and sets the SetpointCurrent with the value read from from the device.

SetpointCurrent

Gets the setpoint current in amperes.

public double SetpointCurrent { get; }

Property Value

double

SetpointPower

Gets the setpoint power in watts.

public double SetpointPower { get; }

Property Value

double

SetpointResistance

Gets the setpoint resistance in ohms.

public double SetpointResistance { get; }

Property Value

double

SetpointVoltage

Gets the setpoint voltage in volts.

public double SetpointVoltage { get; }

Property Value

double

Methods

DisableInput()

Turns the input off.

public void DisableInput()

Exceptions

NotInitializedException

Thrown when the module is not initialized.

EnableInput()

Turns the input on.

public void EnableInput()

Exceptions

NotInitializedException

Thrown when the module is not initialized.

Exit()

De-Initializes the object.

public override void Exit()

Initialize()

Initializes the object.

public override void Initialize()

Exceptions

InvalidOperationException

Thrown if any maximum value doesn't match rated value.

SetCurrent(double)

Sets the value for regulated input current.

public void SetCurrent(double current)

Parameters

current double

Current to set in amperes.

Exceptions

NotInitializedException

Thrown when the module is not initialized.

ArgumentOutOfRangeException

Thrown when the value is greater than MaximumCurrent.

SetFunctionMode(FunctionMode)

Sets the function mode for regulation of the electronic load.

public void SetFunctionMode(FunctionMode functionMode)

Parameters

functionMode FunctionMode

Function mode to set.

Exceptions

NotInitializedException

Thrown when the module is not initialized.

SetPower(double)

Sets the value for regulated input power.

public void SetPower(double power)

Parameters

power double

Power to set in watts.

Exceptions

NotInitializedException

Thrown when the module is not initialized.

ArgumentOutOfRangeException

Thrown when the value is greater than MaximumPower.

SetResistance(double)

Sets the value for regulated input resistance.

public void SetResistance(double resistance)

Parameters

resistance double

Resistance to set in ohms.

Exceptions

NotInitializedException

Thrown when the module is not initialized.

ArgumentOutOfRangeException

Thrown when the value is greater than MaximumResistance.

SetVoltage(double)

Sets the value for regulated input voltage.

public void SetVoltage(double voltage)

Parameters

voltage double

Voltage to set in volts.

Exceptions

NotInitializedException

Thrown when the module is not initialized.

ArgumentOutOfRangeException

Thrown when the value is greater than MaximumVoltage.

ShowServiceView()

Shows the service window.

public void ShowServiceView()