Method MatrixSetFollowMode
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
MatrixSetFollowMode(int, int, bool)
Enables or disables the ‘follow mode’ of the specified matrix output.
public virtual void MatrixSetFollowMode(int pid, int index, bool mode)
Parameters
pid
intThe ID of the matrix parameter.
index
intThe index of the output.
mode
booltrue
if ‘follow mode’ must be enabled; otherwise,false
.
Examples
Element element = engine.FindElement(400, 2000);
element.MatrixSetFollowMode(1000, 10, 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.
MatrixSetFollowMode(int, string, bool)
Enables or disables the ‘follow mode’ of the specified matrix output.
public virtual void MatrixSetFollowMode(int pid, string outputLabel, bool mode)
Parameters
pid
intThe ID of the matrix parameter.
outputLabel
stringThe label of the output.
mode
booltrue
if ‘follow mode’ must be enabled; otherwise,false
.
Examples
Element element = engine.FindElement(400, 2000);
element.MatrixSetFollowMode(1000, "Output 10", false);
Exceptions
- DataMinerException
The matrix parameter was not found.
-or-
There is no output with the specified label.
MatrixSetFollowMode(string, int, bool)
Enables or disables the ‘follow mode’ of the specified matrix output.
public virtual void MatrixSetFollowMode(string parameterName, int index, bool mode)
Parameters
parameterName
stringThe name of the matrix parameter.
index
intThe index of the output.
mode
booltrue
if ‘follow mode’ must be enabled; otherwise,false
.
Examples
Element element = engine.FindElement(400, 2000);
element.MatrixSetFollowMode("Example Matrix", 10, 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.
MatrixSetFollowMode(string, string, bool)
Enables or disables the ‘follow mode’ of the specified matrix output.
public virtual void MatrixSetFollowMode(string parameterName, string outputLabel, bool mode)
Parameters
parameterName
stringThe name of the matrix parameter.
outputLabel
stringThe label of the output.
mode
booltrue
if ‘follow mode’ must be enabled; otherwise,false
.
Examples
Element element = engine.FindElement(400, 2000);
element.MatrixSetFollowMode("Example Matrix", "Output 10", 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.