Interface AttenuatorShaping
Attenuator shaping settings.
Namespace: OmicronLab.VectorNetworkAnalysis.AutomationInterface.Interfaces.Shaping
Assembly: OmicronLab.VectorNetworkAnalysis.AutomationInterface.dll (3.50.2911.0)
Syntax
[Guid("743359C3-F4B6-49A2-8998-12ABD46330E2")]
[InterfaceType(ComInterfaceType.InterfaceIsDual)]
[ComVisible(true)]
public interface AttenuatorShaping
Properties
AttenuatorsChannel1
Gets the attenuators for channel 1.
Declaration
Attenuator[] AttenuatorsChannel1 { get; }
Property Value
Type | Description |
---|---|
Attenuator[] | The attenuators for channel 1. |
AttenuatorsChannel2
Gets the attenuators for channel 2.
Declaration
Attenuator[] AttenuatorsChannel2 { get; }
Property Value
Type | Description |
---|---|
Attenuator[] | The attenuators for channel 2. |
FrequenciesChannel1
Gets the get frequencies for channel 1.
Declaration
double[] FrequenciesChannel1 { get; }
Property Value
Type | Description |
---|---|
System.Double[] | The get frequencies for channel 1. |
FrequenciesChannel2
Gets the get frequencies for channel 2.
Declaration
double[] FrequenciesChannel2 { get; }
Property Value
Type | Description |
---|---|
System.Double[] | The get frequencies for channel 2. |
IsEnabled
Gets or sets a value indicating whether this instance is enabled.
Declaration
bool IsEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
ShapedAttenuator
Gets the shaped attenuator of Channel 1 and Channel 2.
Declaration
[ComVisible(false)]
Dictionary<BaseMidLayer.Enumerations.Channel, Dictionary<double, Attenuator>> ShapedAttenuator { get; }
Property Value
Type | Description |
---|---|
Dictionary<BaseMidLayer.Enumerations.Channel, Dictionary<System.Double, Attenuator>> | The shaped attenuator. |
Methods
AddChannel1(Double, Attenuator)
Adds an attenuator to Channel 1.
Declaration
void AddChannel1(double frequency, Attenuator attenuator)
Parameters
Type | Name | Description |
---|---|---|
System.Double | frequency | The frequency. |
Attenuator | attenuator | The attenuator. |
AddChannel2(Double, Attenuator)
Adds an attenuator to Channel 2.
Declaration
void AddChannel2(double frequency, Attenuator attenuator)
Parameters
Type | Name | Description |
---|---|---|
System.Double | frequency | The frequency. |
Attenuator | attenuator | The attenuator. |
ClearChannel1()
Clears all attenuators for channel 1.
Declaration
void ClearChannel1()
ClearChannel2()
Clears all attenuators for channel 2.
Declaration
void ClearChannel2()
RemoveChannel1(Double)
Removes an attenuator for channel 1 at a specified frequency.
Declaration
bool RemoveChannel1(double frequency)
Parameters
Type | Name | Description |
---|---|---|
System.Double | frequency | The frequency. |
Returns
Type | Description |
---|---|
System.Boolean |
|
RemoveChannel2(Double)
Removes an attenuator for channel 2 at a specified frequency.
Declaration
bool RemoveChannel2(double frequency)
Parameters
Type | Name | Description |
---|---|---|
System.Double | frequency | The frequency. |
Returns
Type | Description |
---|---|
System.Boolean |
|