Method IsMatrixCrosspointConnected
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
IsMatrixCrosspointConnected(int, string, string)
Returns a value indicating whether the specified matrix crosspoint is connected.
public virtual bool IsMatrixCrosspointConnected(int pid, string input, string output)
Parameters
pid
intThe ID of the matrix parameter.
input
stringThe matrix input.
output
stringThe matrix output.
Returns
- bool
true
if the specified matrix crosspoint is connected; otherwise,false
.
Examples
Element element = engine.FindElement(400, 2000);
bool isConnected = element.IsMatrixCrosspointConnected(1000, "Input 1", "Output 7");
Exceptions
- DataMinerException
The matrix parameter was not found.
-or-
There is no matrix input with the specified input label..
-or-
There is no matrix output with the specified output label.
IsMatrixCrosspointConnected(string, int, int)
Returns a value indicating whether the specified matrix crosspoint is connected.
public virtual bool IsMatrixCrosspointConnected(string name, int input, int output)
Parameters
name
stringThe name of the matrix parameter.
input
intThe matrix input.
output
intThe matrix output.
Returns
- bool
true
if the specified matrix crosspoint is connected; otherwise,false
.
Examples
Element element = engine.FindElement(400, 2000);
bool isConnected = element.IsMatrixCrosspointConnected("Example matrix", 1, 7);
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 matrix parameter was not found.
-or-input
is not in the range 1..nrOfInputs.
-or-output
is not in the range 1..nrOfOutputs.
IsMatrixCrosspointConnected(int, int, int)
Returns a value indicating whether the specified matrix crosspoint is connected.
public virtual bool IsMatrixCrosspointConnected(int pid, int input, int output)
Parameters
Returns
- bool
true
if the specified matrix crosspoint is connected; otherwise,false
.
Examples
Element element = engine.FindElement(400, 2000);
bool isConnected = element.IsMatrixCrosspointConnected(1000, 1, 7);
Remarks
input
must be in the range 1..nrOfInputs.
output
must be in the range 1..nrOfOutputs.
Exceptions
- DataMinerException
The matrix parameter was not found.
-or-input
is not in the range 1..nrOfInputs.
-or-output
is not in the range 1..nrOfOutputs.
IsMatrixCrosspointConnected(string, string, string)
Returns a value indicating whether the specified matrix crosspoint is connected.
public virtual bool IsMatrixCrosspointConnected(string name, string input, string output)
Parameters
name
stringThe name of the matrix parameter.
input
stringThe matrix input.
output
stringThe matrix output.
Returns
- bool
true
if the specified matrix crosspoint is connected; otherwise,false
.
Examples
Element element = engine.FindElement(400, 2000);
bool isConnected = element.IsMatrixCrosspointConnected("Example matrix", "Input 1", "Output 7");
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 matrix parameter was not found.
-or-
There is no matrix input with the specified input label..
-or-
There is no matrix output with the specified output label.