COM object EvResample
EvApplication> EvFileCollection > EvFile > EvVariablesCollection > EvVariableBase As EvVariableVirtual >EvVariableAcousticProperties > EvResample
View the COM map and the COM summary. |
The EvResample object gives you access to information about settings on the Resample page of the Variable Properties dialog box of the acoustic virtual variable. EvResample may be used to inspect or set supported settings on the Resample page for any of the (three) variations of the Resample operator.
EvResample methods and properties:
CustomRanges
NumberOfDataPoints
NumberOfPings
StartRange
StopRange
|
Description |
(read-write) integer CustomRanges SummaryGet or set the Custom ranges setting under the Output section of the Resample page of the Variable Properties dialog box.
ExampleDim EvApp: Set EvApp = CreateObject("EchoviewCom.EvApplication") Dim EvFile: Set EvFile = EvApp.OpenFile("C:\EV files\Resample.EV") Dim vEvVariablesCollection: Set vEvVariablesCollection = EvFile.Variables Dim vEvVariable: Set vEvVariable = vEvVariablesCollection.FindByName("Resample by number of pings 1") vEvVariable.Properties.Resample.NumberOfPings = 15 vEvVariable.Properties.Resample.NumberOfDataPoints = 1500 msgbox "check" vEvVariable.Properties.Resample.CustomRanges = 1 vEvVariable.Properties.Resample.StartRange = 0.123 vEvVariable.Properties.Resample.StopRange = 10.123 msgbox "check" |
|
(read-write) integer NumberOfDataPoints SummaryGet or set the Number of datapoints under the Output section on the Resample page of the Variable Properties dialog box. ExampleSee Resample example. |
|
(read-write) integer NumberOfPings SummaryGet or set the Number of pings in interval under the Input section on the Resample page of the Variable Properties dialog box. ExampleSee Resample example. |
|
(read-write) double StartRange SummaryGet or set the Start range (m) under the Output section on the Resample page of the Variable Properties dialog box. This setting is available when Custom ranges is selected. ExampleSee Resample example. |
|
(read-write) double StopRange SummaryGet or set the Stop range (m) on the Resample page under the Output section of the Variable Properties dialog box. This setting is available when Custom ranges is selected. ExampleSee Resample example. |
See also
EvVariableAcousticProperties
Scripting with COM objects
COM object hierarchy