COM object EvTransducer
EvApplication > EvFileCollection > EvFile > EvTransducersCollection > EvTransducer
View the COM map and the COM summary. |
The EvTransducer object gives you access to information about and the ability to modify selected settings on the Transducer Properties dialog box.
The EvFile.Transducers[] property lists all the transducers in an EV file and is an EvTransducersCollection.
EvTransducer methods and properties:
Alongship
AlongshipOffset
Athwartship
AthwartshipOffset
Azimuth
BeamRotation
Elevation
Name
Notes
SetAlongAndAthwartship
VerticalOffset
|
Description |
(read-only) double Alongship SummaryGet the value for the Alongship angle (degrees) on the Geometry page of the Transducer Properties dialog box. Alongship angle and Athwartship angle specify the pointing direction of the transducer beam. Beam rotation describes the rotation of transducer face. Together these descriptors specify the orientation of the transducer. See also SetAlongAndAthwartship and its note. Example |
|
double AlongshipOffset SummaryGet or set the AlongshipOffset is the X - alongship offset for the location of the transducer relative a reference point on the Geometry page of the Transducer Properties dialog box. Example |
|
(read-only) double Athwartship SummaryGet the value for the Athwartship angle (degrees) on the Geometry page of the Transducer Properties dialog box. Alongship angle and Athwartship angle specify the pointing direction of the transducer beam. Beam rotation describes the rotation of transducer face. Together these descriptors specify the orientation of the transducer. See also SetAlongAndAthwartship and its note. Example |
|
double AthwartshipOffset SummaryGet or set the AthwartshipOffset is the Y - athwartship offset for the location of the transducer relative a reference point on the Geometry page of the Transducer Properties dialog box. Example |
|
double Azimuth SummaryGet or set the Azimuth (degrees) setting on the Geometry page of the Transducer Properties dialog box. Elevation and Azimuth specify the pointing direction of the transducer beam. Beam rotation describes the rotation of transducer face. Together these descriptors specify the orientation of the transducer. See also SetAlongAndAthwartship note. Example |
|
double BeamRotation SummaryGet or Set the Beam rotation (degrees) setting, the rotation of the transducer face, on the Geometry page of the Transducer Properties dialog box. Example |
|
double Elevation SummaryGet or set the Elevation (degrees) setting on the Geometry page of the Transducer Properties dialog box. Elevation and Azimuth specify the pointing direction of the transducer beam. Beam rotation describes the rotation of transducer face. Together these descriptors specify the orientation of the transducer. See also SetAlongAndAthwartship note. Example |
|
(read-write) string Name SummaryGet or set the Name of the transducer on the General page of the Transducer Properties dialog box. Example |
|
(read-write) string Notes SummaryGet or set the Notes of the transducer on the General page of the Transducer Properties dialog box. Example |
|
boolean SetAlongAndAthwartship(double Alongship, double Athwartship ) SummarySet Alongship angle and Athwartship angle on the Geometry page of the Transducer Properties dialog box. To determine the direction of the transducer beam use EvTransducer.Alongship and EvTransducer.Athwartship. Note: SetAlongAndAthwartship can change the values for Alongship angle and Athwartship angle. Such changes are reflected in corresponding changes to Elevation and Azimuth values. Echoview calculations use Elevation and Azimuth. As a result Alongship and Athwartship angles are converted (internally) to Elevation and Azimuth values. It is a known issue that some combinations of Alongship angle and Athwartship angle result in an inconsistent or physically impossible transducer orientations. Such inconsistent values are ignored and onscreen they are displayed in red on the Orientation page of the Transducer Properties dialog box. Parameters
ReturnTrue, if successful. False, when combinations of Alongship angle and Athwartship angle result in an inconsistent or physically impossible transducer orientations. See Note. ExampleDim vEchoviewCom: Set vEchoviewCom = GetObject(, "EchoviewCom.EvApplication") Dim vEvFile: Set vEvFile = vEchoviewCom.EvFiles.Item(0) Dim oTrans: Set oTrans = vEvFile.Transducers(0) oTrans.Name = "Transducer" oTrans.Notes = "Notes go here" oTrans.AlongshipOffset = 1 oTrans.AthwartshipOffset = 1.4 oTrans.VerticalOffset = 0.5 oTrans.Elevation = 10 oTrans.Azimuth = 270 oTrans.SetAlongAndAthwartship 0, -10 oTrans.BeamRotation = 20 |
|
double VerticalOffset SummaryGet or set the VerticalOffset is the Z - vertical offset for the location of the transducer relative a reference point on the Geometry page of the Transducer Properties dialog box. Example |