Method MatrixSetFollowMode
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
MatrixSetFollowMode(int, int, bool)
Enables or disables the ‘follow mode’ of the specified matrix output.
public virtual void MatrixSetFollowMode(int pid, int index, bool mode)Parameters
- pidint
- The ID of the matrix parameter. 
- indexint
- The index of the output. 
- modebool
- trueif ‘follow mode’ must be enabled; otherwise,- false.
Examples
var dummy = engine.GetDummy("dummy1");
dummy.MatrixSetFollowMode(1000, 10, false);Remarks
index must be in the range 1..nrOfOutputs.
Exceptions
- DataMinerException
- The matrix parameter was not found. 
 -or-
 - indexis not in the range 1..nrOfOutputs.
MatrixSetFollowMode(int, string, bool)
Enables or disables the ‘follow mode’ of the specified matrix output.
public virtual void MatrixSetFollowMode(int pid, string outputLabel, bool mode)Parameters
- pidint
- The ID of the matrix parameter. 
- outputLabelstring
- The label of the output. 
- modebool
- trueif ‘follow mode’ must be enabled; otherwise,- false.
Examples
var dummy = engine.GetDummy("dummy1");
dummy.MatrixSetFollowMode(1000, "Output 10", false);Exceptions
- DataMinerException
- The matrix parameter was not found. 
 -or-
 There is no output with the specified label.
MatrixSetFollowMode(string, int, bool)
Enables or disables the ‘follow mode’ 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 MatrixSetFollowMode(string parameterName, int index, bool mode)Parameters
- parameterNamestring
- The name of the matrix parameter. 
- indexint
- The index of the output. 
- modebool
- trueif ‘follow mode’ must be enabled; otherwise,- false.
Examples
var dummy = engine.GetDummy("dummy1");
dummy.MatrixSetFollowMode("Example Matrix", 10, false);Remarks
index must be in the range 1..nrOfOutputs.
Exceptions
- DataMinerException
- The matrix parameter was not found. 
 -or-
 - indexis not in the range 1..nrOfOutputs.
MatrixSetFollowMode(string, string, bool)
Enables or disables the ‘follow mode’ 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 MatrixSetFollowMode(string parameterName, string outputLabel, bool mode)Parameters
- parameterNamestring
- The name of the matrix parameter. 
- outputLabelstring
- The label of the output. 
- modebool
- trueif ‘follow mode’ must be enabled; otherwise,- false.
Examples
var dummy = engine.GetDummy("dummy1");
dummy.MatrixSetFollowMode("Example Matrix", "Output 10", false);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.