This function adds an Echoview variable to an existing Echoview file. The variable is added by specifying the existing variable to which the new variable is added and the new variable type.

EVAddVariable(EVFile, acoVarName, EOperator, addedVarName = NULL)

Arguments

EVFile

Echoview file COM object

acoVarName

The acoustic variable name to which a new variable will be added.

EOperator

The 'EOperator' number of the variable to add. See notes

addedVarName

=NULL. Name of the added variable.

Value

list with three elements: $varObj acoustic variable COM object; $objName new name of the variable object;$msg message vector

Details

The new variable type is specifed using the variable-specific 'EOperator' integer. For example, the 'Ping subset' operator 'EOperator' is 62. See Echoview help for details.

Note

This function is under development. We hope to add an 'EOperator' look up table sp that the type of variable to add can be specified by its character name, rather than 'EOperator'

References

http://support.echoview.com/WebHelp/Echoview.htm/

See also