Table of Contents

Method SpectrumIsMonitorEnabled

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

SpectrumIsMonitorEnabled(string)

Returns a value indicating whether the specified spectrum monitor is enabled.

public virtual bool SpectrumIsMonitorEnabled(string monitorName)

Parameters

monitorName string

The name of the spectrum monitor.

Returns

bool

true if the specified spectrum monitor is enabled; otherwise, false.

Examples

var element = engine.FindElement("MySpectrumElement");
bool isEnabled = element.SpectrumIsMonitorEnabled("MyMonitorName ");

SpectrumIsMonitorEnabled(int)

Returns a value indicating whether the specified spectrum monitor is enabled.

public virtual bool SpectrumIsMonitorEnabled(int monitorId)

Parameters

monitorId int

The ID of the spectrum monitor.

Returns

bool

true if the specified spectrum monitor is enabled; otherwise, false.

Examples

var element = engine.FindElement(10);
bool isEnabled = element.SpectrumIsMonitorEnabled("MyMonitorName ");