Table of Contents

Creating a simulated element

To create a simulated element:

  1. Verify if a simulation file is available that uses the relevant protocol. To do so, in the folder C:\Skyline DataMiner\simulations\, look for an .xml file with a file name consisting of the term "Simulation" and the name of the protocol.

    If no simulation file is available yet, it will first need to be created. See Creating a simulation file.

  2. In DataMiner Cube, right-click the view where you want to create the simulated element, and select New > Element.

  3. Enter the element name and protocol, like during the creation of a normal element. See Adding elements.

  4. For the IP address and port, enter the localhost IP, 127.0.0.1, and specify a port that is not used.

  5. Finish element creation as for a normal element.

    The element will be added in the Surveyor, and should go into timeout state after a short time.

  6. Right-click the element, and select Actions > Enable simulation. The element will then restart and begin using the simulation file for its responses.

    Note
    • Make sure you only do this with elements for which there is a simulation file in the folder C:\Skyline DataMiner\simulations\. Otherwise, the element will become unresponsive.
    • Simulations of elements with HTTP protocols are currently not yet supported.
Tip

See also: Simulated elements

Note

To create a simulated spectrum element, use the Skyline Spectrum Simulation connector.

Creating a simulation file

To create a simulation file based on an element in DataMiner Cube:

  1. Right-click the element for which you want to create a simulation file.

  2. In the context menu, select Actions > Create simulation.

    A message box will appear to indicate that the simulation file has been created.

  3. Click OK in the message box.

  4. On the DMA, go to the following directory: C:\Skyline DataMiner\Protocols\NAME\VERSION\

  5. Copy the file named Simulation_ELEMENTNAME.xml to the following directory: C:\Skyline DataMiner\simulations\

  6. Restart the DMA.

Note

DataMiner will automatically use the simulation file of which the protocol and version attributes match the protocol and protocol version of the element. If no such file can be found, then the one of which only the protocol attribute matches the protocol of the element will be used. If you have several simulation files for the same protocol and version and want one specific file to be used, make sure only that file is present in the C:\Skyline DataMiner\simulations\ folder.