Table of Contents

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 int

The ID of the matrix parameter.

index int

The index of the output.

mode bool

true 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 int

The ID of the matrix parameter.

outputLabel string

The label of the output.

mode bool

true 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 string

The name of the matrix parameter.

index int

The index of the output.

mode bool

true 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 string

The name of the matrix parameter.

outputLabel string

The label of the output.

mode bool

true 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.