Changes between Version 29 and Version 30 of Tutorials/a0Basic/Tutorial2


Ignore:
Timestamp:
Feb 12, 2013, 5:26:02 PM (11 years ago)
Author:
digitalphen
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/a0Basic/Tutorial2

    v29 v30  
    1 [wiki:Tutorial Back]
    2 [[TOC(heading=Tutorial TOC, Tutorial, Tutorial/HelloWorld, depth=2)]]
     1[wiki:Tutorials Back]
     2[[TOC(heading=Tutorial TOC, Tutorials, Tutorials/HelloWorld, depth=2)]]
    33
    44= Basic Tutorial: Hello World Example =
     
    66== 1. Developing a Script for an Experiment ==
    77
    8 As explained in the previous [wiki:Tutorial/Testbed overview] page, to run an experiment on the testbed a user needs to first describes this experiment in a ''script''. This ''script'' is then passed on to a '''Node Handler''', which will use it to run and control the experiment execution. This process is illustrated on the following fig 1.
    9 
    10 This script contains the experiment configuration and scenario. More precisely, it includes:
     8As explained in the previous [wiki:NodeHandler/Tutorial/Testbed overview] page, to run an experiment on the testbed a user needs to first describe the experiment in a ''script''. This ''script'' is then passed on to a '''Node Handler''', which will use it to run and control the experiment execution. This process is illustrated in figure 1.
     9
     10This script contains the experiment configuration and scenario.  More precisely, it includes:
    1111 * a description of the required resources (e.g. nodes on the testbed, applications to run),
    1212 * their initializations and optional associations (e.g. nodeX is connected to NodeY, all nodes use channel 6 of 802.11g),
    1313 * a description of their operation throughout the experiment duration (e.g. applicationX starts at T0 and run for 60sec, nodeY switch wireless configuration after 100sec). 
    1414
    15 ORBIT experiment scripts are written using the Ruby scripting language. However, a user does '''not''' necessary need to be familiar with Ruby to be able to write and run simple experiments. The only prerequisite skills are some prior basic knowledge and practice of any other scripting and/or programming languages (e.g. python, perl, c, java,...). Of course, to be able to develop more complex experiment, a user will have to learn basics of Ruby and read about ORBIT-specific Ruby methods at some stage (more on these two issues at the end of this tutorial).
     15ORBIT experiment scripts are written using the Ruby scripting language. However, a user does '''not''' necessarily need to be familiar with Ruby to be able to write and run simple experiments. The only prerequisite skills are some prior basic knowledge and practice of any other scripting and/or programming languages (e.g. python, perl, c, java,...). Of course, to be able to develop more complex experiments a user will have to learn basics of Ruby and read about ORBIT-specific Ruby methods at some stage (more on these two issues at the end of this tutorial).
    1616
    1717[[Image(OMF-User-View.png)]]