Skip to contents

This function modifies the data generator settings in an existing Echoview data generator virtual variable.

Usage

EVAcoVarDataGenerator(
  EVFile,
  acoVarName,
  Algorithm = c("Constant", "Tvg", "ConstantTvg"),
  OutputType = c("Sv", "TS", "Other dB", "Linear"),
  constantValue = NULL,
  ApplyTvgOverride = NULL,
  TvgOverride = NULL
)

Arguments

EVFile

An Echoview file COM object

acoVarName

Acoustic variable name

Algorithm

=c("Constant","Tvg","ConstantTvg") Data generator algorithm type

OutputType

=c("Sv","TS","Other dB","Linear") output type

constantValue

= NULL (numerical) constant value for the data generator.

ApplyTvgOverride

= NULL (boolean) Appply TVG override

TvgOverride

= NULL (numerical) TVG override value.

Value

a list object with two elements. $success: ping subset successfully changed, and $msg: message for processing log.

Examples

if (FALSE) {
EVAcoVarDataGenerator(EVFile=EVFile,acoVarName='Data generator 1',
Algorithm='Constant',
OutputType='Linear',
constantValue=0.5,
ApplyTvgOverride=NULL,
TvgOverride=NULL)

}