EDL Creator (EdlNew)

Introduction

EDL Creator, or EdlNew, is a Java program that creates the skeleton of an EDL document. It can be downloaded from SourceForge.

Creating an EDL document

Calling EdlNew with the name of an EDL document as a parameter on the command-line will cause EdlNew to create the EDL document. When no extension is provided, .edl will be used. You will need to supply additional information to indicate the computer program to be called in the experiment, and to provide values for the input parameters.

The simulation program

The path to the simulation program should be specified on the command-line using the -t<path> parameter. For example, calling

java net.sourceforge.edl.EdlNew test -tcalcArea
    

will produce a file test.edl containing the following transformation fragment:

<transformation>
  <description></description>
  <tool href="calcArea"/>
</transformation>
		

Input parameters

Each input parameter to the simulation program should be specified on the command-line using a separate -i<name>[(<index>)]=<value><unit> parameter. The part between [] is optional, and is used to specify indexed values.

For example, calling

java net.sourceforge.edl.EdlNew test -tcalcArea -iwidth=3m -iheight=40dm
    

will produce a file test.edl containing the following input fragment:

<input>
  <inputItem id="I1" name="width" value="3" unit="m"/>
  <inputItem id="I2" name="height" value="40" unit="dm"/>
</input>
    

And calling

java net.sourceforge.edl.EdlNew test -tcalcArea -isize(0)=3m -isize(1)=4m
		

will produce a file test.edl containing the following input fragment:

<input>
  <inputRange id="I1" name="size" unit="m">
    <inputRangeItem index="0" value="3"/>
    <inputRangeItem index="1" value="4"/>
  </inputRange>
</input>
		

Note that for indexed values, all parameters must be specified using the same unit.


Back to the Tools section