Method IsMatrixCrosspointConnected
- Namespace
- Skyline.Data
Miner .Automation
- Assembly
- SLManagedAutomation.dll
IsMatrixCrosspointConnected(int, string, string)
Returns a value indicating whether the specified matrix crosspoint is connected.
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
- Data
Miner Exception 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.
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
- Data
Miner Exception 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.
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
- Data
Miner Exception 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.
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
- Data
Miner Exception 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.