Sie sind auf Seite 1von 171

Acoustic Intensity Measurement System

Hardware and Software Manual


(Applies to AIMS Software Version 4.2.34+)

June 17, 2008


Copy right 2005-2008 NTR Systems, Inc. All Rights Reserved
Portions of Software Copy right 2005-2008 National Instruments Corporation. All Rights Reserv ed
1. Introduction.................................................................................................................................................6
2. System Components ...................................................................................................................................8
2.1 Scanning Tank and Positioning System .....................................................................................................9
2.2 Angular Positioner..................................................................................................................................13
2.3 Motor Drive Electronics (EMDS)..............................................................................................................21
2.4 Oscilloscope and Interface......................................................................................................................23
2.5 System Controller (a PC running MS Windows)........................................................................................25
2.6 Hydrophones and Preamplifiers...............................................................................................................25
2.7 Accessories for Holding Transducers and Hydrophones............................................................................26
2.8 Function Generators...............................................................................................................................29
2.9 USB Key................................................................................................................................................29
3. Device Driver Installation ..........................................................................................................................30
3. Device Driver Installation ..........................................................................................................................30
3.1 CEC PCI-488 .........................................................................................................................................30
3.2 National Instruments IEEE-488 Adapters .................................................................................................33
3.3 PCI-DIO24.............................................................................................................................................41
3.4 IVI Compliance Package.........................................................................................................................45
3.5 NI VISA Runtime ....................................................................................................................................50
3.6 Tektronix Scope Drivers..........................................................................................................................55
3.6.1 200 Series Oscilloscopes..................................................................................................................55
3.6.2 1000 and 2000 Series Oscilloscopes..................................................................................................58
3.6.3 3000 Series Oscilloscopes................................................................................................................61
3.7 LeCroy Scope Driver...............................................................................................................................62
3.8 Lecroy VICP Passport.............................................................................................................................65
3.9 Agilent Oscilloscopes..............................................................................................................................68
3.10 Agilent Function Generators..................................................................................................................68
4. AIMS Softw are Installation and Configuration...........................................................................................69
4.1 Oscilloscope Configuration......................................................................................................................69
4.2 EMDS Configuration...............................................................................................................................70
4.2.1 EMDS (Normal Operation).................................................................................................................71
4.2.2 Using PositionerServer......................................................................................................................71
4.2.3 Velmex Controller Configuration ........................................................................................................73
4.3 Function Generator Configuration............................................................................................................73
4.4 Water Conditioner Configuration..............................................................................................................73
5. Using the AIMS..........................................................................................................................................74
5.1 Setup and Connections...........................................................................................................................74
5.1.1 Power Up and Down Sequence.........................................................................................................74
5.1.2 Oscilloscope and EMDS Interface Connections..................................................................................75
5.1.3 System Under Test ...........................................................................................................................75
5.1.4 Setting up the Hydrophone and Transducer........................................................................................75
5.1.5 Orientation and Direction...................................................................................................................78
5.1.6 Hardware and Software Limits...........................................................................................................79
5.1.7 Distance Tracking.............................................................................................................................80
5.1.8 Triggering.........................................................................................................................................81
5.1.9 Determining the Z Distance ...............................................................................................................81
5.2 Alignment...............................................................................................................................................82
5.3 Digitizing Waveforms..............................................................................................................................82
5.4 One-Dimensional, Two-Dimensional, and Frequency Scans......................................................................83
5.5 Three-Dimensional Scans.......................................................................................................................83
5.6 Z Scans.................................................................................................................................................83
5.7 XY Scans...............................................................................................................................................83
5.8 ZX Scans...............................................................................................................................................84
5.9 Therapy Ultrasound Measurements.........................................................................................................85
5.9.1 IEC Method......................................................................................................................................87

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
-2
5.9.2 FDA Method.....................................................................................................................................88
5.9.3 Re-Processing Therapy Data.............................................................................................................88
5.10 Validation of AIMS Calculations.............................................................................................................89
6. User Interface in Detail ..........................................................................................................................91
6.1 File Menu...............................................................................................................................................91
6.1.1 File / Close .......................................................................................................................................91
6.1.2 File / Open .......................................................................................................................................91
6.1.3 File / Save........................................................................................................................................93
6.1.4 File / Save As...................................................................................................................................93
6.1.5 File / Save / Auto Name ....................................................................................................................93
6.1.6 File / Output To XLS .........................................................................................................................93
6.1.7 File / Change Directory......................................................................................................................93
6.1.8 File / Print.........................................................................................................................................94
6.1.9 File / Execute Script..........................................................................................................................95
6.1.10 File / Exit........................................................................................................................................95
6.1.11 File / About AIMS............................................................................................................................95
6.2 Copy Menu Item.....................................................................................................................................96
6.3 Config Menu...........................................................................................................................................97
6.3.1 Config / Positioner ............................................................................................................................97
6.3.2 Config / Oscilloscope ........................................................................................................................98
6.3.3 Config / Function Generator...............................................................................................................99
6.3.4 Config / Water Conditioner................................................................................................................99
6.3.5 Config / Options................................................................................................................................99
6.3.6 Config / Verify AIMS.exe CRC32 .....................................................................................................100
6.4 Setup Menu .........................................................................................................................................100
6.4.1 Setup / Measurement Setup............................................................................................................101
6.4.2 Setup / Tank Setup.........................................................................................................................105
6.4.3 Setup / Positioner Setup..................................................................................................................107
6.4.4 Setup / Position ..............................................................................................................................108
6.4.5 Setup / Oscilloscope .......................................................................................................................109
6.4.6 Setup / View Trigger .......................................................................................................................110
6.4.7 Setup / Function Generator .............................................................................................................110
6.4.8 Setup / Water Conditioner...............................................................................................................111
6.5 Search Menu........................................................................................................................................111
6.5.1 Search / Find Pulse.........................................................................................................................111
6.5.2 Search / Auto Scale Pulse...............................................................................................................112
6.5.3 Search / On An Axis........................................................................................................................113
6.5.4 Search / XY Plane ..........................................................................................................................113
6.5.5 Search / Align Beam .......................................................................................................................113
6.5.6 Search / Align X Axis.......................................................................................................................115
6.5.7 Search / Find Width ........................................................................................................................116
6.6 Data Menu...........................................................................................................................................116
6.6.1 Data / Waveform / Autoscale Vertical Sensitivity...............................................................................116
6.6.2 Data / Save Fc in Setup Data ..........................................................................................................116
6.6.3 Data / Waveform / Get Waveform (Ctrl-W)........................................................................................116
6.6.3 Data / 1D Scan (Ctrl-1)....................................................................................................................117
6.6.4 Data / 2D Scan (Ctrl-2)....................................................................................................................118
6.6.5 Data / 3D Scan (Ctrl-3)....................................................................................................................120
6.6.6 Data / Frequency Scan (Ctrl-F)........................................................................................................121
6.6.6 Data / Z Scan .................................................................................................................................123
6.6.7 Data / XY Scan...............................................................................................................................124
6.6.8 Data / Therapy Meas. (IEC) and Data / Therapy Meas. (FDA)............................................................125
6.6.9 Data / Re-process Therapy Data......................................................................................................127
6.7 View Waveform Menu...........................................................................................................................128
6.7.1 View Waveform / Waveform Plot......................................................................................................128
6.7.2 View Waveform / Voltages...............................................................................................................128

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
-3
6.7.3 View Waveform / Pulse Intensity Integral..........................................................................................129
6.7.4 View Waveform / Intensity & Pressure ..............................................................................................129
6.7.5 View Waveform / Spectrum .............................................................................................................129
6.7.6 View Waveform / Frequency............................................................................................................130
6.7.7 View Waveform / Parameters..........................................................................................................130
6.7.8 View Waveform / Position................................................................................................................131
6.7.9 View Waveform / Function Generator Settings..................................................................................131
6.7.10 View Waveform / Oscilloscope Settings..........................................................................................131
6.8 View 1D Scan Menu: ............................................................................................................................133
6.8.1 View 1D Scan / Parameter..............................................................................................................133
6.8.2 View 1D Scan / Derated..................................................................................................................133
6.8.3 View 1D Scan / Smoothed...............................................................................................................134
6.8.4 View 1D Scan / 1D Scan Plot ..........................................................................................................134
6.8.5 View 1D Scan / Width .....................................................................................................................135
6.8.6 View 1D Scan / Peak......................................................................................................................135
6.8.7 View 1D Scan / Position, View 1D Scan / Oscilloscope Settings.........................................................135
6.9 View 2D Scan Menu .............................................................................................................................136
6.9.1 View 2D Scan / Parameter..............................................................................................................136
6.9.2 View 2D Scan / Derated..................................................................................................................136
6.9.3 View 2D Scan / Normalize Data to Peak at each Distance.................................................................137
6.9.4 View 2D Scan / Contour Plot ...........................................................................................................137
6.9.5 View 2D Scan / Color Plot ...............................................................................................................138
6.9.6 View 2D Scan / Wire Frame Plot......................................................................................................138
6.9.7 View 2D Scan / Slice Plot................................................................................................................139
6.9.8 View 2D Scan / Width & Area ..........................................................................................................139
6.9.9 View 2D Scan / Peak......................................................................................................................140
6.9.10 View 2D Scan / Transducer Power.................................................................................................140
6.9.11 View 2D Scan / Hydrophone Sensitivity..........................................................................................141
6.9.12 View 2D Scan / Position, Function Generator Settings, Oscilloscope Settings, Elapsed Time.............141
6.10 View 3D Scan Menu ...........................................................................................................................141
6.10.1 View 3D Scan / Select Plane .........................................................................................................142
6.11 View XY Scan Menu ...........................................................................................................................142
6.12 View ZX Scan Menu ...........................................................................................................................143
6.12.1 View ZX Scan / SII Plot .................................................................................................................143
6.12.2 View ZX Scan / SII Data................................................................................................................144
6.13 View Freq. Scan Menu........................................................................................................................144
6.13.1 View Freq. Scan / Parameter.........................................................................................................144
6.13.2 View Freq. Scan / Reference, View Freq. Scan / Measurement, View Freq. Scan / Gain....................145
6.13.3 View Freq. Scan / Position, View Freq. Scan / Oscilloscope Settings................................................145
7. Data Output .............................................................................................................................................145
7.1 Output to Printer...................................................................................................................................145
7.2 File Format...........................................................................................................................................145
7.3 Copy to Clipboard.................................................................................................................................145
7.4 Export to Excel Files.............................................................................................................................146
8. Scripts.....................................................................................................................................................149
9. External Control of the AIMS Software....................................................................................................149
9.1 Connection Functions...........................................................................................................................151
9.2 Positioner Functions.............................................................................................................................151
9.3 Oscilloscope Functions.........................................................................................................................152
9.4 Function Generator Functions...............................................................................................................153
9.5 Water Conditioner Functions.................................................................................................................153
9.6 Measurement Setup Functions..............................................................................................................153
9.6.1 Transducer Functions.....................................................................................................................154
9.6.2 Hydrophone functions.....................................................................................................................155
9.6.3 User Name and Comment Functions................................................................................................155
9.7 Derating Factor ....................................................................................................................................155

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
-4
9.8 Tank Setup Functions...........................................................................................................................156
9.9 Waveform Functions.............................................................................................................................156
9.10 1D Scan Functions.............................................................................................................................157
9.11 Z-Axis Scan Functions........................................................................................................................158
9.12 2D Scan Functions.............................................................................................................................159
9.13 XY Scan Functions.............................................................................................................................160
9.14 ZX Scan Functions.............................................................................................................................161
9.15 3D Scan Functions.............................................................................................................................162
9.16 Frequency Scan Functions..................................................................................................................163
9.17 Find Pulse Functions..........................................................................................................................164
9.18 Auto Scale .........................................................................................................................................164
9.19 Search (on an axis) Functions.............................................................................................................164
9.20 Plane Search Functions......................................................................................................................165
9.21 Beam Alignment Functions..................................................................................................................165
9.22 File Management Functions................................................................................................................166
9.23 Printing Functions...............................................................................................................................166
9.23.1 Print Setup Information Functions..................................................................................................166
9.23.2 Print Waveform Functions.............................................................................................................167
9.23.3 Print 1D Scan ...............................................................................................................................167
9.23.4 Print 2D Scan ...............................................................................................................................167
9.23.5 Print Frequency Scan....................................................................................................................167
9.24 Miscellaneous commands...................................................................................................................167
9.25 AIMS Window Location and Size Functions..........................................................................................167
10. Maintenance ..........................................................................................................................................168
10.1 Tank, Frame, and Positioner................................................................................................................168
10.2 Hydrophones and Preamplifiers...........................................................................................................170
10.3 Oscilloscope.......................................................................................................................................170
11. AIMS Warranty Statement......................................................................................................................171

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
-5
1. Introduction
The AIMS software is designed to be used to measure ultrasound output from diagnostic and therapeutic
ultrasound devices. It was designed by NTR Systems, Inc., and is currently marketed and manufactured by Onda
Corporation. It is the result of many years work at NTR Systems in developing scanning tank systems. Its features
include:

Control:

Control of oscilloscopes. The AIMS software was written to use drivers that control a variety of models
from Agilent, LeCroy, and Tektronix. Communication can be GPIB or Ethernet (depending on model).
Additional drivers can be added easily if needed. (Supported models are listed in the section on
installation.)

Control of function generators. Current models supported are Agilent 33120, 33220, and 33250.

Control of NTR EMDS 3- or 6-Axis stepper drive electronics. This includes limit switches as well as
software limits on motion to protect valuable hydrophones and transducers.

Alignment:

Search for peak on an axis or in the x-y plane.

Beam alignment (using the NTR angular positioner) with selectable number of iterations and completion
criteria.

Automatic determination of z-axis position.

Automatic determination of suitable x or y axis scan dimensions.

Determination of x axis of a scanhead, then subsequent use of an alternate coordinate system to stay
aligned with the x axis.

Acquisition:

Acquisition of waveforms. Waveforms can be averaged using cross-correlation to remove jitter caused by
vibration. This can be a problem when acquiring a waveform right after moving on the z-axis, causing the
membrane hydrophone to vibrate like a drum head.

Acquisition of one-dimensional and two-dimensional scans. Scans can be on any axis or combination of
axes, either translation or rotation.

Acquisition of frequency scans (using a function generator).

Scripting: Automated tests may be carried out using the built-in scripting capability

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
-6
Calculations:

Calculation of intensities (pulse average Isppa, temporal average Ispta) and pressure (peak rarefactional
Pr), both in water and derated.

Calculation of mechanical index (MI) and thermal indices (TIS, TIB, TIC).

Calculation of associated acoustic parameters such as pulse duration, beam widths, and center frequency,
etc.

Calculation of acoustic power from x-y scan data.

Calculation of Effective Radiating Area and Beam Non-uniformity Ratio according to FDA and IEC
procedures. This includes automatic execution of the various scans required.

Output:

Files: The AIMS files are tab-delimited text with extensive labeling. They can be viewed with any text
editor or can be opened with Microsoft Excel or other programs that support tab-delimited files. The format
is self-explanatory.

Printer: The various plots and text data can be printed. The user selects which items are to be printed.

Clipboard: Plots and text data can be copied to the clipboard, and then pasted into documents to prepare
reports. Examples of this are below.

Output to Excel workbooks: Waveform, z-axis scan, and x-y scan data can be output to a Microsoft Excel
workbook. A template file is opened by the AIMS program, measurement data are copied into it, and then
it is written out to a new Excel file. The output worksheet in the template file can be modified to suit users
needs. Examples are below.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
-7
2. System Components
The AIMS Acoustic Intensity Measurement System consists of the following subsystems:

Scanning Tank & Positioning System


Motor Drive Electronics (EMDS)
Oscilloscope and Interface
System Controller (a PC running Windows)
Hydrophones and Preamplifiers
Accessories for Holding Transducers and Hydrophones
AIMS Software

Angular Positioner
Function Generator

The first seven items in this list are essential for the operation of the AIMS, but need not all be provided directly by
Onda. For example, a system controller or oscilloscope may be provided by the end user. The last two items, the
angular positioner and function generator, expand the range of capabilities of the AIMS. Each of these subsystems
is described in detail in the following sections.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
-8
2.1 Scanning Tank and Positioning System

The AIMS scanning tank system uses stepper motors to position the hydrophone (or other object) in the tank. The
stepper motors drive the positioner through reducing gear heads, which rotate pinions against a precision rack.
The motors move 200 steps per revolution. The gearhead ratio is 36:1. The pinion pitch diameter is inches, or
79.796 mm. The resulting resolution is 90.23 steps per millimeter, or about 11.08 m per step. The AIMS scanning
tank is shown in figures 1 through 3.

Axis 1
(Front/Back)
Motor
Axis 2
1110 mm (Vertical)
(43.60") Plate

Axis 0
560 mm
(Left/Right)
(22.00")
Motor

914 mm
(36.0")

Figure 1. AIMS Scanning Tank - Front View

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
-9
Figure 2. AIMS Scanning Tank - End View

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 10
Axis 2 stepper motor

Transducer holding Axis 0


rod clamp stepper motor

Axis 1
stepper
motor

381.0mm
(15.00") 602.0 mm
(23.70")
762.0mm
(30.00")

914.4mm
(36.00")
Mounting
Plate AXIS 0 AXIS 1

Figure 3. AIMS Scanning Tank - Top View

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 11
The default directions for axes 0, 1, and 2 are shown in figure 4. If needed, the direction of any axis can be
reversed through software by clicking on Setup/Positioner Setup. Click on the tab for the axis you need to
change, then click on the Direction Reversed check box.

Figure 4. Positioner Default Directions

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 12
2.2 Angular Positioner

The NTR angular positioner is a 2-axis device for manipulating either a hydrophone or a transmitting transducer. It
can be used to accurately align a transducers beam axis with the AIMS positioner. It can also be used to rotate a
hydrophone to measure the hydrophones directivity pattern. The angular positioner has a resolution of 7200 steps
per revolution, or 20 steps per degree. A single step corresponds to a slope of less than 1 part in 1000 (the sine of
0.05 degrees is about 0.00087). The angular positioner is shown in figure 5.

Figure 5. Angular Positioner

To facilitate setup outside of the tank, we provide a stand for the angular positioner, shown in figure 6.

Figure 6. Angular Positioner on Stand

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 13
The top end of the angular positioner with its motors and connectors is shown in figure 7.

Figure 7. Angular Positioner Motors and connectors

Figure 8. Angular Positioner Mounting Assembly

The stepper motors may be manually operated when drive electronics are not in use. Manual operation is by hand
cranks, with position indicated by degree dials.

An inherent feature of the design of the angular positioner is that the turntable drive must follow the arm drive.
When axis 3 (the arm) is moved, both axis 3 and axis 4 motors are moved together. When axis 4 (the turntable) is
moved, only the axis 4 motor is moved. In the AIMS positioning software this is done automatically. Similarly,
when using the NTR stepper motor driver front panel switches, and moving axis 3, switching both channels 3 and 4
together will move the arm while keeping the turntable angle constant with respect to the arm.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 14
When moving or positioning the angular positioner, do not hold it by its drive belts or re st it on its drive belts.
Tension on the two longer belts can be adjusted by loosening the screws that hold the motor in place, applying
force to the motor, and re-tightening the screws. Two of these screws are visible in figure 7, just below the Axis 3
and Axis 4 labels. Tension on the shorter turntable belt can be adjusted by loosening the four screws that hold
the two parts of the arm together, adjusting the tensioning screw, and re-tightening the four screws. These screws
are visible in figure 9.

Figure 9. Turntable belt tensioning

The angular positioner includes cables for connecting the angular positioner to the stepper motor driver.

When using the angular positioner, it is usually most convenient to have the center of the radiating (or receiving)
face of the transducer (or hydrophone) at the point where the two axes of rotation intersect. A setup where the
beam is horizontal is shown in figure 10.

Figure 10. Angular Positioner Horizontal Beam Setup

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 15
A setup where the beam is vertical is shown in figure 11, where the transducer is shown radiating downward.
Either of these two setups can be used to align a transducer, with the angular positioner mounted on the cross-
span slide assembly.

Figure 11. Angular Positioner Vertical Beam Setup

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 16
When used to manipulate a source transducer, the angular positioner is usually mounted on the angular positioner
mounting assembly, which mounts on the top edge of the AIMS tank. There are two rectangular aluminum nuts
which are a part of the mounting assembly. These nuts can rotate to fit between the angular positioner tubes.
When the angular positioner is in place, and the thumb nuts are tightened, these nuts will rotate to grip the angular
positioner tubes, and firmly hold the angular positioner. A stop block is provided so that the angular positioner can
be removed then replaced in the same position as before. The stop block rest s on the top of the mounting block.
The two most common setups are shown in figures 12 and 13.

Figure 12. Angular Positioner and Cross-Span Slide Assembly, Horizontal Beam Setup

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 17
Figure 13. Angular Positioner and Cross-Span Slide Assembly, Vertical Beam Setup

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 18
It is also possible to mount the angular positioner on the axis 2 plate. An example of this is shown in figure 14, with
the angular positioner manipulating a transducer.

Figure 14. Angular positioner attached to axis 2 plate

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 19
To mount the angular positioner in this way, part of the holder assembly should be removed from the 2 x 3 tube
and mounted as in figure 15.

Figure 15. Mounting assembly on axis 2 plate

The default directions for the two angular axes are shown in figure 16. As with the 3-axis positioner, the direction
can be reversed through software by clicking on Setup/Positioner Setup. Click on the tab for the axis you need to
change, then click on the Direction Reversed check box.

Figure 16. Angular Positioner Default Directions

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 20
2.3 Motor Drive Electronics (EMDS)

The stepper motors are driven by the motor drive electronics. The motor drive electronics have been specially
designed to provide good speed and torque characteristics while generating very low electromagnetic interference
which can cause difficulties in making measurements. Most commonly available stepper motor drivers are not well
suited to an application such as ours, because they use pulse width modulation to control the current to the motor
windings. This high-frequency switching tends to generate a great deal of interference, even when the motors are
not moving.

Figure 17. Motor Drive Electronics

The stepper motor drivers use a dual power supply scheme. A low voltage power supply provides holding current
when the motors are not moving. When a step pulse occurs, the motor winding is momentarily connected to a
higher voltage supply, causing the current in the motor winding to increase quickly, giving us good torque at a fairly
high speed. All the power MOSFET's that are used in the stepper driver are set up so that their gate voltages
(which turn them on and off) change fairly slowly, over a period of several microseconds. This prevents fast
switching transients from occurring, which would be a source of interference. Also, the power supplies used in the
stepper motor drivers are linear power supplies, which are much quieter electrically than switch-mode power
supplies. The combination of these features makes the stepper motor drivers very quiet electrically, both when the
motors are stopped and when they are moving.

The stepper motors are controlled through a plug-in card in the system controller. This card is a PCIDIO24,
manufactured by Measurement Computing, Inc. This card is a parallel interface card, and has 24 input/output lines.
The stepper motor driver can control up to six axes. Each motor has two signal lines that control it, one for
direction, and one to step the motor. In addition, each axis on the 3-axis positioner has two limit switches, which
are monitored by IO lines configured as inputs. The limit switches are actuated by small blocks that clamp onto the
toothed rack. These blocks may be repositioned as needed.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 21
Figure 18. Measurement Computing PCI-DIO24

Each stepper motor is connected to the stepper motor driver by a standard 9-conductor cable serial port extension
cable (male connector on one end, female on the other, 1-to-1 pin connections). The stepper motor driver is
connected to the PCI-DIO24 interface card by a 37-conductor cable.

Figure 19. Axis 0, 1, and 2 Connectors

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 22
2.4 Oscilloscope and Interface
The AIMS uses a digitizing oscilloscope to digitize waveforms. The AIMS software currently supports several
oscilloscopes manufactured by Agilent Technologies, Tektronix and LeCroy.

List of oscilloscope models supported by drivers used by the AIMS software:

Agilent Technologies (using Agilent 54600-series driver)


54620-series, 54640-series
54600B/02B/03B
54610B/15B/16B/16C
54620A/20C/45A/45D

Agilent Technologies 6000 Series


DSO6012A, DSO6032A, DSO6052A, DSO6102A,
DSO6014A, DSO6034A, DSO6054A, DSO6104A,
MSO6012A, MSO6032A, MSO6052A, MSO6102A,
MSO6014A, MSO6034A, MSO6054A, MSO6104A

Agilent Technologies 5000 Series


DSO5012A, DSO5032A, DSO5052A
DSO5014A, DSO5034A, DSO5054A

Tektronix
TDS 210, 220, 224
TDS 1002, 1012
TDS 2002, 2012, 2014, 2022, 2024
TPS 2012, 2014, 2024
TDS 3012, 3012B, 3014, 3014B,
3024B, 3032, 3032B, 3034,
3034B, 3044B, 3052, 3052B,
3054, 3054B, 3064B

LeCroy
WaveMaster 8300, 8500, 8300A, 8500A, 8600A, 8620A
SDA 3000, 5000, 6000, 6020
WavePro 7000, 7100, 7300
DDA 5005A
WaveRunner 6030, 6050, 6051, 6100, 6200
WaveSurfer 454, 452, 434, 432, 424, 422

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 23
If the oscilloscope is connected via GPIB, then a GPIB interface is also required. This can any of the following:

1. Capital Equipment Corporation PCI-488 card, which plugs into the system controller PC, and a
standard IEEE-488 cable to make the connection from the scope to the PC

Figure 20. PCI488

2. National Instruments GPIB-USB-HS Controller for USB 2.0 (with integral USB cable).

Figure 21. NI GPIB-USB-HS

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 24
3. National Instruments NI PCI-GPIB card, which plugs into the system controller PC, and a standard
IEEE-488 cable to make the connection from the scope to the PC:

Figure 22. NI PCI-GPIB

2.5 System Controller (a PC running MS Windows)


The system controller is a standard PC running Microsoft Windows. The current version of the AIMS software
requires Microsoft Windows 2000 or XP. Any PC suitable for running these versions of Windows may be used. For
the two interface cards used by the AIMS, two available (empty) PCI slots are required. Or, if the National
Instruments GPIB Controller for USB 2.0 is used, one empty PCI slot and one USB 2.0 port must be available.

2.6 Hydrophones and Preamplifiers

For the most common types of measurements made with the AIMS, a hydrophone and preamplifier are required.
The hydrophone can be one manufactured by Onda, or by some other manufacturer. We generally recommend
that a needle-type hydrophone with its small reflecting area be used for continuous-wave measurements, and a
membrane or ellipsoidal capsule type hydrophone with flatter frequency response be used for pulsed
measurements.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 25
2.7 Accessories for Holding Transducers and Hydrophones
Onda provides several devices for holding hydrophones and transducers in the scanning tank. These are provided
in kits to allow the user to mount various sorts of transducers and hydrophones, either to the axis 2 plate that
moves in three axes, or in a fixed position in relation to the tank. The parts of these kits that are submerged are
made of acetyl (a high-strength plastic) or stainless steel. The kits provide 1/2" (12.7mm) diameter stainless steel
rods of various lengths, and 90-degree clamp blocks to attach the rods to each other. The clamp block is shown in
figure 25. The blocks are split, and fitted with screws and thumb nuts to clamp onto the rods.

Fig. 23. THAS05

Figure 24. THAS02

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 26
Figure 25. 90 Degree 1/2" Rod Clamp Block

To support a transducer in a fixed position in relation to the tank, the cross-span slide assembly can be used. This
rest s on the top edge of the tank, and supports a vertical rod which can extend into the tank. This assembly can
easily be slid along the top edge of the tank, or the slide assembly can be moved from front to back, sliding along
the two 1/2" diameter rods, allowing for adjustment of the transducer position. The cross-span slide assembly is
shown in figure 26, and is also visible in figure 23.

Clamp Blocks
Slide Assembly

Figure 26. Cross-Span Slide Assembly - Top View

At the other end of the rod or rods, a transducer can be clamped using the general purpose clamp assembly shown
in figure 27. This clamp assembly was designed to hold a variety of objects, either rectangular or cylindrical.
Cylindrical objects can be gripped in one of the "V" grooves. If desired, the two threaded rods can be moved to the
other two tapped holes, changing the orientation of the 1/2" hole for the mounting rod.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 27
Object Being Clamped

"V" Grooves

Hole for 1/2" Rod

Figure 27. General Purpose Clamp Assembly

Objects can be attached to the axis 2 plate of the AIMS positioner using the 1/2" rod/flat plate mounting assembly,
shown in figure 28. This assembly consists of a block with a "V" groove cut in it, which bolts to the axis 2 plate of
the AIMS positioner. Also provided are a clamp block, which grips the rod, and screws and a thumb nut for
tightening.

Axis 2 Plate

V Block
Clamp Block
1/2" Rod Thumb Nut

Figure 28. 1/2" Rod/Flat Plate Mounting Block Assembly

For holding needle hydrophones, the holder assembly shown in figure 29 is offered as an option.

Figure 29. Needle Hydrophone Holder Assembly

Holders for Ondas capsule hydrophones are also available. The NTR membrane hydrophones include a block for
mounting to a 1/2" rod.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 28
Figure 30. Membrane hydrophone with mounting block

2.8 Function Generators

The AIMS software can control the Agilent 33120, 33220, and 33250 function generators. These can be used for
frequency scanning, to measure frequency response of transducers, amplifiers, etc. The control is through the
GPIB, so a GPIB cable will be needed to connect between the function generator and the GPIB controller. The
device number of the function generator must be different from the device number of the oscilloscope.

2.9 USB Key


Version 4.2 makes use of a USB key to allow control of the AIMS hardware only on a single computer at any time.
The AIMS software may be installed on multiple computers, but the license allows only one copy to be used at any
time to control the AIMS hardware. Please see the AIMS software license agreement.

IMPORTANT! Do not lose the USB key!

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 29
3. Device Driver Installation
There are several third-party software packages that need to be installed for the AIMS. What is installed depends
on the interface used to connect the oscilloscope, which oscilloscope is being used, and where the PCIDIO24 card
is to be installed.

If the oscilloscope is connected to the PC via Ethernet or USB, then no IEEE-488 card is needed. If it is connected
via IEEE-488, then the driver for either the PCI-488 or an NI IEEE-488 adapter/card should be installed. If an NI
adapter is being used, then VISA (if needed) can be installed from the NI-488.2 CD that comes with that adapter. If
a CEC card is being used, then VISA can be installed separately.

The IVI (Interchangeable Virtual Instrument) Compliance Package and NI-VISA are needed when using a LeCroy
oscilloscope or a Tektronix 200, 1000, or 2000-series oscilloscope. The AIMS software does not use the device-
independent IVI drivers, but the device-specific drivers that we use are IVI compatible and require the ICP and
VISA to operate.

The Tektronix 3000-series oscilloscopes require VISA. Either the National Instruments implementation of VISA or
the Tektronix implementation of VISA can be used.

Agilent VISA is needed when using the 5000 or 6000-series oscilloscopes. It can be installed from the Agilent IO
Libraries Suite CD, or from an installation program that can be downloaded from the Agilent website. When using
the older 5462X, 5464X, or 54600B iscilloscopes, only the GPIB driver is required.

The PCIDIO24 card will usually be installed in a desktop PC that is used to run the AIMS software. It can also be
installed in a PC that is connected to the EMDS, with the AIMS program running on another PC (such as a laptop),
these two PCs being connected through a LAN. This type of configuration, together with an NI GPIB-USB-B, was
used during development at NTR.

If an Agilent function generator is to be controlled by the AIMS program, then only a GPIB driver will be needed.

The drivers should be installed in the following order:

3.1 CEC PCI-488


If you are using the CEC PCI-488, then the software for the PCI-488 should be installed before installing the PCI-
488. Install it from the CEC CD. (If the CD is not available, it can be installed from cec488v8.exe available on the
AIMS CD or CECs website.) If you insert the CD and it does not start automatically, run SETUP.exe on the CD.

When you see this, click OK:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 30
Click OK again to select destination:

Select components. All that we need are the NI compatibility drivers:

You will see the progress indicator:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 31
After that, you will see this. Click OK:

When finished, click OK:

You will also see this. Click on Restart Later, because we will need to shut down the PC to install the cards:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 32
3.2 National Instruments IEEE-488 Adapters
Install the software from the NI-488.2 CD that comes with the adapter. This is the opening window:

After it finishes initializing, click Next:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 33
Select the destination:

Select Custom, this will let us choose to install VISA:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 34
Make sure that NI-VISA and Measurement & Automation Explorer are selected:

Click I Accept and Next:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 35
Click Next again:

Progress will be displayed:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 36
Click Next:

You will see the Add GPIB Hardware Wizard. Select the interface:

Click on Restart if you are using a USB adapter. If you are using a PCI adapter, Click Shutdown. Click Finish.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 37
If you are using a PCI adapter, install it at this time and restart the computer..

After the PC restarts, you will see the next dialog box. If you are using a USB GPIB adapter, plug it in at this time.

When you plug in the USB adapter (or if you are using a PCI adapter), you will see the dialog box below. Click on
No, not at this time, and click Next:

Click on Install Automatically, and Next

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 38
Progress will be shown:

When completed, click on Finish:

Go back to the Getting Started Wizard, and click on Verify:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 39
You should see this (the interface type may be different):

Click on Exit, and you should see this:

Click OK, and you should see the dialog box below. If you click on Communicate, it will show you a series of
windows explaining how to check communication with the oscilloscope using the NI Measurement and Automation
Explorer.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 40
3.3 PCI-DIO24
The software for the PCI-DIO24 should be installed before installing the PCI-DIO24. Install it from the InstaCal CD.
If you insert the CD and it does not start automatically, run SETUP.exe on the CD. When you see this dialog box,
click Next:

Click Next again:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 41
Click Next again, and it will install the software:

When finished, you will see this click Yes or No:

You should also see this dialog box. Click No then OK:

At this point, shut down the computer and install the PCI-DIO24 and the IEEE-488 card. When the computer is re-
started, the cards should be detected. If not, shut down the computer and move the card to another slot.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 42
When the PCI-DIO24 has been installed and the computer is re-started, you should see this. Click Install the
software automatically, then click Next:

Progress will be displayed:

You will see this when installation is completed. Click on Finish:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 43
You will need to determine the board number of the PCI-DIO24. To do this, click on Start, All Programs,
Measurement Computing, InstaCal. This is the opening screen:

After that, you should see this, click OK:

You will see the InstaCal main window. It shows you the board number of the PCI-DIO24, in this case 0. This is
the board number that will be needed when setting up the positioner configuration.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 44
3.4 IVI Compliance Package
This is required when using LeCroy oscilloscopes, and when using the Tektronix 200, 1000, and 2000-series
oscilloscopes. It is not required when using the Agilent function generators. The installation file for this is
ICP22.exe.

Start ICP22.exe, and click Setup:

Files will be unzipped:

This window will appear. Once the progress bar is finished, click Next:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 45
You will see this, click Next:

Click Next again:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 46
Click I Accept, then Next:

Click I Accept, then Next:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 47
Click Next:

Click Next:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 48
Installation progress will be displayed:

When completed, you will see this. Click Finish:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 49
3.5 NI VISA Runtime
Normally NI-VISA is installed from the NI-488.2 CD (see section 3.2). It is also included with other NI software
products such as LabView. The installation file for this is visa331runtime.exe, which can be downloaded from the
NI website. Start it, and you will see this:

It will put the temporary files in C:\National Instruments Downloads. Click OK, and you will see this. Click Unzip:

Files will be unzipped:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 50
The installation program will start, Click Next:

Click Next:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 51
Click Next again:

Click I Accept, then Next:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 52
Click Next:

Progress will be displayed:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 53
This is displayed when finished:

Click on Restart:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 54
3.6 Tektronix Scope Drivers
The current version of the AIMS uses IVI-compliant device-specific drivers for Tektronix 200 oscilloscopes, and for
the Tektronix 1000 and 2000-series. It uses only VISA for the Tektronix 3000-series.

3.6.1 200 Series Oscilloscopes


The driver for these is tktds2x0_32.dll, which is installed from tktds2x0_MS.msi.
The scopes supported by this driver are:
TDS 210, 220, TDS 224

Double-click the installation file. When you see this, click Next:

Click I Accept, then Next:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 55
Select Typical, and click Next:

Click Next:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 56
Progress will be displayed:

When installation is finished, click Finish:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 57
3.6.2 1000 and 2000 Series Oscilloscopes
The driver for these is tktds1k2 k_32.dll, which is installed from tktds1k2 k_MS.msi.
The scopes supported by this driver are:
TDS 1002, 1012, 2002, 2012, 2014, 2022, 2024
TPS 2012, 2014, 2024

Double-click the installation file. When you see this, click Next:

Click I Accept, then Next:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 58
Select Typical, and click Next:

Click Next:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 59
Progress will be displayed:

When installation is finished, click Finish:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 60
3.6.3 3000 Series Oscilloscopes
The Tektronox 3000-series oscilloscopes do not use an oscilloscope driver. The AIMS software controls them
through VISA. The AIMS software will work with either the National Instruments implementation of VISA, or with
TekVISA from Tektronix.

NI VISA is included on the NI-488.2 CD that comes with the GPIB-USB adapter. To install it, you must select
Custom installation. See section 3.2.

TekVISA can be downloaded from the Tektronix website.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 61
3.7 LeCroy Scope Driver
This driver requires NI-VISA and the IVI Compliance Package. The installation file is in
Labview_LabWindows_Download_Files.zip
The scopes supported by this driver are:
WaveMaster 8300, 8500, 8300A, 8500A, 8600A, 8620A
SDA 3000, 5000, 6000, 6020
WavePro 7000, 7100, 7300
DDA 5005A
WaveRunner 6030, 6050, 6051, 6100, 6200
WaveSurfer 454, 452, 434, 432, 424, 422

Double-click Labview_LabWindows_Download_Files.zip, then double-click LcXsDSOdriver.exe:

You will see this message box, click Run:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 62
The installation program will start, click Next:

Click Next again to accept the destination:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 63
Click Next to start installation:

Progress will be displayed:

When finished, click Finish:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 64
3.8 Lecroy VICP Passport
This must be installed if you are going to use the LeCroy scope via an Ethernet connection. It is not required if
using a GPIB connection. The installation file for this is in Labview_LabWindows_Download_Files.zip. Double-click
it:

You will see this message box, click Run:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 65
The installation program will start, click Next:

Click on I Agree:

Click Next again to accept the destination:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 66
Progress will be briefly displayed, then click on Finish:

After that a ReadMe file is displayed, close it when ready:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 67
3.9 Agilent Oscilloscopes
The Agilent 54600, 5462X, and 5464X series oscilloscopes do not require installation of an oscilloscope driver, and
do not require VISA or the IVI Compliance Package. Communication is directly through NI488.2. AIMS Version 4.2
communicates with the Agilent 546XX oscilloscopes only through GPIB.

The Agilent 5000 or 6000-series oscilloscopes require the Agilent IO Libraries Suite. This is on the CD that comes
with the 6000-series oscilloscopes, or can be downloaded from the Agilent website. Once the IO Libraries Suite is
installed, the connection can be made through GPIB, Ethernet, or USB. Run the Agilent IO Connection Expert
which will identify instruments connected to your computer. For GPIB, you will need to determine the oscilloscopes
device number. For Ethernet, you will need its IP address. For USB, it is generally easiest to assign a VISA alias.
To do this, select the device in the Agilent Connection Expert:

Then right-click on it, and click on Add VISA Alias:

3.10 Agilent Function Generators

The Agilent 33120A, 33220A, and 33250A function generators do not require installation of a device-specific driver,
and do not require VISA or the IVI Compliance Package. Communication is directly through NI-488.2.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 68
4. AIMS Software Installation and Configuration
To install the AIMS software, run setup.exe on the CD in the \AIMS directory. This installs the AIMS software,
sample files, external control demos, etc. It does not install any required drivers. The drivers must be installed
separately.

The AIMS program will write its configuration to AIMS.ini. This file will be in the same directory as AIMS.exe.

4.1 Oscilloscope Configuration


After starting the AIMS program, you will need to configure the oscilloscope and the positioner.

To configure the oscilloscope, click on Config / Oscilloscope. You first need to select the driver that supports the
oscilloscope you are using. The next step is to select the interface, either IEEE-488 or TCPIP (Ethernet). This
depends on the oscilloscope model.. Most models will support either IEEE-488 or TCPIP, and a few will support
both. Consult the oscilloscope documentation on how to determine or set its device number.

If you are using TCPIP, you will need to enter either the oscilloscopes IP address, something like 10.0.0.2, or if
you prefer to use the oscilloscopes name, it could be something like UNKNOWN-FA8165C (the name of a
LeCroy oscilloscope). Consult the oscilloscope documentation on how to determine its name or IP address.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 69
If you are using USB, enter a VISA alias for the oscilloscope:

After clicking OK, if something is incorrect, you will see an error message. If this happens, check the connections
and the device number or IP address or name.

Click on Setup / Oscilloscope Setup. A dialog box will appear with the oscilloscope model number at the top. You
should be able to change settings from this dialog box.

4.2 EMDS Configuration


The EMDS and positioner can be controlled directly by the AIMS program or it can be controlled by
PositionerServer.exe.

It is also possible to control stepper motors through a Velmex controller.

See section 5.3 for information on setting the configuration.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 70
4.2.1 EMDS (Normal Operation)
You will need to determine the board number of the PCIDIO24. See section 2.3 on how to determine the board
number. Click on Config / Positioner, select EMDS, and enter the board number.

4.2.2 Using PositionerServer


When using PositionerServer.exe, the AIMS program communicates with PositionerServer.exe through TCPIP.
PositionerServer.exe can run on the same computer as the AIMS or it can run on another computer with an
Ethernet connection. If they are on the same computer, then the host name would be localhost. If
PositionerServer is running on another PC, then you will need to determine that computers name or IP address.

To determine the PCs IP address, on that computer click on Start / Control Panel. Double-click Network
Connections. Double-click the connection you are using. Click on the Support tab, and it will show you the IP
address:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 71
You must start PositionerServer before starting AIMS.exe. PositionerServer defaults to board number 0. If you
need to specify some other board number, that must be specified on the command line. To do this, find
PositionerServer.exe. Right-click on it, and click Create Shortcut. Right-click the shortcut, and click Properties. On
the Shortcut tab, there is an edit control labeled Target. Put a space then the board number at the very end. If the
file name is enclosed in quotes, then the space and number must go after the closing quotation mark:

The PositionerServer window displays the commands that it receives. It looks like this:

The number in the caption is the board number of the PCIDIO24.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 72
When you first use PositionerServer.exe, you may see a dialog box like this:

Click on Unblock. If you are running an Internet security program, the dialog box will look different from the one
above.

4.2.3 Velmex Controller Configuration

The Velmex controller connects to the PC through a serial port. You will need to determine what the port number is
and enter that in the positioner configuration dialog box.

4.3 Function Generator Configuration


This is similar to the oscilloscope configuration, except that currently only the IEEE-488 interface is supported. You
will need to determine the function generators device number and enter it.

4.4 Water Conditioner Configuration


The Water Conditioner connects to the PC through a serial port. You will need to determine what the port number
is and enter that in the Water Conditioner configuration dialog box.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 73
5. Using the AIMS

5.1 Setup and Connections


The tank should be placed on a very sturdy table. In the case of the standard (smallest) size tank, the water alone
will weigh about 100 kg. The oscilloscope and motor drive electronics should be close to the tank. The computer
and monitor etc. should also be conveniently close to the tank. If possible, it is very desirable to have access to
three sides of the tank. This makes setup and observation much easier. It is often convenient to have the system
under test on a wheeled cart (if it does not have its own wheels).

All of the electronic components (PC, oscilloscope, EMDS, function generator) of the AIMS must be properly
grounded. The system under test must also be properly grounded. The total power consumption will be
approximately 500 W for the system.

Figure 30. Possible arrangement of system components.

The tank should be filled with distilled or deionized water. The sensitivity of some hydrophones is affected by
conductivity of the water. There are three hose connections on the tank, one in front and two in the back. The two
in the back are intended for circulation, the one in front for filling and draining. All three are fitted with ball valves.

Onda can provide a water conditioning system to filter, degas and deionize the water, and maintain the water
temperature.

5.1.1 Power Up and Down Sequence

When starting the AIMS, this order should be followed:

1. Turn on the computer.


2. Turn on the Oscilloscope, EMDS, and hydrophone power supply (if applicable).
3. Start AIMS.EXE.

When finished with the AIMS, follow these steps when shutting down:

1. Close the AIMS program.


2. Turn off the oscilloscope, EMDS, and hydrophone power supply.
3. Turn off the computer.
4. Remove the hydrophone and transducer from the water.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 74
5.1.2 Oscilloscope and EMDS Interface Connections
The oscilloscope connects PC in one of several ways:

PCI GPIB adapter: The oscilloscope connects through a standard GPIB cable.

USB GPIB adapter: The oscilloscope can usually connect directly to the oscilloscope. (In the case of some of
the smaller Tektronix oscilloscopes, we had to grind one corner off of the NI GPIB-USB-HS plastic housing to
plug it directly into the scope. This would most certainly void the warranty! An intermediate GPIB cable would
avoid this problem.)

Ethernet: If an Ethernet connection is being used (only available in the case of some oscilloscope models),
then a standard Ethernet cable should connect the oscilloscope to an Ethernet hub also accessible to the PC
running the AIMS software.

Each stepper motor is connected to the stepper motor driver by a standard 9-conductor cable serial port extension
cable (male connector on one end, female on the other, 1-to-1 pin connections). The stepper motor driver is
connected to the PCIDIO24 interface card by a 37-conductor cable.

5.1.3 System Under Test


When measuring the output of pulsed systems, the system under test must provide a trigger output signal that is
synchronized with the transmit pulse. This may not always be so easy to obtain, and may require consultation with
the manufacturer or system engineering department. The excitation signal needs to be of stable amplitude and
frequency.

If the system under test operates in a scanned mode, then it must be placed into a non-scanning mode which
transmits the same pulses at the scanning mode. In the case of mixed modes (e.g., some ultrasound systems
support simultaneous Doppler and pulse-mode imaging), each mode will need to be measured separately, and the
results combined. These compatibility requirements for testing with AIMS are based on standard, state-of-the art
measurement practices. Nevertheless, sometimes the system under test was not designed or acquired with these
requirements in mind, and consequently cannot be tested with AIMS. (Note that this is not a problem unique to the
AIMS, but would apply to any hydrophone scanning tank system.) In such cases, the system under test will have
to be modified. The user is advised to undertake modifications of the system under test in consultation with its
manufacturerneither NTR or Onda will take responsibility to make the system under test compatible with AIMS.

There are CW some cases where the AIMS can be operated without triggering. See section 5.9.

5.1.4 Setting up the Hydrophone and Transducer


The hydrophone output should be connected to channel 1 of the oscilloscope. The trigger signal should be
connected to either channel 2 or the external trigger input. Power supply connections for the hydrophone will
depend on the model being used. If the hydrophone output is being amplified, then the hydrophone output should
be connected to the proper load, which is usually 50. This can be a BNC feed through termination on the
oscilloscope input (with the input impedance set to 1M o r it can be the oscilloscope input set to 50. See figure


33. Make sure that the scope terminating impedance is correct for your hydrophone amplifier and consistent with
your hydrophone's calibration. Most amplifiers are designed for 50load impedance, but check the specifications
or your hydrophone calibration certificate to determine the correct load impedance.

A few of words of caution on termination: some oscilloscopes have a feature where if the input is set to 50, and
the signal exceeds some threshold, then it will revert to 1 M
i n order to protect the internal 50 load. If this
happens, it will obviously cause measurement errors. Also, If you are using a 50 termination, be sure that the
oscilloscope input impedance is set to 1M, or you will be terminating the 50 cable with 25, which will also
cause errors.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 75
Figure 31. Membrane hydrophone mounting, v ertical beam setup

Figure 32. Transducer mounting, vertical beam setup

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 76
Ch1 Ch1
(1M ) Ch2 (50 Ch2

50 Ohm
Termination Trigger Trigger
Signal Signal
Preamp Preamp

Hydrophone Hydrophone

Option A Option B
(Only available on some
oscilloscope models)

Figure 33. Tw o options for achieving 50 termination

Figure 34. Connections to oscilloscope channels 1 and 2,


w ith 50termination on channel 1

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 77
5.1.5 Orientation and Direction
The type and mechanical characteristics of the transducer will most likely determine whether a vertical or horizontal
beam setup is used. Some examples of both are in section 2.2. If the back of the transducer cannot be
submerged, then a vertical setup should be used. If the distance that needs to be scanned is large, then it may be
best to use a horizontal setup.

The AIMS software allows you to select which axis is X, Y, and Z from the ultrasound standpoint. The Z axis will be
the beam axis. In the case of circular transducers, it does not matter which we call X and Y. In the case of array
transducers, X will be the longer (azimuthal) axis along which the beam is steered, and Y will be the shorter
(elevational) axis.

If the angular positioner is being used to align the beam, then it will be necessary to properly identify which angular
axis corresponds to X and Y.

Figure 35. Relationship betw een Angular and X or Y Axes

This table shows which axes will need to be reversed for the setups in figures 12 and 13, This is assuming that the
X axis is Left/Right in the horizontal case, and Up/Down in the vertical case.
Horizontal Beam Setup (figure 12)

Vertical Beam Setup (figure 13)

Axis 0 Left/Right x
Axis 1 Front/Back
Axis 2 Up/Down
Axis 3 Ang. Arm x x
Axis 4 Turntable

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 78
5.1.6 Hardware and Software Limits
The convention used by the AIMS program is that the XYZ position 0, 0, 0 is where the hydrophone would be in
contact with the center of the face of the transducer. Actually moving to this position would cause damage to the
hydrophone, so we can never actually move to that point.

The AIMS provides two levels of protection against damage to the hydrophone and transducer due to crashing:

The first is entirely software-based. For each axis, it is possible to set a high and a low limit to the travel. The
software will not command the motors to move outside of these limits. To set these limits, click on Setup /
Positioner Setup. Each axis tabbed page has a place where you can enter the high and low limits. This will
provide good protection in most cases, but if for example the Z axis position is changed to some incorrect
value, then the protection may be lost.

The second type of protection uses limit sw itches. There are two of these for each of the three translational
axes. The switches are mounted near the motors, and move with the motors. We provide small plastic
actuator blocks that can be attached where needed to the toothed rack. These are visible in figure 36.

Figure 36. Limit Sw itch and Actuator Block

For a vertical beam setup, we suggest moving the transducer well out of the way (or removing it from the tank).
Using the front panel switch, run the positioner and hydrophone upward along the Z axis until the limit is reached.
Make sure that the hydrophone will be well below the transducer. Carefully replace the transducer, being careful
that it will not hit the hydrophone. Manually move the hydrophone and/or transducer (adjusting the position with the
rods, not by moving the positioner) until the hydrophone is close to the transducer. Since the positioner has
already reached the limit switch, it cannot move closer than this distance.

For a horizontal beam setup, slide the cross-span slide assembly as far as possible to the right or remove it
completely. Set the limit switch block so that you will still have enough working room at the right-hand end of the
tank. Run the positioner (use the front panel switch) until it reaches the limit switch. Replace the cross-span slide
assembly, and slide it along the tank edge until the transducer is fairly close to the hydrophone. You may need to
move the hydrophone in the X and Y directions to center it. Lock the cross-span slide to the tank edge. This
position is as close as the hydrophone will be able to move toward the transducer.

The user will also be warned if an attempt is made to perform a scan where the start or end point on the Z axis is
less than or equal to zero.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 79
5.1.7 Distance Tracking
The AIMS software includes a feature which will change the oscilloscopes trigger delay when the Z axis distance
changes. This lets us choose a suitable timebase (something like 200 ns / div.) so that the pulse is adequately
sampled. By having the delay track the distance, the pulse will remain in the same position on the oscilloscope
screen as we move along the Z axis. In the AIMS program, the goal is to have the pulse begin one division from
the left side of the oscilloscope display.

Distance tracking is controlled by clicking on Setup / Tank Setup. In the Medium tabbed page, you can enter the
velocity. If you enter the temperature, the velocity will be calculated from the temperature:

c =1404.1 + 4.77 t - 0.042 t

where t is the temperature in degrees Celsius and c is velocity in m/s. If you are using the Onda water conditioner,
the temperature will be measured and the velocity calculated from that.

After clicking Setup / Tank Setup, if you click on the Distance Tracking tab, there is a check box that lets you enable
or disable distance tracking. The Use Diagonal check box controls whether the Z distance is used or the diagonal
is used. The diagonal should be used in the case of small aperture, wide angle transducers where the X and Y
scan dimensions will be large compared to the Z distance. For flat and focused transducers, just using the Z
distance rather than diagonal is usually best.

The current Z distance (or diagonal) is shown, along with the computed delay. The delay offset is provided to deal
with a couple of situations. The first is where the available trigger signal is not synchronous with the transmit pulse.
If that is the case, then the time difference should be entered here. The second is where we ant to make pseudo-
CW measurements using a tone burst. If we want to digitize a portion of the burst that is steady state, then we
would set the offset to be somewhat larger than the transducers ring-up time.

The Scope Offset To First Division depends on the oscilloscope model in use. Depending on the model, the trigger
point may be at the center of the screen, the left edge, or one division from the left, and there may be multiple
options available. The program must compensate for these differences to calculate the correct delay.

The resulting delay is shown at the bottom. This is the trigger delay that will be set on the oscilloscope.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 80
5.1.8 Triggering
The trigger signal should be applied to channel 2 or the external trigger input. We prefer to use channel 2 so that
the trigger signal can be viewed. If the trigger signal is brought out of the system under test, it should be taken
from a point in the circuitry where the cable used to trigger will not affect the system output amplitude. Simply
connecting a length of coaxial cable to the transducer will probably load the excitation circuitry. Also, the excitation
pulse applied to the transducer may be too large to safely apply to an oscilloscope input. A x10 attenuating probe
would be a good choice in this case. If a function generator is being used, then it will most likely have a sync output
for this purpose.

To view the trigger edge, click Setup / View Trigger. This set s the delay to zero so you can see the trigger edge.
Make sure that the trigger source is set correctly. The trigger polarity will need to be set depending on whether it is
the positive or negative edge that is synchronous with the excitation pulse. Adjust the trigger level until the trigger
pulse is seen clearly. The trigger level should be somewhere near halfway between the high and low levels of the
trigger pulse. When you click OK, the previous delay and timebase settings will be restored. Figure 37 shows the
oscilloscope screen with channels 1 and 2 visible. The timebase has been adjusted so that you can see both the
trigger pulse (to the left) and the received pulse.

Figure 37. View ing the trigger and hydrophone signals

5.1.9 Determining the Z Distance


The hydrophone should be set up in front of the transducer, and centered by eye. Once this is done, there are
several ways to determine the Z axis distance:

Direct measurement: When using a needle hydrophone, it is sometimes possible to use a rule to measure the
transducer to hydrophone distance. Extreme caution must be used when doing this! Once the distance has
been measured, the value for that axis can be set by clicking Setup / Position, then Set Position. Enter the
measured distance, then click Apply. In the case of CW measurements, this is often the only available option,
as the next two depend on pulses.

Using Find Pulse: This menu item (under Search) will vary the oscilloscope delay and look for a signal that
is above the baseline noise. Once it finds something, it will adjust the delay twice to bring the beginning of the
pulse to one division from the left on the oscilloscope display. It then computes the distance from the delay and
velocity, and applies that value to the Z axis position. This works fairly well for pulses of a few MHz where the
timebase about 1 s to 200 ns / div. At slower timebase settings than this the program may not be able to
determine the distance very accurately.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 81
Manually Adj usting the Distance: Estimate the Z distance. Set the distance on the Z axis (Setup /
Positioner, click on Set Position) to this estimate distance. Move the hydrophone by turning the hand crank
until the pulse starts one division from the left on the oscilloscope screen.

5.2 Alignment
The AIMS software can carry out various alignments and searches which are discussed in section 6.5.

5.3 Digitizing Waveforms


Digitizing a waveform at the current position is simply done by clicking on Data / Waveform / Get Waveform. If the
Data / Waveform / Autoscale Vertical Sensitivity is checked, then the vertical sensitivity will be adjusted to optimally
utilize the vertical resolution. Once the waveform has been digitized, you can view a plot of it or make various
calculations on it. The results can also be exported to an Excel format file, which includes calculation of Pr, PII, MI,
center frequency, etc. An example is in section 7.4.

When averaging waveforms, jitter (often caused by vibration) can be greatly reduced through the use of cross-
correlation. This is turned on or off via the Use Correlation check box. As an example: this first waveform was
digitized without averaging:

The second was the average of 10 waveforms in the presence of vibration, without the use of correlation. The
noise level is lowered, but the peaks are not being recorded accurately, and the waveform is clearly distorted:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 82
The third was the average of 10 waveforms in the presence of vibration, with the use of correlation. The waveform
is less noisy than the first one, and the shape of the waveform has been preserved:

5.4 One-Dimensional, Two-Dimensional, and Frequency Scans


The AIMS software can scan along X, Y, or Z, or either of the angular axes. It can also scan any combination of
two axes. The AIMS software can also scan in frequency. All of these scans are discussed in more detail in
section 6.6. Once the data have been recorded, there are various ways to view the data, discussed in sections 6.8,
6.9, and 6.10

5.5 Three-Dimensional Scans


The AIMS software can acquire three-dimensional scan data by doing a series of two-dimensional XY scans, each
at a different distance on the Z axis. Each XY scan is saved in its own file using the same fornmat as the normal
two-dimensional scans.

5.6 Z Scans
These are a special case of one-dimensional scan, along the Z axis, intended for use in measurement of diagnostic
ultrasound systems. The parameters to be recorded are preset, and so are not user-selectable. Once this type of
scan has been done, it can be saved as normal. The results can be exported to an Excel format file, which
includes calculation of thermal indices etc. An example is in section 7.4.

5.7 XY Scans
These are a special case of two-dimensional scan, in the XY plane, intended for use in measurement of diagnostic
ultrasound systems. The purpose of this type of scan is to measure ultrasound power and to determine the beam
widths. The parameters to be recorded are preset, and so are not user-selectable. Once this type of scan has
been done, it can be saved as normal. The results can be exported to an Excel format file, including ultrasound
power and beam dimensions. An example is in section 7.4.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 83
5.8 ZX Scans
These are a special case of two-dimensional scan, in the ZX plane, intended for use in measurement of diagnostic
ultrasound systems. The purpose of this type of scan is to to calculate the SII (scan intensity integral) for scanned
systems, and from that Ispta. The parameters to be recorded are preset, and so are not user-selectable. Once this
type of scan has been done, it can be saved as normal, and the SII calculation results may be viewed. An example
is shown below.

In the case of a linear array, the SII is calculated at each Z distance by summing the PII for each line that is being
transmitted. To do this, the spacing between lines must be known. The spacing of the points along the X axis
need not be equal to the line spacing. The value for each line will be interpolated (in the X direction) between
points in the ZX scan data. This is repeated for each Z distance in the ZX scan.

Figure 38. SII Calculation, Linear Array

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 84
In the case of a curved array, the SII is calculated at each Z distance by summing the PII for each line that is being
transmitted. To do this, the radius of curvature of the transducer and the angle between adjacent lines must be
known. The value for each line will be interpolated (in both X and Z directions) between points in the ZX scan data.
This is repeated for each Z distance in the ZX scan.

Figure 39. SII Calculation, Curv ed Array

5.9 Therapy Ultrasound Measurements


The AIMS software can make semi-automated measurements of physical therapy instruments according to the
FDA or IEC methods.

In both the IEC and FDA cases, the user interface is very similar. See section 6.6.8.

Before starting, various aspects of the process are selected:

Z axis scan start and end positions and the number of points.
Auto width of XY scans.
Maximum width of XY scans (if Auto Width) or actual width of XY scans.
Threshold for finding width (dB) if Auto Width.
Whether to align to last axial maximum, and if so, whether to align to peak or center.

If alignment at the last axial maximum is selected, then after the Z axis scan is completed, the software lines up on
the beam at that point. It then repeats the Z axis scan.

During the scans, Vrms at a frequency is recorded to improve the signal to noise ratio. The frequency used is the
frequency that is entered under Setup / Measurement Setup.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 85
A window shows the progress during the measurement process, and results at the end.

We have found that it is possible in some cases to measure CW signals without any trigger signal. This can be
done by setting the oscilloscope trigger source to Line. This will trigger the oscilloscope fairly quickly without
having to wait for the auto triggering timeout. If the timebase is set so that many cycles are digitized (but not so
many as to approach the Nyquist frequency), then the RMS at a frequency can be calculated, providing its
advantage of good signal-to-noise ratio.

If the frequency is not very stable, then it will be necessary to set the timebase so that fewer cycles are digitized. It
may also be possible to average waveforms without triggering if the cross-correlation feature of the AIMS software
is used. This will line up the waveforms even if their phase is random.

These settings can be used as a starting point for operation without triggering:

trigger source: line


mode: auto
trigger level: 0V
timebase: 10 microseconds per division
delay: 0
distance tracking: off

Some experimentation will be needed to find what combination of settings which gives good enough results but
does not take too long.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 86
5.9.1 IEC Method
This does the Z-axis scan to determine the location of the last axial maximum and the location of the peak. It then
determines the Z distances for the four XY scans, and does those scans. It saves the data in normal AIMS format,
then calculates the Aer, Rbn, etc. A summary of the results is output to a file with the .txt extension. This is a
sample of the output text file:
iec 1MHz 1290 a Started at 8:20:41 PM
Z Axis Scan Started at 8:20:41 PM
Z Axis Scan Completed at 8:22:39 PM
Z Axis Scan Started at 8:24:02 PM
Z Axis Scan Completed at 8:26:00 PM
Z Axis Scan Data Saved as iec 1MHz 1290 a_Z.aim
Zn = 5.9 cm
Z distanc es = 1, 2.63, 4.27, 5.9 c m
Zp = 5.9 cm
Moving To: 1 c m
Scan Width = 31.5 mm
XY Sc an 0 Started at 8:26:53 PM
XY Sc an 0 Compl eted at 8:52:15 PM
XY Sc an 0 Saved as iec 1MHz 1290 a_XY_0.ai m
Moving To: 2.63 cm
Scan Width = 36 mm
XY Sc an 1 Started at 8:53:04 PM
XY Sc an 1 Compl eted at 9:19:49 PM
XY Sc an 1 Saved as iec 1MHz 1290 a_XY_1.ai m
Moving To: 4.27 cm
Scan Width = 46.5 mm
XY Sc an 2 Started at 9:20:46 PM
XY Sc an 2 Compl eted at 9:48:22 PM
XY Sc an 2 Saved as iec 1MHz 1290 a_XY_2.ai m
Moving To: 5.9 c m
Scan Width = 48 mm
XY Sc an 3 Started at 9:49:20 PM
XY Sc an 3 Compl eted at 10:14:30 PM
XY Sc an 3 Saved as iec 1MHz 1290 a_XY_3.ai m
Measurement Compl eted
Measurement Compl eted

[Therapy Meas IEC]


FileName f:\iec 1MHz 1290 a
MaxWidth90 mm
Points XY 31
MinDepth 10 mm
MaxDepth 100 mm
PointsZ 91
VperMPa 2.38817
VsqrdcmsqrdperW 0.08555
ElapsedTime 114
dBThres hold 32
Pmax 0.0501 MPa rms
Zn 5.9 cm
Z 1 2.63 4.27 5.9 cm
Abcs 1.819 1.8 1.994 2.125 cm
Pmst 0.1726 0.1294 0.0771 0.0713
Power 0.127 0.124 0.123 0.122 W
Phi 1.074 0.383 0.236 0.184
IncArea 0.011 0.014 0.024 0.026 cm
Abcs0 1.6998 cm
m 0.0680266
K 41.8879
a1 0.885392
Fac 1.44884
Aer 2.4628 cm
Q 0.0400201
BeamT ype collimated
Pmstssqrd 0.00186106
Rbn 3.31937

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 87
5.9.2 FDA Method
This does the Z-axis scan to determine the location of the last axial maximum and the location (and value) of the
peak. It then does the XY scans at 5 mm and at the last axial maximum. It saves the data in normal AIMS format,
then calculates the ERA, BNR, etc. A summary of the results is output to a file with the .txt extension. This is a
sample of the output text file:

fda 1MHz 1288 a Started at 10:06:38 AM


Z Axis Scan Started at 10:06:38 AM
Z Axis Scan Completed at 10:08:31 AM
Z Axis Scan Started at 10:09:38 AM
Z Axis Scan Completed at 10:11:29 AM
Z Axis Scan Data Saved as fda 1MHz 1288 a_Z.aim
Moving To: 5 mm
Scan Width = 25.5 mm
XY Sc an at 5 mm Started at 10:12:18 AM
XY Sc an at 5 mm C ompleted at 10:38:57 AM
XY Sc an D ata Saved as fda 1MHz 1288 a_XY_0.aim
Moving To: 59.78 mm
Scan Width = 49.5 mm
XY Sc an at 59.78 mm Started at 10:39:54 AM
XY Sc an at 59.78 mm Compl eted at 11:04:51 AM
XY Sc an D ata Saved as fda 1MHz 1288 a_XY_1.aim
Measurement Compl eted

[Therapy Meas FDA]


FileName f:\fda 1MHz 1288 a
MaxWidth50 mm
Points XY 31
MinDepth 10 mm
MaxDepth 150 mm
PointsZ 91
VperMPa 2.49747
VsqrdcmsqrdperW 0.09356
ElapsedTime 58
dBThres hold 32
ERA 3.3235 cm
Zlam 5.98 cm
Ispta 0.16 W/cm
Power 0.1207 W
BNR 4.3

5.9.3 Re-Processing Therapy Data


Both FDA and IEC data can be re-processed if needed. A dialog box opens to select the file to re-process, then the
data files are read and results re-calculated. The results are written to a new text file.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 88
5.10 Validation of AIMS Calculations
Key calculations done by the AIMS program have been checked by other means. The sample files are listed
below, along with calculation results. These files may be opened at any time by the AIMS software to verify
correctness of the calculations. The CRC32 (32-bit cyclical redundancy check) values are provided to confirm the
integrity of these files.

Waveform File: waveform 2006-11-21.aim


CRC32: CF6B2EA5

Intensity: In Water: Derated:


Pulse Average 59.84 11.3 W/cm
Temporal Average 14.96 2.825 mW/cm
Pulse Duration 1.25 s
Pressure: In Water: Derated:
Peak Negative Pressure 0.8972 0.3899 MPa
Peak Positive Pressure 2.663 1.157 MPa
Mechanical Index 0.2245

Frequency:
Max. Freq. 3 MHz
Center. Freq. 3.016 MHz
Lower -3 dB Freq. 2.73 MHz
Upper -3 dB Freq. 3.302 MHz
Bandwidth 0.5725 MHz
18.98 %

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 89
2D Scan File: 2D scan 2006-11-21.aim
CRC32: B5A6B803

Power: 2.024 mW
-6 dB Width: 4.581 x 4.574 mm

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 90
6. User Interface in Detail
This section describes the menus in the AIMS program and the dialog boxes etc. that you will interact with.

In addition to the menus described below, the following shortcut keys may be used:

Ctrl+C Copy
Ctrl+P Setup/Position
Ctrl+O Setup/Oscilloscope
Ctrl+W Data/Waveform/GetWaveform
Ctrl+1 Data/1D Scan
Ctrl+2 Data/2D Scan
Ctrl+3 Data/3D Scan
Ctrl+F Data/Frequency Scan

6.1 File Menu

6.1.1 File / Close


This closes the current file. If it has not been saved, you will be prompted:

6.1.2 File / Open


This displays a standard File Open dialog box:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 91
Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 92
6.1.3 File / Save
Saves the file with the current name.

6.1.4 File / Save As

Displays a standard dialog box:

6.1.5 File / Save / Auto Name


This saves the file with an automatically generated file name. The first six characters are the date (YYMMDD), then
an underscore, then a sequential three-digit number, then two characters signifying the type of data. For example,
the first waveform file on Oct. 15, 2005 would be named 051016_001wf.aim.

6.1.6 File / Output To XLS


This will export data to a Microsoft Excel file. This works with a waveform, a Z-Axis scan, or an XY scan. There is
more information in the section on data output.

6.1.7 File / Change Directory


Displays this:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 93
6.1.8 File / Print
Displays a dialog box which lets you select various items to print. The items available depend on the type of data:

Clicking on the Plot Size tab looks like this:

Clicking on the Printer Setup button displays this:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 94
6.1.9 File / Execute Script
This brings up a dialog box that lets you run a script file. See the section on scripts for more information.

6.1.10 File / Exit


Shuts down the AIMS program. If the data have not been saved, this message box appears:

6.1.11 File / About AIMS


Displays this:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 95
The other two tabbed pages contain third-party copyright notices:

6.2 Copy Menu Item

This will copy the currently displayed data to the clipboard. If it is a plot, it will copy the image. If it is text, the text
will be copied. The contents of the clipboard can then be pasted into a document. This is an example of a
waveform plot copied from the AIMS program and pasted here:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 96
6.3 Config Menu

6.3.1 Config / Positioner

There are four choices of type of positioner. The first is None (simulated), which is used during software
development or when the AIMS program is being used for data processing rather than data acquisition.

The second is used when the EMDS is directly connected to the computer on which the AIMS program is running.
The board number is obtained from the InstaCal program. See the section on installation for more information.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 97
The third is used when the EMDS is connected to another computer, which in turn is connected to the computer
running the AIMS program via Ethernet. This requires that PositionerServer.exe be running on the remote
computer. The host name can either be a string (BobsComputer) or an address such as 10.0.0.3. (It can run
on the same computer as AIMS, in which case you can use localhost as the host name). See the section on
installation for more information.

The fourth is the Velmex VXM controller, which connects to the PC through a serial port.

6.3.2 Config / Oscilloscope


This displays the Scope Configuration dialog box. See the section on installation for more information.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 98
6.3.3 Config / Function Generator
This displays the Scope Configuration dialog box. See the section on installation for more information.

6.3.4 Config / Water Conditioner


Selects the comm port to which the water conditioner is connected.

6.3.5 Config / Options


This lets you select the format for units, and also whether the oscilloscope is simulated when no oscilloscope is
connected.

If Simulate is checked, then the program will generate a CW waveform as if from a 5 MHz circular disk transducer
7.7 mm in diameter. Below is a plot of a simulated 2D scan:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 99
6.3.6 Config / Verify AIMS.e xe CRC32
This menu item performs a 32-bit CRC (cyclical redundancy check) on AIMS.exe. This is to verify that the file has
not been modified or corrupted. It will compare the result with the text in AIMS.crc, which is distributed with
AIMS.exe. If the results agree, you will see something like this:

Otherwise, you will see this:

The actual numbers will of course vary depending on the AIMS version.
6.4 Setup Menu

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 100
6.4.1 Setup / Measurement Setup
This lets you enter information on the transducer. The first six items (Type/Model through Operation Mode) do
not affect any calculations. They are for recording setup information. The Scanned check box affects calculation
of thermal indices (TI). The frequency entered is what is used when calculating derated pressure and intensity.
PRF is used in calculating Ispta.

The items on the Dimensions tabbed page side are used when calculating TI etc. from Z-Axis scan data. If the
transducer is circular, the diameter (in cm) should be entered. This is used to calculate aperture area, equivalent
diameter, an Z break point (Zbp), the minimum Z distance at which measurements (or calculations) should be done.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 101
If the transducer is not circular, the AIMS program assumes it is rectangular. In that case you can enter the x and y
dimensions of the transducer, and the width of the aperture or transmit pattern.

If the transducer is scanned, then information is needed on Frame Rate and Lines / Frame. If it is a curved array,
Then the Line Spacing an

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 102
The hydrophone lets you enter model and serial number information. You can also enter the sensitivity and
whether the hydrophone is inverted. Inversion status is very important when calculating Pr and MI. Note that in
this version sensitivity is entered in V/Mpa, while in older versions (3.xx) it was entered in Vcm/W.

If you click on the Load XLS button, a dialog box will appear that lets you select a hydrophone data file to load. The
data file must be a Microsoft Excel (.xls) file. An example file is included with the AIMS software. The contents of
this file sare shown below. This file may be edited to suit thy hydrophone that is in use. The data need not be
sorted by frequency.

Hydrophone Data
Model MHB200B
Serial Number 02012802
Preamp Model integral
Preamp Serial Number n/a
Preamp Gain dB 0
Inverted FALSE
Calibration D ate 6/21/2006
MHz V/MPa
1 0.167
2 0.1706
3 0.1739
4 0.1742
5 0.1735
6 0.1737
7 0.1687
8 0.1723
9 0.1665
10 0.1643
11 0.1644
12 0.162
13 0.1635
14 0.1596
15 0.1592
16 0.1562
17 0.1566
18 0.1551
19 0.1559
20 0.1598

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 103
Once the data have been loaded, you can view the data in tabular format:

Or in a plot:

Once the hydrophone data have been loaded, the AIMS program will calculate the hydrophone sensitivity at the
transducers center frequency by interpolation.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 104
In the Measurement Setup dialog box, in the User tabbed page, Your name can be entered:

The Comments page can be used to enter text describing the test. This is saved in the data file.

6.4.2 Setup / Tank Setup


This page lets you enter information on the medium.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 105
The orientation needs to be set up for proper operation of distance tracking etc. For circular transducers it does not
matter which is X and Y, but it will for non-circular transducers.

The AIMS program needs to know which angular axes correspond to X and Y.

Clicking on Show Diagram displays this:

In order for the beam alignment feature to work, the angular axes must be set up so that their direction matches
that of the X or Y axis. If it does not, click on Setup / Positioner Setup, and click on Direction Reversed for the
angular axis that needs to move in the opposite direction.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 106
Distance Tracking:

As the distance between the transducer and the hydrophone is changed, the delay between the time that the pulse
is transmitted and the time it is received by the hydrophone will change. In water at room temperature, the velocity
of sound in water is about 1,500 meters/second, or 1.5 mm/s. At this rate, it does not take a large change in
distance before a received pulse would disappear from view on the oscilloscope display.

To solve this problem, the AIMS program can be set up so that the delay automatically tracks the distance along
the beam axis. You can specify the beam axis, whether the sound path is one way (as with a transducer and
hydrophone) or round trip (pulse-echo), the sound velocity, and a delay offset, if needed.

6.4.3 Setup / Positioner Setup

This lets you control how the positioner behaves. You can change the name of any axis, change units, set steps
per meter (or revolution), reverse direction, set the mode (translation or rotation), set the units per meter or
revolution, set overshoot, and set the steps per second. You can also set the software limits for each axis. Note
that these limits are separate from the hardware limit switches. Clicking on Use Defaults will set everything to the
default values.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 107
6.4.4 Setup / Position
This lets you view the current position and move the positioner. When you click on one of the + or - buttons, the
positioner will move the increment shown for that axis.

To set the position, click Set Position. Enter the new position, then click Apply. This does not move anything, it
just changes the current position.

To move to a desired point, click on Move To, enter the desired destination, and click Move.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 108
The Coordinates tab shows which coordinate system is in use. The positioner can use either its own (Machine)
coordinates or an alternate (Beam) coordinate system that is rotated around the Z axis. See the section on Search
/ Align X Axis for more information.

Clicking on the Show Status Window button brings up a window which shows the current position during scanning
etc.:

6.4.5 Setup / Oscilloscope


The oscilloscope dialog box has pages to control channel settings, timebase, triggering, and waveform settings.
Note that there may be slight differences in what is displayed depending on the oscilloscope model being used.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 109
6.4.6 Setup / View Trigger
This temporarily sets the delay to zero so that the trigger edge can be seen:

After you click OK, the delay and timebase will be restored.

6.4.7 Setup / Function Generator


This controls some of the basic settings of the function generator:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 110
If the function generator is in burst mode, and you try to change to CW, this message box will appear:

The purpose of this is to avoid accidentally changing to CW, which, if you are using a linear amplifier, could cause
damage to the transducer.

6.4.8 Setup / Water Conditioner


This dialog box displays the water conditioner status, and lets you control the heater and pump and the degasser:

6.5 Search Menu

6.5.1 Search / Find Pulse

This varies the oscilloscope delay looking for a pulse. Once a pulse is found, the delay is fine-tuned twice to get
the beginning of the pulse one division from the left edge of the scope screen. The program then calculates the Z
distance based on the delay and the velocity of sound.

You can set the minimum and maximum delay. When you click the Auto button, the minimum will be set to the
current delay / 2, and the maximum will be set to the current delay * 2. The increment is set to the oscilloscope

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 111
record length / 2. The code that does the searching will stop once a pulse is found rather than searching over the
whole range.

6.5.2 Search / Auto Scale Pulse

This will adjust the oscilloscopes vertical sensitivity to maximize use of its vertical resolution.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 112
6.5.3 Search / On An Axis
This searches along the selected axis over the selected range.

6.5.4 Search / XY Plane

This searches over the specified ranges, finds the 3 dB width in each direction. It then repeats the search over the
3 dB width. If the Set Positions to Zero check box is checked, then it sets the X and Y positions to zero.

6.5.5 Search / Align Beam


This has been modified so that it can search at more than two depths, and fit a line to the resulting data. The
number of points is specified in the Settings tabbed page. The program will repeatedly try to align the beam until
the angles are less than those specified under Completion Criteria or the maximum number of tries has been
done. Note that to do the beam alignment, you must have the angular positioner set up to hold the transducer.
The minimum Z distance should be at or near the last axial maximum. If it is in the near field, the beam alignment
may not work.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 113
Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 114
6.5.6 Search / Align X Axis
This searches along two lines, and finds the center along each line, and calculates the angle. Once this is done,
the positioner will use an alternate coordinate system that is rotated around the Z axis. This does not require the
use of the angular positioner.

This is a scan that was done of a rectangular transducer in the XY plane, before aligning the X Axis:

This is from the same setup, after aligning the X axis:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 115
6.5.7 Search / Find Width
This moves off center until the signal is the specified number of dB down from the peak value, then tells you whet
the scan width must be to reach that level.

6.6 Data Menu

6.6.1 Data / Waveform / Autoscale Vertical Sensitivity

If this is checked, then when you click Get Waveform, the oscilloscopes vertical sensitivity will be adjusted
automatically.

6.6.2 Data / Save Fc in Setup Data


If this is checked, then when you click Get Waveform, the center frequency will be calculated and stored in the
setup data.

6.6.3 Data / Waveform / Get Wa veform (Ctrl-W)


This digitizes a waveform and transfers it into memory.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 116
6.6.3 Data / 1D Scan (Ctrl-1)
Spatial scans can be 1- or 2-dimensional, and can be done on any of the five axes of motion available to the AIMS -
3 axes of translation, two of rotation. The AIMS program digitizes a waveform at each point, then calculates and
records various selected parameters from the waveform.

The dimensions of the scan are set using the Size tabbed page:

The parameters to be recorded are selected using the Parameters page:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 117
Various options can be set on the Options page. If there is vibration caused by deceleration of the positioner, you
can specify a pause time. The program will wait the specified time interval after moving, before digitizing a
waveform. After the scan is completed, the program can either return to the pre-scan position or it can move to the
peak. If the scan is along the Z axis, then it can also move to the derated peak. If the Autoscale Scope Sensitivity
is checked, then the scope sensitivity will be adjusted during scans to maximize the use of the scopes input range.

6.6.4 Data / 2D Scan (Ctrl-2)


2D scans are much the same as 1D scans, except for the addition of the second scan axis. Various parameters
can be recorded at each point, and each of the two axes that are scanned can be any of the available axes of the
AIMS positioner.

The dimensions of the scan are set using the Size tabbed page:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 118
During scanning, movement on the first axis (in this case Left/Right) is done in the outer loop, and the movement
on the second axis is done in the inner loop. If you are scanning a longer distance in one direction than the other,
the longer one should be the first axis.

The parameters to be recorded are selected using the Parameters page:

Various options can be set on the Options page. If there is vibration caused by deceleration of the positioner, you
can specify a pause time. The program will wait the specified time interval after moving, before digitizing a
waveform. After the scan is completed, the program can either return to the pre-scan position or it can move to the
peak. If the Autoscale Scope Sensitivity is checked, then the scope sensitivity will be adjusted during scans to
maximize the use of the scopes input range.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 119
6.6.5 Data / 3D Scan (Ctrl-3)
This does a series of 2D scans (in the X-Y plane) at various distances along the Z axis. Each 2D scan is saved in
its own file.

The Size tabbed page lets you set the scan dimensions:

The Parameters and Options tabbed pages are much like the ones for the the other scans:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 120
The Files tabbed page lets you specify the file name and path. The actual scan files will have the Z distance
appended to the file name. For example, if the file name is test3d, the scan file at 10 mm would be saved in a file
named test3D_010.00.aim.

6.6.6 Data / Frequency Scan (Ctrl-F)

This is similar to a 1D scan, except that instead of moving the positioner, the program varies the frequency of the
function generator. Also, a reference run and a measurement run can be done, and the program will calculate the
gain (the ratio of measurement / reference).

The dimensions of the scan are set using the Size tabbed page:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 121
The parameters to be recorded are selected using the Parameters page. The most useful parameter when doing
frequency scans is RMS at Transmit Frequency. When this is selected, the program does a calculation much like a
single point in the DFT. This acts as a narrow-band rms detector, with the Q being equal to the number of cycles in
the time window.

Various options can be set on the Options page. You can specify a pause time - the program will wait the specified
time interval after setting frequency, before digitizing a waveform. After the scan is completed, the program can
either set the frequency back to the pre-scan frequency or not. If the Autoscale Scope Sensitivity is checked, then
the scope sensitivity will be adjusted during scans to maximize the use of the scopes input range.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 122
6.6.6 Data / Z Scan
This is a version of the 1D scan which scans the Z axis, and is set up specifically to calculate data according to the
FDA and IEC standards. The parameters to be recorded are pre-selected: Pulse Intensity Integral, Peak Negative
Pressure, Center Frequency, and Pulse Duration. The resulting data can be exported to an Excel file. See the
section on data output for more information.

The Size page is the same as a normal 1D scan, except that the axis is set to be the Z axis.

The four parameters to be recorded are shown, as are a number of others that will be calculated after scanning:

Derating Factor
PII.3
Pr.3
W.3
Ita.3
Min W.3, Ita.3 x 1cm^2
Sqrt(W.3 Ita.3)/50
W.3/4.4

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 123
The Parameters tabbed page in this case has been disabled, so the parameters cannot be changed.

The Options page is the same as in the normal 1D scan:

6.6.7 Data / XY Scan

This is very similar to the 2D scan, except that it is only in the XY plane, and is set up specifically to calculate data
according to the FDA and IEC standards. The single parameter to be recorded is pre-selected: Pulse Intensity
Integral. The resulting data can be exported to an Excel file. See the section on data output for more information.

The Size page is the same as a normal 2D scan, except that the axes are set to be the X and Y axes.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 124
The Parameters tabbed page in this case has been disabled, so the parameters cannot be changed.

The Options page is the same as in the normal 2D scan:

6.6.8 Data / Therapy Meas. (IEC) and Data / Therapy Meas. (FDA)
These carry out Z-axis scans and multiple XY scans, then make calculations according to the therapy
measurement procedures specified by the IEC and the FDA. The data acquisition and calculations are different,
but the initial setup is similar. The type of measurement being done is indicated in the dialog box caption.

The edit control near the top shows the destination directory. You can change this by clicking on the ellipsis button
(), which will bring up the Select Directory dialog box (see below). Specify a file name, without extension. All of
the output files will use this as the basis for their names.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 125
The Z axis page sets up the Z axis dimensions.

The XY Scans page sets the maximum width and number of points. If the Auto Width check box is checked, then
the actual width will be automatically determined by the software to the threshold specified. If Auto Width is not
selected, then the scans will be the width entered.

The Alignment tabbed page controls whether the software will search for the peak at the last axial maximum. If you
have already aligned the beam, then this is not needed. If you choose to align, you have the option of whether to
align to the peak or to the center. See section 5.9 for more information.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 126
This is the Select Directory dialog box:

6.6.9 Data / Re-process Therapy Data


This will read a previously generated .txt file and its associated .aim files, and re-calculate.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 127
6.7 View Waveform Menu

6.7.1 View Waveform / Wa veform Plot

6.7.2 View Waveform / Voltages

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 128
6.7.3 View Waveform / Pulse Intensity Integral

6.7.4 View Waveform / Intensity & Pressure


This displays intensity and pressure, both the in-water values and the derated values. It also displays the
Mechanical Index (MI):

6.7.5 View Waveform / Spectrum

This displays the magnitude spectrum of the waveform:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 129
You can control how the data are displayed by right-clicking on the plot, which brings up this dialog box:

6.7.6 View Waveform / Frequency


This displays the center frequency and the upper and lower -3dB frequencies, and the bandwidth:

6.7.7 View Waveform / Parameters


This lets you select various parameters to calculate from the waveform:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 130
The display then looks like this:

6.7.8 View Waveform / Position


This shows the position where the waveform was digitized:

6.7.9 View Waveform / Function Generator Settings


Shows the function generator settings used when the waveform was recorded:

6.7.10 View Waveform / Oscilloscope Settings


Shows the oscilloscope settings used when the waveform was recorded:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 131
Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 132
6.8 View 1D Scan Menu:

6.8.1 View 1D Scan / Parameter


This displays a sub-menu which lets you select which parameter to view. If more than six were selected, then
clicking on More will bring up a dialog box to let you make the selection:

6.8.2 View 1D Scan / Derated


If this is checked, then the data will be displayed derated by 0.3 dB / (cm MHz). The frequency used in this
calculation is the one entered in the Measurement Setup dialog box. This item is only visible when the scan is
along the Z axis.

In Water: Derated:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 133
6.8.3 View 1D Scan / Smoothed
This smoothes the data using a moving average. The width of the moving average is the smallest odd number of
points that represent at least one wavelength. The moving average is done twice. This only affects plotted data. It
is also used in the therapy measurements when finding the last axial maximum. The example below shows data
before and after smoothing:

6.8.4 View 1D Scan / 1D Scan Plot


This plots the currently selected parameter versus position:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 134
6.8.5 View 1D Scan / Width
This displays the width at various levels, and the center position:

The levels at which the width is calculated are -3, -6, -10, -12, -13, -20, -26 dB. The width for a given level is only
displayed if valid, that is if the data reach that level within the scan.

6.8.6 View 1D Scan / Peak


This shows the peak value in water and derated:

6.8.7 View 1D Scan / Position, View 1D Scan / Oscilloscope Settings


These work the same as in the case of the waveform.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 135
6.9 View 2D Scan Menu

6.9.1 View 2D Scan / Parameter


This displays a sub-menu which lets you select which parameter to view. If more than six were selected, then
clicking on More will bring up a dialog box to let you make the selection:

6.9.2 View 2D Scan / Derated

This controls whether the data are displayed as measured (in water) or derated. This menu item is only visible
when the Z axis is on of the axes scanned.

In Water: Derated:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 136
6.9.3 View 2D Scan / Normalize Data to Peak at each Distance

6.9.4 View 2D Scan / Contour Plot

Right-clicking on the contour plot brings up a pop-up menu:

Clicking on Scaling displays a dialog box to control plot scaling:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 137
6.9.5 View 2D Scan / Color Plot
This displays the color plot (see examples above). Right-clicking on the color plot displays a pop-up menu similar
to the one for the contour plot, but with additional items for color.

Gray: Spectrum:

6.9.6 View 2D Scan / Wire Frame Plot

Right-clicking on the plot brings up a pop-up menu with two sub-menus:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 138
6.9.7 View 2D Scan / Slice Plot

This lets you select a line out of the 2D array to plot. You can select the axis and position:

6.9.8 View 2D Scan / Width & Area


This displays the width and area at various levels from the peak:

The levels at which the width and area are calculated are -3, -6, -10, -12, -13, -20, -26 dB. The width for a given
level is only displayed if valid, that is if the data reach that level within the scan.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 139
6.9.9 View 2D Scan / Peak
This shows the peak value in the scan:

6.9.10 View 2D Scan / Transducer Power


This calculates the power from a 2D scan in an XY plane. It does this by calculating spatial average intensity at
each point, and multiplying by incremental area to get power at each point. It then finds the total power over the
scan area. It will use all the points in the scan that are above the level that you set (dB down from the peak) for the
integration limit.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 140
6.9.11 View 2D Scan / Hydrophone Sensitivity
This does a calculation similar to Transducer Power but in the opposite direction. This requires that you know what
the transducer power is, for example by measuring with a radiation force balance. It calculates temporal average
squared voltage at each point, multiplies by incremental area, and sums. It then divides by the ultrasound power to
get the intensity response factor in Vcm/W. This is then converted into V/Mpa and dB.

6.9.12 View 2D Scan / Position, Function Generator Settings, Oscilloscope Settings, Elapsed
Time
These show position and the oscilloscope settings used when the data were taken.

6.10 View 3D Scan Menu


Most of this is similar to the View 2D Scan Menu, since the data are gathered and displayed as a series of 2D
scans:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 141
6.10.1 View 3D Scan / Select Plane
This lets you select which 2D scan plane to view:

The Next and Previous buttons select the plane. The Loop Through Planes button will start displaying the planes in
sequence. Once this button has been clicked, its caption will be changed to Stop.

6.11 View XY Scan Menu

This is identical to the View 2D Scan menu:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 142
6.12 View ZX Scan Menu
This is similar to the View 2D Scan menu, with the addition of SII Data and SII Data items.

6.12.1 View ZX Scan / SII Plot

This displays the plot of SII versus Z distance:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 143
6.12.2 View ZX Scan / SII Data
This displays results of the SII calculations:

6.13 View Freq. Scan Menu

6.13.1 View Freq. Scan / Parameter


This displays a sub-menu which lets you select which parameter to view. If more than six were selected, then
clicking on More will bring up a dialog box to let you make the selection:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 144
6.13.2 View Freq. Scan / Reference, View Freq. Scan / Measurement, View Freq. Scan / Gain
These let you select the data to view. If you select Gain, the program will display the ratio: Measurement /
Reference.

6.13.3 View Freq. Scan / Position, View Freq. Scan / Oscilloscope Settings
These show position and the oscilloscope settings used when the data were taken.

7. Data Output

7.1 Output to Printer


The AIMS program can print data to a printer connected to the system. See section 5.1.

7.2 File Format


The AIMS file format is tab-delimited text. The files can be read with any text editor, or can be opened with a
spreadsheet program such as Microsoft Excel. The data sections are labeled, and each item within each section is
labeled. For example, the hydrophone section looks like this:

[Hydrophone]
Model MHB500B
Serial 81701
Preamp Model integral
Preamp Serial
Sensitivity 5.70E-01
Inverted FALSE

In the case of waveform data, after the header information, the first column contains the time values, and the
second column contains the voltages.

In a 1D scan file, the first column contains the positions, and second and subsequent columns contain the data,
each parameter being stored in its own column.

In a 2D scan file, data for each parameter is stored in a grid. The top row and left column contain the positions, and
the data are in the rows and columns below and to the right.

A frequency scan is stored in much the same way as a 1D scan, except that there can be a reference and a
measurement section. If there are both, then there will also be a third gain section.

7.3 Copy to Clipboard


Any of the plots or text data that are displayed in the AIMS window can be copied to the clipboard. The plots are
copied as a bitmap, text as text. The data can be pasted into any program that will support this action.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 145
7.4 Export to Excel Files
If you have recorded a waveform, a Z-Axis scan, or an XY scan, then the data can be exported to an Excel file.
The exported file will have the same name as the .AIM file, but with the .xls extension. It will be saved in the same
location as the .AIM file. This is an example from a waveform file:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 146
This is an example from a z-axis scan:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 147
This is an example from an XY scan:

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 148
8. Scripts
The scripting language built into the AIMS program is still implemented in version 4.2, but with the introduction of
full control of the AIMS program through AIMSClientLib.dll, we encourage users to switch to this newer, much more
versatile means of controlling the AIMS program. Existing scripts will still run. Script files must have an extension
of either .cm or .cmd. Script files named Startup.cm and ShutDown.cm are included. These will be run when
AIMS.exe opens and closes, re spectively (as provided they do not contain any commands). Refer to the list of
commands and queries in AIMS_commands.xls. Note that when used from within a script, the queries will not be
useful, as there is no mechanism for using the retuned value. The listed commands are used internally by
AIMSClientLib.dll. It is also possible to use these commands by establishing a TCP connection with AIMS.exe on
port 49999. Please contact NTR for more information.

9. External Control of the AIMS Software


Versions 4.2.0 and higher allow bidirectional communication with AIMS.exe by an external program through
AIMSClientLib.dll. This dll communicates with the AIMS program through a TCP connection, so it can be running
on the same computer as AIMS.exe or on another networked computer.

When a connection is established between a client program and the AIMS program, the user interface to the AIMS
program is disabled until the connection is closed so that the client program takes complete control of the AIMS
program. Note also that the AIMS program is set up so that only one connection (on port 49999) may be made.

AIMSClientLib.dll is a Win32 DLL, so it will be easiest to use it from a Win32 programming tool. It is possible to use
a Win32 DLL from a Microsoft.NET programming language (such as VB.NET) but the process is rather involved.

We have provided sample files that demonstrate external control implemented in VBA (Visual Basic for
Applications) in Microsoft Word and Excel. Note that VBA uses SafeArray to pass array data (rather than a simple
pointer to the array), so that in the current version the functions that get array data cannot be used with VBA.

This DLL uses five data types:

Integer signed, 32-bit


LongBool 32-bit Boolean (0 = false, non-zero = true)
Double floating point, 64-bit
PAnsiChar pointer (32-bit) to a null-terminated (C-style) string
array of double a one-dimensional array of double

The LongBool type is used because Delphi (Pascal) distinguishes between boolean and integer types. From
C/C++ it can be treated as a 32-bit integer.

Bt default, Delphi passe s parameters by value. If the var keyword precedes a parameter, then it is passed by
reference (a 32-bit pointer to the variable is passed).

The calling convention is stdcall. For any program to call the functions in the DLL, the name of the function, the
DLL name, the parameters passed to the function, and the returned type must be specified. In Delphi, this is done
in a unit we have provided, AIMSClientInterface.pas. It should be straightforward to convert this file to any other
language. (Note that in a Delphi unit, the section below interface is visible to units that use AIMSClientInterface,
and the section below implementation is only visible within this particular unit.)

A DLL can either be statically or dynamically linked. In the statically linked case, it is always loaded into memory
when the program executes. This is how AIMSClientInterface.pas is set up to work.

If the DLL is to be loaded dynamically, then the Windows function LoadLibrary must be called and a handle
obtained, then GetProcAddress must be called for each function, to get a pointer to that function. The DLL should
Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 149
be loaded once, OpenAIMSConnection called, the various other functions called as needed, CloseAIMSConnection
called, then the library should be unloaded.

When a function is called, it will return after the operation is completed. Functions should not be called from
multiple threads.

In the case of waveform and scan data, these are the available parameters that can be recorded and displayed:

Positive Peak Voltage


Negative Peak Voltage
Largest Peak Voltage
Peak to Peak Voltage
VRMS
Average Voltage
V Integral
Pulse Intensity Integral
Pulse Average
Temporal Average
Temporal Peak
Pulse Duration
Peak Negative Pressure
Peak Positive Pressure
Peak Pressure
Mechanical Index
RMS at 3.5 MHz
RMS at Transmit Frequency
Center Frequency 3 dB
Bandwidth 3 dB

Note that RMS at a frequency can be at any desired frequency (in MHz), and bandwidth and center frequency
could use a level other than 3 dB.

When calculating VRMS, if the PRF is not zero, the result will be compensated for PRF and waveform record
length. If the oscilloscope coupling is AC, then the software will remove any DC offset that is present. If the
coupling is DC, then any DC offset will contribute to the result.

Values for AfterScan are GoBack, GoToPeak, GoToDeratedPeak and GoToLastAxialMaximum.

If you call, for example, DigitzeWaveform, you should do everything you need to do with the waveform data before
calling any functions having to do with any other data type. If you do, the waveform data will be lost if not already
saved to a file.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 150
9.1 Connection Functions
This first function checks whether AIMS.exe is running. This only works if the calling program is on the same
machine as AIMS.exe.

function AIMSRunning: longbool;

OpenAIMSConnection must be called before any of the functions below are called. It returns true if successful.
Calling OpenAIMSConnection will lock the oscilloscope front panel and will disable the AIMS user interface. The
Connected function returns true if the connection is valid. CloseAIMSConnection closes the connection and
enables the scope front panel and AIMS user interface.

function OpenAIMSConnection(AHost: pansichar): longbool;


function Connected: longbool;
function CloseAIMSConnection: longbool;

9.2 Positioner Functions


These functions control the positioner and get its status. ShowPositionerStatusWindow shows or hides the
positioner status window. Extreme caution should be used when calling FindLimitSwitch. The value parameter of
FindLimitSwitch indicates which direction it should move.

function ShowPositionerDialog: integer;


function ShowPositionerSetupDialog: integer;
procedure ShowPositionerStatusWindow(value: longbool);
procedure SetPositionerLowLimit(axis: integer; value: double);
function GetPositionerLowLimit(axis: integer): double;
procedure SetPositionerHighLimit(axis: integer; value: double);
function GetPositionerHighLimit(axis: integer): double;
procedure PositionerMoveRel(axis: integer; value: double);
procedure PositionerMoveAbs(axis: integer; value: double);
procedure SetPosition(axis: integer; value: double);
function GetPosition(axis: integer): double;
procedure FindLimitSwitch(axis: integer; value: longbool);
procedure GetPositionerModel(value: pansichar);

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 151
9.3 Oscilloscope Functions
These functions control the oscilloscope and get its status. ShowScopeWaveformWindow shows or hides the
waveform window. The valid values for coupling are AC, DC, Gnd, and Off. Values for WFSource are 1, 2, 3,
and 4. (3 and 4 only on four-channel oscilloscopes.) The Write and Read functions can be used to send
commands and receive responses to queries. This allows you to manipulate settings in ways that are not
implemented in the AIMS software.

function ShowScopeDialog: integer;


procedure ShowScopeWaveformWindow(value: longbool)
procedure SetScopeSensitivity(ch: integer; value: double);
function GetScopeSensitivity(ch: integer): double;
procedure SetScopeOffset(ch: integer; value: double);
function GetScopeOffset(ch: integer): double;
procedure SetScopeCoupling(ch: integer; value: pansichar);
procedure GetScopeCoupling(ch: integer; value: pansichar);
procedure SetScopeProbe(ch: integer; value: double);
function GetScopeProbe(ch: integer): double;
procedure SetScopeBWLimited(ch: integer; value: longbool);
function GetScopeBWLimited(ch: integer): longbool;
procedure SetScopeTimebase(value: double);
function GetScopeTimebase: double;
procedure SetScopeDelay(value: double);
function GetScopeDelay: double;
procedure SetScopePoints(value: integer);
function GetScopePoints: integer;
procedure SetScopeWFSource(value: integer);
function GetScopeWFSource: integer;
procedure SetScopeWFAveraging(value: integer);
function GetScopeWFAveraging: integer;
procedure SetScopeWFRemoteAveraging(value: longbool);
function GetScopeWFRemoteAveraging: longbool;
procedure SetScopeUseCorrelation(value: longbool);
function GetScopeUseCorrelation: longbool;
procedure GetScopeModel(value: pansichar);
procedure ScopeWrite(value: pansichar);
procedure ScopeRead(value: pansichar);

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 152
9.4 Function Generator Functions
These functions control the function generator and get its status. Valid values for Function are Sine, Square,
Triangle, and other. Valid values for mode are Burst and CW.

function ShowFunctionGeneratorDialog: integer;


procedure SetFunctionGeneratorFrequency(value: double);
function GetFunctionGeneratorFrequency: double;
procedure SetFunctionGeneratorVoltsPeakToPeak(value: double);
function GetFunctionGeneratorVoltsPeakToPeak: double;
procedure SetFunctionGeneratorOffset(value: double);
function GetFunctionGeneratorOffset: double;
procedure SetFunctionGeneratorFunction(value: pansichar);
procedure GetFunctionGeneratorFunction(value: pansichar);
procedure SetFunctionGeneratorMode(value: pansichar);
procedure GetFunctionGeneratorMode(value: pansichar);
procedure SetFunctionGeneratorBurstCount(value: integer);
function GetFunctionGeneratorBurstCount: integer;
procedure SetFunctionGeneratorPRF(value: double);
function GetFunctionGeneratorPRF: double;
procedure SetFunctionGeneratorEnabled(value: longbool);
function GetFunctionGeneratorEnabled: longbool;
procedure GetFunctionGeneratorModel(value: pansichar);
procedure FunctionGeneratorWrite(value: pansichar);
procedure GetFunctionGeneratorRead(value: pansichar);

9.5 Water Conditioner Functions

function ShowWaterConditionerDialog: integer;


procedure SetWaterConditionerMode(value: integer);
function GetWaterConditionerMode: integer;
procedure SetWaterConditionerSetPoint(value: double);
function GetWaterConditionerSetPoint: double;
function GetWaterConditionerOK: longbool;
function GetWaterConditionerState: integer;
function GetWaterConditionerError: integer;
function GetWaterConditionerTemperature: double;
function GetWaterConditionerFlow: double;
function GetWaterConditionerFirmwareVersion: double;

9.6 Measurement Setup Functions


function ShowMeasSetupDialog: integer;

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 153
9.6.1 Transducer Functions
procedure SetXdcrModel(value: pansichar);
procedure GetXdcrModel(value: pansichar);
procedure SetXdcrSerial(value: pansichar);
procedure GetXdcrSerial(value: pansichar);
procedure SetSystemModel(value: pansichar);
procedure GetSystemModel(value: pansichar);
procedure SetSystemSerial(value: pansichar);
procedure GetSystemSerial(value: pansichar);
procedure SetSystemSoftwareRev(value: pansichar);
procedure GetSystemSoftwareRev(value: pansichar);
procedure SetMode(value: pansichar);
procedure GetMode(value: pansichar);
procedure SetXdcrFreqMHz(value: double);
function GetXdcrFreqMHz: double;
procedure SetXdcrPRFHz(value: double);
function GetXdcrPRFHz: double;
procedure SetXdcrPowermW(value: double);
function GetXdcrPowermW: double;
procedure SetXdcrScanned(value: longbool);
function GetXdcrScanned: longbool;
procedure SetXdcrXDim(value: double);
function GetXdcrXDim: double;
procedure SetXdcrYDim(value: double);
function GetXdcrYDim: double;
procedure SetXdcrDiameter(value: double);
function GetXdcrDiameter: double;
procedure SetXdcrCircular(value: longbool);
function GetXdcrCircular: longbool;
procedure SetXdcrApertureXWidth(value: double);
function GetXdcrApertureXWidth: double;
procedure SetXdcrFLX(value: double);
function GetXdcrFLX: double;
procedure SetXdcrFLY(value: double);
function GetXdcrFLY: double;
procedure SetXdcrCurvedArray(value: longbool);
function GetXdcrCurvedArray: longbool;
procedure SetXdcrRadius(value: double);
function GetXdcrRadius: double;
procedure SetXdcrLineSpacing(value: double);
function GetXdcrLineSpacing: double;
procedure SetXdcrLineIncrementalAngle(value: double);
function GetXdcrLineIncrementalAngle: double;
procedure SetXdcrLineCount(value: integer);
function GetXdcrLineCount: integer;
procedure SetXdcrFrameRate(value: double);
function GetXdcrFrameRate: double;

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 154
9.6.2 Hydrophone functions
HydrophoneReadXLS will read hydrophone calibration data from the file specified in value.

procedure HydrophoneReadXLS(value: pansichar);


procedure SetHydrophoneModel(value: pansichar);
procedure GetHydrophoneModel(value: pansichar);
procedure SetHydrophoneSerial(value: pansichar);
procedure GetHydrophoneSerial(value: pansichar);
procedure SetPreampModel(value: pansichar);
procedure GetPreampModel(value: pansichar);
procedure SetPreampSerial(value: pansichar);
procedure GetPreampSerial(value: pansichar);
procedure SetHydrophoneVperMPa(value: double);
function GetHydrophoneVperMPa: double;
procedure SetHydrophoneInverted(value: longbool);
function GetHydrophoneInverted: longbool;

9.6.3 User Name and Comment Functions

AddComment adds a line of text to the comments. UserEditComments displays a dialog box.

procedure SetUser(value: pansichar);


procedure GetUser(value: pansichar);
procedure ClearComments;
procedure AddComment(value: pansichar);
procedure UserEditComments;

9.7 Derating Factor


This function returns the pressure derating factor (0.3 dB / cm MHz) using the transducer frequency and the current
Z distance.

function GetDeratingFactor: double;

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 155
9.8 Tank Setup Functions
These functions control the tank settings. ApplyDistanceTracking forces the oscilloscope delay to be set based on
the distance and the tracking settings.

function ShowTankSetupDialog: integer;


procedure SetTemperature(value: double);
function GetTemperature: double;
procedure SetVelocity(value: double);
function GetVelocity: double;
procedure SetRoundTrip(value: longbool);
function GetRoundTrip: longbool;
procedure SetOrientationZAxis(value: integer);
function GetOrientationZAxis: integer;
procedure SetOrientationXAxis(value: integer);
function GetOrientationXAxis: integer;
procedure SetOrientationYAxis(value: integer);
function GetOrientationYAxis: integer;
procedure SetDistanceTrackingEnabled(value: longbool);
function GetDistanceTrackingEnabled: longbool;
procedure SetDistanceTrackingOffset(value: double);
function GetDistanceTrackingOffset: double;
function GetDistanceTrackingDelay: double;
procedure ApplyDistanceTracking;

9.9 Waveform Functions


DigitizeWaveform acquires a waveform. GetWaveformData transfers the waveform data from AIMS.exe to the
calling program. The data array must be allocated to store at least count elements before calling.
GetWaveformDataPoint returns a single point in the time series. Valid values for SetWaveformView are 'Plot', 'PII',
'Spectrum', 'Frequency', 'Voltages', 'Intensity', 'Parameters'. Values for AddWaveformParameter and
WaveformCalculate are listed in section 9.0. Values for SpectrumYScaleMode are Linear, Log, dB, and dB re
peak.

procedure DigitizeWaveform;
procedure GetWaveformData(var data: array of double; count: integer);
function GetWaveformDataPoint(index: integer): double;
procedure SetWaveformAutoscale(value: longbool);
function GetWaveformAutoscale: longbool;
procedure ClearWaveform;
procedure SetWaveformView(value: pansichar);
procedure GetWaveformView(value: pansichar);
procedure ClearWaveformParameters;
procedure AddWaveformParameter(value: pansichar);
procedure GetWaveformParameter(index: integer; value: pansichar);
function GetWaveformParameterValue(index: integer): double;
function WaveformCalculate(param: pansichar): double;
procedure SetWaveformSpectrumYScaleMode(value: pansichar);
procedure GetWaveformSpectrumYScaleMode(value: pansichar);
procedure SetWaveformSpectrumXMax(value: double);
function GetWaveformSpectrumXMax: double;

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 156
9.10 1D Scan Functions
Start1DScan acquires the scan data. Get1DScanData transfers the data from AIMS.exe to the calling program.
The data array must be allocated to store at least count elements before calling. Get1DScanDataPoint returns a
single point in the scan data. Valid values for Set1DScanView are 'Plot' and Width. Values for
Add1DScanParameter are listed in section 9.0.

function Show1DScanDialog: integer;


function Start1DScan: integer;
procedure Get1DScanData(var data: array of double; count: integer);
function Get1DScanDataPoint(index: integer): double;
function Get1DScanPosition(index: integer): double;
procedure Set1DScanAutoScale(value: longbool);
function Get1DScanAutoScale: longbool;
procedure Clear1DScan;
procedure Set1DScanAxis(value: integer);
function Get1DScanAxis: integer;
procedure Set1DScanPoints(value: integer);
function Get1DScanPoints: integer;
procedure Set1DScanStart(value: double);
function Get1DScanStart: double;
procedure Set1DScanEnd(value: double);
function Get1DScanEnd: double;
procedure Set1DScanPause(value: integer);
function Get1DScanPause: integer;
procedure Set1DScanAfterScan(value: pansichar);
procedure Get1DScanAfterScan(value: pansichar);
procedure Clear1DScanParameters;
procedure Add1DScanParameter(value: pansichar);
procedure Get1DScanParameter(index: integer; value: pansichar);
procedure Set1DScanSelected(value: integer);
function Get1DScanSelected: integer;
procedure Set1DScanView(value: pansichar);
procedure Get1DScanView(value: pansichar);
procedure MoveTo1DScanPeak;
procedure MoveTo1DScanDeratedPeak;
procedure MoveTo1DScanLAM;
function Get1DScanPeak: double;
function Get1DScanDeratedPeak: double;
function Get1DScanLAM: double;
function Get1DScanPeakLocation: double;
function Get1DScanPeakIndex: integer;
function Get1DScanDeratedPeakIndex: integer;
function Get1DScanLAMIndex: integer;
function Get1DScanDeratedPeakLocation: double;
function Get1DScanLAMLocation: double;
function Get1DScanWidth(db_level: double): double;

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 157
9.11 Z-Axis Scan Functions
These are similar to the 1D scan functions except that the axis and parameters for the Z-axis scan are fixed.

function ShowZScanDialog: integer;


function StartZScan: integer;
procedure GetZScanData(var data: array of double; count: integer);
function GetZScanDataPoint(index: integer): double;
function GetZScanPosition(index: integer): double;
procedure SetZScanAutoScale(value: longbool);
function GetZScanAutoScale: longbool;
procedure ClearZScan;
procedure SetZScanPoints(value: integer);
function GetZScanPoints: integer;
procedure SetZScanStart(value: double);
function GetZScanStart: double;
procedure SetZScanEnd(value: double);
function GetZScanEnd: double;
procedure SetZScanPause(value: integer);
function GetZScanPause: integer;
procedure SetZScanAfterScan(value: pansichar);
procedure GetZScanAfterScan(value: pansichar);
procedure SetZScanSelected(value: integer);
function GetZScanSelected: integer;
procedure SetZScanView(value: pansichar);
procedure GetZScanView(value: pansichar);
procedure MoveToZScanPeak;
procedure MoveToZScanDeratedPeak;
procedure MoveToZScanLAM;
function GetZScanPeak: double;
function GetZScanDeratedPeak: double;
function GetZScanLAM: double;
function GetZScanPeakLocation: double;
function GetZScanDeratedPeakLocation: double;
function GetZScanLAMLocation: double;
function GetZScanWidth(db_level: double): double;

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 158
9.12 2D Scan Functions
Start2DScan acquires the scan data. Get2DScanData transfers the data from AIMS.exe to the calling program.
The data array must be allocated to store at least count elements before calling. The returned array is one
dimensional. For a 3 x 3 element array the order would be:
[0, 0], [0, 1], [0, 2], [1, 0], [1, 1], [1, 2], [2 0], [2, 1], [2, 2]
Get2DScanDataPoint returns a single point in the scan data. Valid values for Set2DScanView are 'Contour,
'Color', 'Wireframe', 'Slice', 'Width', 'Peak', 'Transducer Power', and 'Hydrophone Sensitivity'. Values for
Add2DScanParameter are listed in section 9.0.

function Show2DScanDialog: integer;


function Start2DScan: integer;
procedure Get2DScanData(var data: array of double; count: integer);
function Get2DScanDataPoint(index1, index2: integer): double;
function Get2dScanFirstPosition(index: integer): double;
function Get2dScanSecondPosition(index: integer): double;
procedure Set2DScanAutoScale(value: longbool);
function Get2DScanAutoScale: longbool;
procedure Clear2DScan;
procedure Set2DScanFirstAxis(value: integer);
function Get2DScanFirstAxis: integer;
procedure Set2DScanSecondAxis(value: integer);
function Get2DScanSecondAxis: integer;
procedure Set2DScanFirstPoints(value: integer);
function Get2DScanFirstPoints: integer;
procedure Set2DScanSecondPoints(value: integer);
function Get2DScanSecondPoints: integer;
procedure Set2DScanFirstStart(value: double);
function Get2DScanFirstStart: double;
procedure Set2DScanSecondStart(value: double);
function Get2DScanSecondStart: double;
procedure Set2DScanFirstEnd(value: double);
function Get2DScanFirstEnd: double;
procedure Set2DScanSecondEnd(value: double);
function Get2DScanSecondEnd: double;
procedure Set2DScanPause(value: integer);
function Get2DScanPause: integer;
procedure Set2DScanAfterScan(value: pansichar);
procedure Get2DScanAfterScan(value: pansichar);
procedure Clear2DScanParameters;
procedure Add2DScanParameter(value: pansichar);
procedure Get2DScanParameter(index: integer; value: pansichar);
procedure Set2DScanSelected(value: integer);
function Get2DScanSelected: integer;
procedure Set2DScanColorScheme(value: pansichar);
procedure Get2DScanColorScheme(value: pansichar);
procedure Set2DScanAltitude(value: integer);
function Get2DScanAltitude: integer;
procedure Set2DScanAzimuth(value: integer);
function Get2DScanAzimuth: integer;
procedure Set2DScanKeepAspectRatio(value: longbool);
function Get2DScanKeepAspectRatio: longbool;
procedure Set2DScanViewPerspective(value: longbool);
function Get2DScanViewPerspective: longbool;
procedure Set2DScanView(value: pansichar);
procedure Get2DScanView(value: pansichar);
Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 159
procedure Set2DScanViewWater(value: longbool);
procedure Set2DScanViewDerated(value: longbool);
function Get2DScanViewDerated: longbool;
function Get2DScanViewWater: longbool;
procedure MoveTo2DScanPeak;
procedure MoveTo2DScanDeratedPeak;
procedure MoveTo2DScanLAM;
function Get2DScanPeak: double;
function Get2DScanDeratedPeak: double;
function Get2DScanLAM: double;
function Get2DScanFirstPeakLocation: double;
function Get2DScanFirstDeratedPeakLocation: double;
function Get2DScanFirstLAMLocation: double;
function Get2DScanSecondPeakLocation: double;
function Get2DScanSecondDeratedPeakLocation: double;
function Get2DScanSecondLAMLocation: double;
function Get2DScanPower(db_limit: double): double;
function Get2DScanFirstWidth(db_limit: double): double;
function Get2DScanSecondWidth(db_limit: double): double;
function Get2DScanArea(db_limit: double): double;

9.13 XY Scan Functions

These are similar to the 2D scan functions, except that the axes and parameters are fixed.

function ShowXYScanDialog: integer;


function StartXYScan: integer;
procedure GetXYScanData(var data: array of double; count: integer);
function GetXYScanDataPoint(x, y: integer): double;
function GetXYScanXPosition(x: integer): double;
function GetXYScanYPosition(y: integer): double;
procedure SetXYScanAutoScale(value: longbool);
function GetXYScanAutoScale: longbool;
procedure ClearXYScan;
procedure SetXYScanXPoints(value: integer);
function GetXYScanXPoints: integer;
procedure SetXYScanYPoints(value: integer);
function GetXYScanYPoints: integer;
procedure SetXYScanXStart(value: double);
function GetXYScanXStart: double;
procedure SetXYScanYStart(value: double);
function GetXYScanYStart: double;
procedure SetXYScanXEnd(value: double);
function GetXYScanXEnd: double;
procedure SetXYScanYEnd(value: double);
function GetXYScanYEnd: double;
procedure SetXYScanPause(value: integer);
function GetXYScanPause: integer;
procedure SetXYScanAfterScan(value: pansichar);
procedure GetXYScanAfterScan(value: pansichar);
procedure SetXYScanColorScheme(value: pansichar);
procedure GetXYScanColorScheme(value: pansichar);
procedure SetXYScanAltitude(value: integer);
function GetXYScanAltitude: integer;
procedure SetXYScanAzimuth(value: integer);

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 160
function GetXYScanAzimuth: integer;
procedure SetXYScanKeepAspectRatio(value: longbool);
function GetXYScanKeepAspectRatio: longbool;
procedure SetXYScanViewPerspective(value: longbool);
function GetXYScanViewPerspective: longbool;
procedure SetXYScanView(value: pansichar);
procedure GetXYScanView(value: pansichar);
procedure MoveToXYScanPeak;
function GetXYScanPeak: double;
function GetXYScanXPeakLocation: double;
function GetXYScanYPeakLocation: double;
function GetXYScanPower(db_limit: double): double;
function GetXYScanXWidth(db_limit: double): double;
function GetXYScanYWidth(db_limit: double): double;
function GetXYScanArea(db_limit: double): double;

9.14 ZX Scan Functions


These are similar to the 2D scan functions, except that the axes and parameters are fixed.

function ShowZXScanDialog: integer;


function StartZXScan: integer;
procedure GetZXScanData(var data: array of double; count: integer);
function GetZXScanDataPoint(z, x: integer): double;
function GetZXScanXPosition(z: integer): double;
function GetZXScanYPosition(x: integer): double;
procedure SetZXScanAutoScale(value: longbool);
function GetZXScanAutoScale: longbool;
procedure ClearZXScan;
procedure SetZXScanZPoints(value: integer);
function GetZXScanZPoints: integer;
procedure SetZXScanXPoints(value: integer);
function GetZXScanXPoints: integer;
procedure SetZXScanZStart(value: double);
function GetZXScanZStart: double;
procedure SetZXScanXStart(value: double);
function GetZXScanXStart: double;
procedure SetZXScanZEnd(value: double);
function GetZXScanZEnd: double;
procedure SetZXScanXEnd(value: double);
function GetZXScanXEnd: double;
procedure SetZXScanPause(value: integer);
function GetZXScanPause: integer;
procedure SetZXScanAfterScan(value: pansichar);
procedure GetZXScanAfterScan(value: pansichar);
procedure SetZXScanSelected(value: integer);
function GetZXScanSelected: integer;
procedure SetZXScanColorScheme(value: pansichar);
procedure GetZXScanColorScheme(value: pansichar);
procedure SetZXScanAltitude(value: integer);
function GetZXScanAltitude: integer;
procedure SetZXScanAzimuth(value: integer);
function GetZXScanAzimuth: integer;
procedure SetZXScanKeepAspectRatio(value: longbool);
function GetZXScanKeepAspectRatio: longbool;

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 161
procedure SetZXScanViewPerspective(value: longbool);
function GetZXScanViewPerspective: longbool;
procedure SetZXScanView(value: pansichar);
procedure GetZXScanView(value: pansichar);
procedure SetZXScanViewWater(value: longbool);
procedure SetZXScanViewDerated(value: longbool);
function GetZXScanViewDerated: longbool;
function GetZXScanViewWater: longbool;
procedure MoveToZXScanPeak;
procedure MoveToZXScanDeratedPeak;
procedure MoveToZXScanLAM;
function GetZXScanPeak: double;
function GetZXScanDeratedPeak: double;
function GetZXScanLAM: double;
function GetZXScanZPeakLocation: double;
function GetZXScanZDeratedPeakLocation: double;
function GetZXScanZLAMLocation: double;
function GetZXScanXPeakLocation: double;
function GetZXScanXDeratedPeakLocation: double;
function GetZXScanXLAMLocation: double;
function GetZXScanZWidth(db_limit: double): double;
function GetZXScanXWidth(db_limit: double): double;

9.15 3D Scan Functions

These are similar to the 2D scan functions. To view or get data for a plane in the 3D scan, first set the ZIndex.

function Show3DScanDialog: integer;


function Start3DScan: integer;
procedure Get3DScanData(var data: array of double; count: integer);
procedure Set3DScanAutoScale(value: longbool);
function Get3DScanAutoScale: longbool;
procedure Clear3DScan;
procedure Set3DScanXPoints(value: integer);
function Get3DScanXPoints: integer;
procedure Set3DScanYPoints(value: integer);
function Get3DScanYPoints: integer;
procedure Set3DScanZPoints(value: integer);
function Get3DScanZPoints: integer;
procedure Set3DScanXStart(value: double);
function Get3DScanXStart: double;
procedure Set3DScanYStart(value: double);
function Get3DScanYStart: double;
procedure Set3DScanZStart(value: double);
function Get3DScanZStart: double;
procedure Set3DScanXEnd(value: double);
function Get3DScanXEnd: double;
procedure Set3DScanYEnd(value: double);
function Get3DScanYEnd: double;
procedure Set3DScanZEnd(value: double);
function Get3DScanZEnd: double;
procedure Set3DScanZIndex(value: integer);
function Get3DScanZIndex: integer;
procedure Set3DScanPause(value: integer);
function Get3DScanPause: integer;

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 162
procedure Clear3DScanParameters;
procedure Add3DScanParameter(value: pansichar);
procedure Get3DScanParameter(index: integer; value: pansichar);
procedure Set3DScanSelected(value: integer);
function Get3DScanSelected: integer;

9.16 Frequency Scan Functions


StartFreqScan acquires the scan data. GetFreqScanData transfers the data from AIMS.exe to the calling program.
The which_data parameter selects Reference (0), Measurement (1), Gain (2), or Frequency(3). The data array
must be allocated to store at least count elements before calling. GetFreqScanDataPoint returns a single point in
the scan data. Valid values for SetFreqScanView are 'Ref. Plot', Meas. Plot, and Gain Plot. Values for
AddFreqScanParameter are listed in section 9.0.

function ShowFreqScanDialog: integer;


procedure SetFreqScanAutoScale(value: longbool);
function GetFreqScanAutoScale: longbool;
procedure SetFreqScanStart(value: double);
function GetFreqScanStart: double;
procedure SetFreqScanEnd(value: double);
function GetFreqScanEnd: double;
procedure SetFreqScanPoints(value: integer);
function GetFreqScanPoints: integer;
procedure SetFreqScanXLog(value: longbool);
function GetFreqScanXLog: longbool;
procedure SetFreqScanTrackFrequency(value: longbool);
function GetFreqScanTrackFrequency: longbool;
procedure SetFreqScanDesiredCycles(value: integer);
function GetFreqScanDesiredCycles: integer;
procedure SetFreqScanPause(value: integer);
function GetFreqScanPause: integer;
procedure ClearFreqScanParameters;
procedure AddFreqScanParameter(value: pansichar);
procedure GetFreqScanParameter(index: integer; value: pansichar);
function FreqScanStartRef: integer;
function FreqScanStartMeas: integer;
procedure GetFreqScanData(which_data: integer; var data: array of double; count: integer);
function GetFreqScanDataPoint(which_data: integer; index: integer): double;
function GetFreqScanFrequency(index: integer): double;
procedure SetFreqScanSelected(value: integer);
function GetFreqScanSelected: integer;
procedure SetFreqScanView(value: pansichar);
procedure GetFreqScanView(value: pansichar);

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 163
9.17 Find Pulse Functions
These functions control the Find Pulse feature. AutoMinMax automatically sets the minimum to current delay / 2
and the maximum to current delay * 2. ShowFindPulseDialog shows the dialog box. FindPulse starts the process
without showing the dialog box.

function ShowFindPulseDialog: integer;


procedure FindPulseAutoMinMax;
procedure SetFindPulseMinDelay(value: double);
function GetFindPulseMinDelay: double;
procedure SetFindPulseMaxDelay(value: double);
function GetFindPulseMaxDelay: double;
procedure FindPulse;

9.18 Auto Scale

This automatically optimizes the oscilloscope vertical sensitivity.

procedure AutoScale;

9.19 Search (on an axis) Functions


These functions control the search on a single axis.

function ShowSearchDialog: integer;


procedure SetSearchAxis(value: integer);
function GetSearchAxis: integer;
procedure SetSearchStartPos(value: double);
function GetSearchStartPos: double;
procedure SetSearchEndPos(value: double);
function GetSearchEndPos: double;
procedure SetSearchPoints(value: integer);
function GetSearchPoints: integer;
procedure SetSearchdBLevel(value: double);
function GetSearchdBLevel: double;
procedure SetSearchSetToZero(value: longbool);
function GetSearchSetToZero: longbool;
procedure SetSearchAlignToPeak(value: longbool);
function GetSearchAlignToPeak: longbool;
function GetSearchPeakLocation: double;
function GetSearchCenter: double;
function GetSearchValid: longbool;
function StartSearch: integer;

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 164
9.20 Plane Search Functions
These functions control the search on the xy plane at the current z distance.

function ShowPlaneSearchDialog: integer;


procedure SetPlaneSearchXPoints(value: integer);
function GetPlaneSearchXPoints: integer;
procedure SetPlaneSearchXWidth(value: double);
function GetPlaneSearchXWidth: double;
procedure SetPlaneSearchYPoints(value: integer);
function GetPlaneSearchYPoints: integer;
procedure SetPlaneSearchYWidth(value: double);
function GetPlaneSearchYWidth: double;
procedure SetPlaneSearchdBLevel(value: double);
function GetPlaneSearchdBLevel: double;
procedure SetPlaneSearchSetToZero(value: longbool);
function GetPlaneSearchSetToZero: longbool;
procedure SetPlaneSearchAlignToPeak(value: longbool);
function GetPlaneSearchAlignToPeak: longbool;
function GetPlaneSearchValid: longbool;
function GetPlaneSearchXPeakLocation: double;
function GetPlaneSearchXCenter: double;
function GetPlaneSearchYPeakLocation: double;
function GetPlaneSearchYCenter: double;
function StartPlaneSearch: integer;

9.21 Beam Alignment Functions

These functions control the beam alignment.

function ShowBeamAlignmentDialog: integer;


procedure SetBeamAlignmentZ1(value: double);
function GetBeamAlignmentZ1: double;
procedure SetBeamAlignmentXRange1(value: double);
function GetBeamAlignmentXRange1: double;
procedure SetBeamAlignmentYRange1(value: double);
function GetBeamAlignmentYRange1: double;
procedure SetBeamAlignmentXPoints1(value: integer);
function GetBeamAlignmentXPoints1: integer;
procedure SetBeamAlignmentYPoints1(value: integer);
function GetBeamAlignmentYPoints1: integer;
procedure SetBeamAlignmentZ2(value: double);
function GetBeamAlignmentZ2: double;
procedure SetBeamAlignmentXRange2(value: double);
function GetBeamAlignmentXRange2: double;
procedure SetBeamAlignmentYRange2(value: double);
function GetBeamAlignmentYRange2: double;
procedure SetBeamAlignmentXPoints2(value: integer);
function GetBeamAlignmentXPoints2: integer;
procedure SetBeamAlignmentYPoints2(value: integer);
function GetBeamAlignmentYPoints2: integer;
procedure SetBeamAlignmentXLimit(value: double);
function GetBeamAlignmentXLimit: double;
procedure SetBeamAlignmentYLimit(value: double);
function GetBeamAlignmentYLimit: double;

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 165
procedure SetBeamAlignmentMaxTries(value: integer);
function GetBeamAlignmentMaxTries: integer;
procedure SetBeamAlignmentNZPositions(value: integer);
function GetBeamAlignmentNZPositions: integer;
procedure SetBeamAlignmentAlignToPeak(value: longbool);
function GetBeamAlignmentAlignToPeak: longbool;
function StartBeamAlignment: integer;

9.22 File Management Functions


ChangeDir, Dir, and MakeDir function like the DOS cd, dir, and md commands. Save ssaves the file under the
current file name. SaveAutoName generates a file name based on the date (yymmdd) and a 3-digit serial number,
followed by characters indicating the type of data (wf, s1, sz, s2, sxy, szx, s3, sf). GetFileName returns the
full file path and name, GetShortFileName returns the name without path. Read reads the entire file contents
including hardware settings. ReadData reads only measurement data.

procedure ChangeDir(value: pansichar);


procedure Dir(value: pansichar);
procedure MakeDir(value: pansichar);
procedure MakeNewDir;
procedure Save;
procedure SaveAutoName;
procedure SaveFileAs(value: pansichar);
procedure GetFileName(value: pansichar);
procedure GetShortFileName(value: pansichar);
procedure Read(value: pansichar);
procedure ReadData(value: pansichar);

9.23 Printing Functions

Before printing, call StartPrintJob. Call the desired Print functions, then when finished call FinishPrintJob and the
pages will be sent to the printer.

The Print1D functions apply to both the 1D scan and the Z scan. The Print2DScan functions apply to 2D, XY, ZX,
and 3D scans.

procedure StartPrintJob;
procedure FinishPrintJob;

9.23.1 Print Setup Information Functions


procedure PrintXdcr;
procedure PrintHydrophone;
procedure PrintMedium;
procedure PrintOrientation;
procedure PrintDistanceTracking;
procedure PrintComments;
procedure PrintPosition;
procedure PrintScope;

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 166
9.23.2 Print Waveform Functions
procedure PrintWaveformPlot;
procedure PrintWaveformPII;
procedure PrintWaveformSpectrum;
procedure PrintWaveformFrequency;
procedure PrintWaveformVoltages;
procedure PrintWaveformIntensity;
procedure PrintWaveformParameters;

9.23.3 Print 1D Scan

procedure Print1DScanPlot;
procedure Print1DScanWidth;

9.23.4 Print 2D Scan


procedure Print2DScanColor;
procedure Print2DScanWireFrame;
procedure Print2DScanSlice;
procedure Print2DScanTransducerPower;
procedure Print2DScanWidth;

9.23.5 Print Frequency Scan

procedure PrintFreqScanRef;
procedure PrintFreqScanMeas;
procedure PrintFreqScanGain;

9.24 Miscellaneous commands


Pause waits a specified number of milliseconds. MessageBox displays a message box with the specified prompt.
Copy copies the displayed plot or text to the Windows clipboard.

procedure Pause(value: integer);


procedure MessageBox(value: pansichar; flags: integer);
procedure Copy;

9.25 AIMS Window Location and Size Functions

These control the size and location of the AIMS window. This can be used to control the plot dimensions when
copying and pasting plots.

procedure SetAIMSWindowLeft(value: integer);


procedure SetAIMSWindowTop(value: integer);
procedure SetAIMSWindowWidth(value: integer);
procedure SetAIMSWindowHeight(value: integer);
function GetAIMSWindowLeft: integer;
function GetAIMSWindowTop: integer;
function GetAIMSWindowWidth: integer;
function GetAIMSWindowHeight: integer;

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 167
10. Maintenance

10.1 Tank, Frame, and Positioner

The positioning mechanism that is a part of the AIMS tank assembly may need periodic adjustment to maintain its
full positioning accuracy. Each axis uses rollers that roll against a hardened steel track, as shown in figures 40 and
41. The distance between these rollers is adjustable. Each roller is mounted to the plate using a bushing. Figure
39 shows the two types of bushings that are used.

Figure 39. Bushings

Figure 40. Bushing and roller assembly

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 168
Moving
Plate

Concentric
Bushing Eccentric
Bushing

T rack

Roller
Mounting
Bolt

Frame

Figure 41. Positioner Slide Mechanism

On one side of the plate, the bushings have mounting holes that are concentric with the outside diameter of the
bushing. These rollers are fixed in position. On the other side, the rollers are mounted with eccentric bushings.
The eccentric bushings are made from hexagonal stock, so that the bushing can be rotated to adjust the roller
spacing.

Making this adjustment requires two wrenches: a 7/16" wrench to tighten the mounting bolt, and a 9/16" wrench to
rotate the bushing. Loosen the mounting bolt very slightly, and rotate the bushing to bring the wheel against the
track. While you adjust the bushing, keep the other wrench on the bolt, to keep the bolt from rotating. Re-tighten
the bolt, keeping the bushing from rotating, and check the roller tension.

To check the roller tension, try to rotate the wheel against the track (the motor, gear head, rack and pinion will
prevent the plate from moving along the track). You should be able to turn the wheel, but only with some difficulty.
The wheel should not turn freely or it is too loose and there will be unnecessary play in the mechanism. If you
cannot turn the wheel by hand at all, it has been over-tightened. It may take several tries before you get a feel for
making the adjustment.

Fasteners that connect other parts of the positioning system, such as the screws that fasten the motor mount plates
to the roller plates, should be checked periodically to make sure they have not loosened.

The AIMS positioner uses hardened stainless steel track and rollers. Where the rollers make contact with the track,
there may be some corrosion, especially under heavy use. The track and rollers sould be cleaned regularly, and
coated with a film of lubricating grease.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 169
The tank may need periodic cleaning. The tank itself is made of acrylic, so only cleaners that will not damage
acrylic should be used. Avoid solvents, ammonia, and abrasive cleaners. A small amount of detergent, if needed,
should be adequate. If you have been using "hard" water (with high mineral content), a small amount of
hydrochloric acid on a cloth will remove the white mineral residue.

10.2 Hydrophones and Preamplifiers

The hydrophones used in the AIMS should be calibrated, preferably once a year. If possible, it would be desirable
to perform spot checks of the hydrophone and preamplifier combination. This can be done using a stable,
repeatable ultrasound source transducer and excitation system. The hydrophone (connected to the preamplifier)
would periodically be set up in front of the source transducer, and the received signal recorded. Any shift in the
amplitude of the received signal would indicate that there may be a problem with the hydrophone or preamplifier.

A similar spot-check can be made of the preamplifier itself. A suitable signal generator would provide the input
signal. The amplitude of the preamplifier output signal would then be measured and checked against previous
results

10.3 Oscilloscope

The digital oscilloscope used in the AIMS (such as the AG54622A) does not generally require maintenance, but
should be calibrated at least once a year by a qualified calibration laboratory. If the oscilloscope exhibits any
anomalous behavior, it should be checked as soon as possible, and repaired if needed. In addition to regular
calibration, periodic checking with a stable, repeatable signal generator is useful to detect any change in
performance.

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 170
11. AIMS Warranty Statement

Onda Corporation warrants the AIMS (Acoustic Intensity Measurement System) against defects
in material and workmanship as follows:

For a period of 1 year from the invoice date, Onda will repair or replace, at Onda cost, any
defective components. Repairs are to be performed at Ondas facility. If repairs are to be
performed at customer site, the cost of travel and accommodation for Onda personnel is the
customers responsibility.

This warranty does not extend to third party items such as software, oscilloscopes, or a
computer.

An e xtended warranty plan is available upon request.

Please contact Onda at (408)745-0383 for product support. Or e-mail us at: info@ondacorp.com

AIMS_Manual 4.2_20080616.doc

Onda Corpo ration, 592 Weddell Drive, Suite 7, Sunnyvale, CA 94089, USA
Ph: (408) 745-038 3 Fax : (408) 745-0956 http://www.ondacorp.com
- 171

Das könnte Ihnen auch gefallen