COM object EvData

EvApplication > EvFileCollection > EvFile > EvVariablesCollection > EvVariableBase As EvVariableAcoustic > EvVariableAcousticProperties > EvData

- OR -

EvApplication > EvFileCollection >EvFile > EvVariablesCollection > EvVariableBase As EvVariableVirtual > EvVariableAcousticProperties > EvData

 

View the COM map and the COM summary.

The EvData object gives you access to information about settings on the Data page of the Variable Properties dialog box of the acoustic or acoustic virtual variable.

EvData methods and properties:

ApplyMaximumThreshold
ApplyMinimumThreshold
ApplyMinimumTsThreshold
ApplyTimeVariedThreshold
LockSvMinimum
LockSvMaximum
MaximumThreshold
MinimumThreshold
MinimumTsThreshold
MinimumTsThresholdOffset
MaximumThresholdedValuesSetTo
TimeVariedThresholdSvAt1m

ApplyMaximumThreshold

(read-write) boolean ApplyMaximumThreshold

Summary

Access or change the Apply checkbox for the Maximum threshold.

Parameters

None

Result

True or False.

Example
MsgBox "ApplyMaximumThreshold: " & AVariable.Properties.Data.ApplyMaximumThreshold
AVariable.Properties.Data.ApplyMaximumThreshold = False

ApplyMinimumThreshold

(read-write) boolean ApplyMinimumThreshold

Summary

Access or change the Apply checkbox for the setting Minimum threshold.

Parameters

None

Result

True or False.

Example
MsgBox "ApplyMinimumThreshold: " & AVariable.Properties.Data.ApplyMinimumThreshold
AVariable.Properties.Data.ApplyMinimumThreshold = True

ApplyMinimumTsThreshold

(read-write) boolean ApplyMinimumTsThreshold

Summary

Access or change the Apply checkbox for the setting Minimum TS threshold.

Parameters

None

Result

True or False.

Example
MsgBox "ApplyMinimumTsThreshold: " & AVariable.Properties.Data.ApplyMinimumTsThreshold
AVariable.Properties.Data.ApplyMinimumTsThreshold = True

    

ApplyTimeVariedThreshold

(read-write) boolean ApplyTimeVariedThreshold

Summary

Access or change the Apply checkbox for the setting Time varied threshold.

Parameters

None

Result

True or False.

Example
MsgBox "ApplyTimeVariedThreshold: " & AVariable.Properties.Data.ApplyTimeVariedThreshold
AVariable.Properties.Data.ApplyTimeVariedThreshold = False

LockSvMinimum

(read-write) boolean LockSvMinimum

Summary

Access or change the Lock to color display minimum checkbox under Minimum threshold.

Parameters

None

Result

True or False.

Example
MsgBox "LockSvMinimum: " & AVariable.Properties.Data.LockSvMinimum
AVariable.Properties.Data.LockSvMinimum = True

LockSvMaximum

(read-write) boolean LockSvMaximum

Summary

Access or change the Lock to color display maximum checkbox under Maximum threshold.

Parameters

None

Result

True or False.

Example
MsgBox "LockSvMaximum: " & AVariable.Properties.Data.LockSvMaximum
AVariable.Properties.Data.LockSvMaximum = False

MaximumThreshold

(read-write) double MaximumThreshold

Summary

Access or change the value for Maximum threshold.

Example
       Dim strVar: strVar = "Sv pings"
       Dim EvApp: Set EvApp = CreateObject("EchoviewCom.EvApplication")
       If EvApp.EvFiles.Count = 0 Then
       Msgbox "No EV file open"
       WScript.Quit
       End If
       Dim EvVar: Set EvVar = EvApp.EvFiles(0).Variables.FindByName(strVar)
       Dim SvVar: Set SvVar = EvVar.AsVariableAcoustic
       If SvVar Is Nothing Then
       MsgBox "Failed to find '" & strVar & "'"
       WScript.Quit
       End If
       ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
       MsgBox "ApplyMinimumThreshold: " & SvVar.Properties.Data.ApplyMinimumThreshold
       SvVar.Properties.Data.ApplyMinimumThreshold = False
       MsgBox "ApplyMinimumThreshold: " & SvVar.Properties.Data.ApplyMinimumThreshold
       ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
       SvVar.Properties.Data.ApplyMinimumThreshold = True
       MsgBox "MinimumThreshold: " & SvVar.Properties.Data.MinimumThreshold
       SvVar.Properties.Data.MinimumThreshold = -10.00
       MsgBox "MinimumThreshold: " & SvVar.Properties.Data.MinimumThreshold

MinimumThreshold

(read-write) double MinimumThreshold

Summary

Access or change the value for Minimum threshold.

Parameters

None

Result

A dB value.

Example
MsgBox "MinimumThreshold: " & AVariable.Properties.Data.MinimumThreshold
AVariable.Properties.Data.MinimumThreshold = -70.0

MinimumTsThreshold

(read-write) double MinimumTsThreshold

Summary

Access or change the value for Minimum TS threshold.

Parameters

None

Result

A dB value.

Example
MsgBox "MinimumTsThreshold: " & AVariable.Properties.Data.MinimumTsThreshold
AVariable.Properties.Data.MinimumTsThreshold = -50.0

    

MinimumTsThresholdOffset

(read-write) double MinimumTsThresholdOffset

Summary

Access or change the value for Calibration difference offset: under Minimum TS threshold.

Parameters

None

Result

A dB value.

Example
MsgBox "MinimumTsThresholdOffset: " & AVariable.Properties.Data.MinimumTsThresholdOffset
AVariable.Properties.Data.MinimumTsThresholdOffset = 2.5

    

MaximumThresholdedValuesSetTo

(read-write) string MaximumThresholdedValuesSetTo

Summary

Access or change the value for Set values set to: under Maximum threshold.

The setting values are:

  • Zero
  • Threshold limit
  • No data
Parameters

None

Result

A valid string under this setting.

Example
MsgBox "MaximumThresholdedValuesSetTo: " & AVariable.Properties.Data.MaximumThresholdedValuesSetTo
AVariable.Properties.Data.MaximumThresholdedValuesSetTo = "No data"

TimeVariedThresholdSvAt1m

(read-write) double TimeVariedThresholdSvAt1m

Summary

Access or change the value for Sv at 1m: under Time varied threshold.

Parameters

None

Result

A dB value.

Example
MsgBox "TimeVariedThresholdSvAt1m: " & AVariable.Properties.Data.TimeVariedThresholdSvAt1m
AVariable.Properties.Data.TimeVariedThresholdSvAt1m = -110.50

See also

Scripting with COM objects
COM object hierarchy