Method MatrixEnableOutputLine
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
MatrixEnableOutputLine(int, int, bool)
Enables or disables the specified matrix output.
public virtual void MatrixEnableOutputLine(int pid, int index, bool state)
Parameters
pid
intThe ID of the matrix parameter.
index
intThe index of the output.
state
booltrue
to enable the output; otherwise,false
.
Examples
Element element = engine.FindElement(400, 2000);
element.MatrixEnableOutputLine(1000, 2, false);
Remarks
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.
MatrixEnableOutputLine(int, string, bool)
Enables or disables the specified matrix output.
public virtual void MatrixEnableOutputLine(int pid, string outputLineLabel, bool state)
Parameters
pid
intThe ID of the matrix parameter.
outputLineLabel
stringThe label of the output.
state
booltrue
to enable the output; otherwise,false
.
Examples
Element element = engine.FindElement(400, 2000);
element.MatrixEnableOutputLine(1000, "Output 2", false);
Exceptions
- DataMinerException
The matrix parameter was not found.
-or-
There is no output with the specified label.
MatrixEnableOutputLine(string, int, bool)
Enables or disables the specified matrix output.
public virtual void MatrixEnableOutputLine(string parameterName, int index, bool state)
Parameters
parameterName
stringThe name of the matrix parameter.
index
intThe index of the output.
state
booltrue
to enable the output; otherwise,false
.
Examples
Element element = engine.FindElement(400, 2000);
element.MatrixEnableOutputLine("Example Matrix", 2, false);
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.
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.
MatrixEnableOutputLine(string, string, bool)
Enables or disables the specified matrix output.
public virtual void MatrixEnableOutputLine(string parameterName, string outputLineLabel, bool state)
Parameters
parameterName
stringThe name of the matrix parameter.
outputLineLabel
stringThe label of the output.
state
booltrue
to enable the output; otherwise,false
.
Examples
Element element = engine.FindElement(400, 2000);
element.MatrixEnableOutputLine("Example Matrix", "Output 2", false);
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.