Changes between Version 15 and Version 16 of Tutorials/a0Basic/Tutorial2
- Timestamp:
- Nov 22, 2007, 1:21:11 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorials/a0Basic/Tutorial2
v15 v16 5 5 == 1. Developing a Script for an Experiment == 6 6 7 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. 7 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. 8 8 9 9 This script contains the experiment configuration and scenario. More precisely, it includes: … … 14 14 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). 15 15 16 [[Image(OMF-User-View.png)]] 17 [[BR]]Figure 1. Execution of an Experiment from a User's point-of-view 16 18 [[BR]] 17 19 == 2. "Hello World" experiment ==