Table of Contents

Class SimulationHelper

Namespace
Skyline.DataMiner.Net.SimulationHelper
Assembly
SLNetTypes.dll

This helper class allows you to load, enable and disable element simulations at runtime from within protocol QActions or Automation scripts without having to restart DataMiner.

public class SimulationHelper
Inheritance
SimulationHelper
Extension Methods

Examples

This example shows how you can use this in an Automation script.

var simulationHelper = new SimulationHelper(Engine.SLNet.SendMessages);
simulationHelper.LoadSimulations();

Remarks

Available from DataMiner 10.1.6 (RN 29517) onwards.

Constructors

SimulationHelper(Func<DMSMessage[], DMSMessage[]>)

Initializes a new instance of the SimulationHelper class.

Methods

DisableSimulation(int, int, int)

Disables a simulation on a specific element.

note

The simulation needs to be loaded in memory of DataMiner at startup. If that was not the case, all simulations can be reloaded with LoadSimulations(int).

EnableSimulation(int, int, int)

Enables a simulation on the specified element.

note

The simulation needs to be loaded in memory of DataMiner at startup. If that was not the case, all simulations can be reloaded with LoadSimulations(int).

LoadSimulations(int)

Loads all simulation files stored under the Simulations folder on a specific agent.