Method MatrixSetFollowMaster
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
MatrixSetFollowMaster(int, int, int)
Configures a slave output to follow a master output on the specified matrix.
public virtual void MatrixSetFollowMaster(int pid, int master, int slave)
Parameters
pidintThe ID of the matrix parameter.
masterintThe index of the master output.
slaveintThe index of the slave output.
Examples
Element element = engine.FindElement(400, 2000);
element.MatrixSetFollowMaster(1000, 4, 6);
Remarks
master must be in the range 1..nrOfOutputs.
slave must be in the range 1..nrOfOutputs.
Exceptions
- DataMinerException
The matrix parameter was not found.
-or-
masteris not in the range 1..nrOfOutputs.
-or-
slaveis not in the range 1..nrOfOutputs.
MatrixSetFollowMaster(int, string, string)
Configures a slave output to follow a master output on the specified matrix.
public virtual void MatrixSetFollowMaster(int pid, string masterLabel, string slaveLabel)
Parameters
pidintThe ID of the matrix parameter.
masterLabelstringThe label of the master output.
slaveLabelstringThe label of the slave output.
Examples
Element element = engine.FindElement(400, 2000);
element.MatrixSetFollowMaster(1000, "Output 4", "Output 6");
Exceptions
- DataMinerException
The matrix parameter was not found.
-or-
There is no output with the specified master label.
-or-
There is no output with the specified slave label.
MatrixSetFollowMaster(string, int, int)
Configures a slave output to follow a master output on the specified matrix.
public virtual void MatrixSetFollowMaster(string parameterName, int master, int slave)
Parameters
parameterNamestringThe name of the matrix parameter.
masterintThe index of the master output.
slaveintThe index of the slave output.
Examples
Element element = engine.FindElement(400, 2000);
element.MatrixSetFollowMaster("Example Matrix", 4, 6);
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.
master must be in the range 1..nrOfOutputs.
slave must be in the range 1..nrOfOutputs.
Exceptions
- DataMinerException
The matrix parameter was not found.
-or-
masteris not in the range 1..nrOfOutputs.
-or-
slaveis not in the range 1..nrOfOutputs.
MatrixSetFollowMaster(string, string, string)
Configures a slave output to follow a master output on the specified matrix.
public virtual void MatrixSetFollowMaster(string parameterName, string masterLabel, string slaveLabel)
Parameters
parameterNamestringThe name of the matrix parameter.
masterLabelstringThe label of the master output.
slaveLabelstringThe label of the slave output.
Examples
Element element = engine.FindElement(400, 2000);
element.MatrixSetFollowMaster("Example Matrix", "Output 4", "Output 6");
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 master label.
-or-
There is no output with the specified slave label.