Location Research Breakthrough Possible @S-Logix pro@slogix.in

How To Change The Simulation Time In Contiki Cooja Simulator?

Change The Simulation Time In Contiki Cooja Simulator

Contiki Cooja Simulator Steps to Change The Simulation Time

  • Description:
    Script editor window is used to calculate the different types of performances of a network. It is also used to change the simulation time as per our requirement.
Step-1
  • Set up the network simulation environment in cooja simulator.
    the network simulation environment in cooja simulator
Step-2
  • Open the Simulation script editor tool from the tools menu.
    Open the Simulation script editor tool from the tools menu
    These are the default options of examples script.
Step-2
  • Change the simulation time in the script editor window.
  • In the script editor window first line mention the simulation time. We can change the simulation time as per our wish.
  • It will execute the simulation until the simulation time will be finished.
    TIMEOUT(100000, log.log("last msg: " + msg + "\n"));