This function exports underlying data for an Echoview acoustic variable using COM scripting
Usage
EVExportUnderlying(EVFile, variableName, pingRange = c(-1, -1), filePath)
Arguments
- EVFile
An Echoview file COM object
- variableName
a string containing the name of an EV acoustic variable
- pingRange
= c(-1,-1) ping range to export
- filePath
a string containing the file path and name to save the exported data to
Examples
if (FALSE) {
EVAppObj = COMCreate('EchoviewCom.EvApplication')
EVFile = EVOpenFile(EVAppObj, '~~KAOS/KAOStemplate.EV')$EVFile
EVExportUnderlying(EVFile = EVFile, variableName = '38 seabed and surface excluded', pingRange = c(1, 100), filePath = '~~Desktop/test.csv')
}