Script Primary Input

Each script defines a primary input series.  The primary input series is selected from the workspace when running the script.  A script can process multiple series, but the additional series should be specified in the script parameter template.  The script writer must only declare the Input, as below.

Input : 5,

EMGworks will automatically populate it with the series selected by the user from the workspace.  The script Input can be accessed in the Calculate and Validate functions as below (assuming an example namespace of MYS).

Calculate : function()

{

    MYS.Input; // the user selected primary input series.

},