echoview

Skip to content

Automation via Scripting

Download example scripts for a range of common Echoview tasks.

Related links
> Key scripting pages in the Echoview Help file:
   - About automating Echoview
   - Getting started with scripting
   - Scripting wth COM objects
   - Example scripts for COM automation
   - Echoview COM object hierarchy
   - Echoview Scripting module
> Present/find/discuss scripts in the "Tips & tricks" and "Data processing" forums on the Hydroacoustics User Forum
> Echoview tutorial: Introduction to COM scripting

Example scripts

Scripts enable you to automate tasks in Echoview that you would otherwise perform manually. These tasks range from the creation of Echoview files through to the export of processed data. Using scripts to perform these routine tasks can save you valuable time.

Example scripts are provided for download in the table below; think of them as examples of Echoview COM objects and programming-language syntax in action, intended to assist you in writing your own scripts.

The examples here are written in Visual Basic, but you can use other langauges such as Java, C++, Matlab or R. If you have example scripts in another language that you would like to share, or for further assistance with any aspect of scripting, please contact us. Please note that currently our Support team can offer limited assistance with writing scripts in languages other than Visual Basic or C++.

Note: Depending on your computer's settings, clicking on the script links below will either show the script directly in your web browser or it may try to run the script. Right-click > Save... to download the script to your computer.

Script

Description

Posted

EV script 001 - New EV files for folder of data.vbs

* Create multiple Echoview files by adding data from a folder of raw data files.
* Create dialog boxes for user input (to select destination folders etc.).
* Export a line.
* Loop actions in Visual Basic (the core of the script  - a "For" loop - is on lines 302-327).

Forum topic for this script.

2nd Dec 2009

EV script 002 - Changing variable properties in multiple variables in multiple EV files.vbs

 

*Select multiple ev files
*Select multiple variables in each ev file
*Change variable properties (such as grid settings)
*Save and close EV file

Forum topic for this script.

23rd Jun 2010
EV script 003 - Pick and export lines in all EV files in a folder.vbs

*Open first EV file from nominated folder
*Select multiple variables
*Pick line on each variable
*Export lines to csv format
*Save EV file
*Repeat for all other EV files in nominated folder

Forum topic for this script.

25th Jun 2010
EV script 004 - Add new data file location to all EV files in a folder.vbs

*Open first EV file from nominated folder
*Add a new entry to EV File Properties > EV Files > Data File Locations
*Save EV file
*Repeat for all other EV files in nominated folder

Forum topic for this script.

11th Oct 2010

Top

Alternate language

JapaneseKorean