Table of Contents

Method MatrixSetOutputLabel

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

MatrixSetOutputLabel(int, string, string)

Sets the label of the specified matrix output.

public virtual void MatrixSetOutputLabel(int pid, string oldName, string newName)

Parameters

pid int

The ID of the matrix parameter.

oldName string

The label of the output.

newName string

The new output label.

Examples

var dummy = engine.GetDummy("dummy1");
dummy.MatrixSetOutputLabel(1000, "Output 1", "A");

Exceptions

DataMinerException

The matrix parameter was not found.
-or-
There is no output with the specified label.

MatrixSetOutputLabel(int, int, string)

Sets the label of the specified matrix output.

public virtual void MatrixSetOutputLabel(int pid, int index, string newName)

Parameters

pid int

The ID of the matrix parameter.

index int

The index of the output.

newName string

The new output label.

Examples

var dummy = engine.GetDummy("dummy1");
dummy.MatrixSetOutputLabel(1000, 10, "A");

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.

MatrixSetOutputLabel(string, int, string)

Sets the label of the specified matrix output.

note

Please use an overload that takes the parameter ID instead to prevent issues in case the parameter Description changes.

[Obsolete("Use overloads with parameter ID instead of name.")]
public virtual void MatrixSetOutputLabel(string parameterName, int index, string newName)

Parameters

parameterName string

The name of the matrix parameter.

index int

The index of the output.

newName string

The new output label.

Examples

var dummy = engine.GetDummy("dummy1");
dummy.MatrixSetOutputLabel("Example Matrix", 10, "A");

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.

MatrixSetOutputLabel(string, string, string)

Sets the label of the specified matrix output.

note

Please use an overload that takes the parameter ID instead to prevent issues in case the parameter Description changes.

[Obsolete("Use overloads with parameter ID instead of name.")]
public virtual void MatrixSetOutputLabel(string parameterName, string oldName, string newName)

Parameters

parameterName string

The name of the matrix parameter.

oldName string

The label of the output.

newName string

The new output label.

Examples

var dummy = engine.GetDummy("dummy1");
dummy.MatrixSetOutputLabel("Example Matrix", "Output 1", "A");

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.