Method MatrixIsOutputLineEnabled
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
MatrixIsOutputLineEnabled(string, int)
Gets a value indicating whether the specified matrix output is enabled.
public virtual bool MatrixIsOutputLineEnabled(string parameterName, int index)
Parameters
Returns
- bool
true
if the specified matrix output is enabled; otherwise,false
.
Examples
Element element = engine.FindElement(400, 2000);
bool isOutputEnabled = element.MatrixIsOutputLineEnabled("Example Matrix", 4);
Remarks
The specified output index must be in the range 1..nrOfOutputs.
Exceptions
- DataMinerException
The matrix parameter was not found.
-or-index
is not in the range 1..nrOfOutputs.
MatrixIsOutputLineEnabled(int, int)
Gets a value indicating whether the specified matrix output is enabled.
public virtual bool MatrixIsOutputLineEnabled(int pid, int index)
Parameters
Returns
- bool
true
if the specified matrix output is enabled; otherwise,false
.
Examples
Element element = engine.FindElement(400, 2000);
bool isOutputEnabled = element.MatrixIsOutputLineEnabled(1000, 4);
Remarks
The specified output index must be in the range 1..nrOfOutputs.
Exceptions
- DataMinerException
The matrix parameter was not found.
-or-index
is not in the range 1..nrOfOutputs.
MatrixIsOutputLineEnabled(int, string)
Gets a value indicating whether the specified matrix output is enabled.
public virtual bool MatrixIsOutputLineEnabled(int pid, string lineLabel)
Parameters
Returns
- bool
true
if the specified matrix output is enabled; otherwise,false
.
Examples
Element element = engine.FindElement(400, 2000);
bool isOutputEnabled = element.MatrixIsOutputLineEnabled(1000, "Output 4");
Exceptions
- DataMinerException
The matrix parameter was not found.
-or-
There is no output with the specified label.
MatrixIsOutputLineEnabled(string, string)
Gets a value indicating whether the specified matrix output is enabled.
public virtual bool MatrixIsOutputLineEnabled(string parameterName, string lineLabel)
Parameters
parameterName
stringThe name of the matrix parameter.
lineLabel
stringThe label of the matrix output.
Returns
- bool
true
if the specified matrix output is enabled; otherwise,false
.
Examples
Element element = engine.FindElement(400, 2000);
bool isOutputEnabled = element.MatrixIsInputLineEnabled("Example Matrix", "Output 4");
Remarks
The specified value for the parameterName
argument should be the value of the Description tag of the parameter and not the value of the Name tag.
Exceptions
- DataMinerException
The matrix parameter was not found.
-or-
There is no output with the specified label.