Method ConnectMatrixCrosspoint
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
ConnectMatrixCrosspoint(int, string, string)
Connects the specified matrix crosspoint.
public virtual void ConnectMatrixCrosspoint(int pid, string input, string output)
Parameters
pid
intThe ID of the matrix write parameter.
input
stringThe label of the matrix input.
output
stringThe label of the matrix output.
Examples
Element element = engine.FindElement(400, 2000);
element.ConnectMatrixCrosspoint(1000, "Input 1", "Output 10");
Exceptions
- DataMinerException
The specified matrix parameter was not found.
-or-
There is no input with the specified input label.
-or-
There is no output with the specified output label.
ConnectMatrixCrosspoint(string, string, string)
Connects the specified matrix crosspoint.
public virtual void ConnectMatrixCrosspoint(string name, string input, string output)
Parameters
name
stringThe name of the matrix parameter.
input
stringThe label of the matrix input.
output
stringThe label of the matrix output.
Examples
Element element = engine.FindElement(400, 2000);
element.ConnectMatrixCrosspoint("Example matrix", "Input 1", "Output 10");
Remarks
The specified value for the name
argument should be the value of the Description tag of the parameter and not the value of the Name tag.
Exceptions
- DataMinerException
The specified matrix parameter was not found.
-or-
There is no input with the specified input label.
-or-
There is no output with the specified output label.
ConnectMatrixCrosspoint(int, int, int)
Connects the specified matrix crosspoint.
public virtual void ConnectMatrixCrosspoint(int pid, int input, int output)
Parameters
pid
intThe ID of the matrix write parameter.
input
intThe index of the matrix input.
output
intThe index of the matrix output.
Examples
Element element = engine.FindElement(400, 2000);
element.ConnectMatrixCrosspoint(1000, 1, 10);
Remarks
The input must be in the range 1..nrOfInputs.
The output must be in the range 1..nrOfOutputs.
Exceptions
- DataMinerException
The specified matrix parameter was not found.
-or-input
is not in the range 1..nrOfInputs.
-or-output
is not in the range 1..nrOfOutputs.
ConnectMatrixCrosspoint(string, int, int)
Connects the specified matrix crosspoint.
public virtual void ConnectMatrixCrosspoint(string name, int input, int output)
Parameters
name
stringThe name of the matrix parameter.
input
intThe index of the matrix input.
output
intThe index of the matrix output.
Examples
Element element = engine.FindElement(400, 2000);
element.ConnectMatrixCrosspoint("Example matrix", 1, 10);
Remarks
The specified value for the name
argument should be the value of the Description tag of the parameter and not the value of the Name tag.
input
must be in the range 1..nrOfInputs.
output
must be in the range 1..nrOfOutputs.
Exceptions
- DataMinerException
The specified matrix parameter was not found.
-or-input
is not in the range 1..nrOfInputs.
-or-output
is not in the range 1..nrOfOutputs.