MATLAB script for aquadopp?
I'm sorry, but no Matlab scripts as far as I know. However we do have a program for reviewing Aquadopp files. We will add it to our support/download site in a few days.
I'll let you know when it is there.
Best regard,
Kristoffer Dybvik, Nortek
Here is a simple script that decodes and plots Aquadopp current meter data. When it is through, you have the data in Matlab's memory, so you can work on it. It might not correctly decode all the different variations of Aquadopp formats, but you should not have too much trouble adapting it.
-Lee Gordon
The program/mex-file bin2mat converts binary *.aqd-files to MATLAB *.mat-files.
Follow this link to download bin2mat:
http://www.nortek-as.com/en/support/softwareThe zip file should be
containing:
bin2mat.dll - a matlab mex file, i.e. a program that can be called from MATLAB just like an ordinary m-file.
bin2mat.m - help file for bin2mat
bin2mat.exe - a stand allone dos program
ReadMe.txt - Help
We think you will it is fast and easy to use even with large files. Typical time for converting a 80 MB file on a modern computer is 1-2 minutes
Please repport any bugs here on the forum.
Kristoffer Dybvik
ExploreAQD (Display of Aquadopp data) is available
in the support area. Login to the user room and you can download this free utility.
Kristoffer Dybvik\n\n
<!--EDIT
if I got all that right, this bin2mat-Files don't help me to get my Aquadopp Profiler measurements into Matlab. It can't read .adp or .prf-files. If you have any helpful scripts for Matlab with the profiler-data that you would share, I would appreciate that a lot!
Thanks!
Maik
The current version of bin2mat reads Aquadopp files (*.aqd). Very soon there will be a new version reading Aquadopp PROFILER files too.
I'll keep you informed!
Best regards,
Kristoffer, Nortek AS
Here is a new version of bin2mat. It reads Aquadopp-files (*.aqd), Aquadopp Profiler-files (*.prf) and Vector-files (*.vec), and makes matlab-files (*.mat) that can be loaded into the Matlab workspace.
Please report any buggs to inquiry@nortek.no or here!
Known bugs:
-The README and help is not updated yet.
-Sometimes, when called from a m-file, bin2mat will crash.
-When converting large files, Matlab might run out of memory. (This is a Matlab/Windows problem)
Best regards,
Kristoffer Dybvik, Nortek
I did note however that a couple of vital bits of info do not appear to be extracted, namely the blanking distance and the cell size.
Cheers
Craig
I have found that the fields .Verror and .status do not appear to be correct when I use dec2bin in matlab. It may be that I am not using this correctly for the way these fields are encoded, but I cross checked against a file where these values were not changing and the matlab results were changing.
Thanks Again
Craig
We will fix the bug immediately, and also add Cell Size, Blanking and Number Of Cells.
Best regard,
Kristoffer Dybvik, Nortek

Cheers
Craig
We are still working on it, and it will be fixed in the next version. Sorry for not answering until now. Holidays, you know...
Kristoffer
Hi,
I have downloaded the bin2mat file however it doesn't seem to be working for me. Each time I try to use it an error message appears saying:
??? Invalid MEX-file ... bin2mat.dll is not a valid Win32 application.
I was wondering if anyone knew how to fix this?
Thanks
Peta
Hi Peta,
Can you tell me what type of computer and operating system you're running this under. Also, since you're receiving an error regarding a MEX file it would help to know which version of Matlab you're using.
P.J.
Hey P.J.,
I have the same error as above mentioned in Petas comment:
??? Invalid MEX-file '..\bin2mat.dll': ..\bin2mat.dll is not a valid Win32 application.
I use a Pentium4 with windows XP SP3 as an operating system and matlab version 7.7.
Do you know what may cause this problem?
Thanks
Christian
Hi Christian,
I never heard back from Peta, but there are potentially a couple of things going on:
1. bin2mat.dll needs to be rewritten and/or recompiled for Matlab 7.7
2. bin2mat.dll needs to be recompiled for Windows XP SP3
I unfortunately can't help with either as I don't have the source code. I'll see if I can get an answer for you though.
P.J.

