Skip to contents

This function changes the maximum and minimum depth displayed in the Echogram for an acoustic variable using COM scripting.

Usage

EVSetAcoVarDisplayDepth(EVFile, acoVarName, minDepth, maxDepth)

Arguments

EVFile

An Echoview file COM object

acoVarName

Name of acoustic variable

minDepth

The minimum depth to display in metres

maxDepth

The maximum depth to display in meters

Examples

if (FALSE) {
EVAppObj <- COMCreate('EchoviewCom.EvApplication')
EVFile <- EVOpenFile(EVAppObj, 'KAOS/KAOStemplate.EV')$EVFile
EVSetAcoVarDisplayDepth(EVFile, "38 seabed and surface excluded", 5, 250)
}