MATLAB script for aquadopp?

Up to Current profilers and current meters

MATLAB script for aquadopp?

Posted by Jan Erik Stiansen at February 12. 2003
Is there any MATLAB script for prosessing of Aquadopp data availible on the net?

MATLAB script for aquadopp?

Posted by Jan Erik Stiansen at February 13. 2003
Hello, Jan Erik!

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

MATLAB script for aquadopp?

Posted by Jan Erik Stiansen at February 13. 2003
Hi Jan-Erik,

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

MATLAB script for aquadopp?

Posted by Jan Erik Stiansen at March 13. 2003

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/software

 

The 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

MATLAB script for aquadopp?

Posted by Jan Erik Stiansen at March 13. 2003
More good news:
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

MATLAB script for aquadopp?

Posted by Jan Erik Stiansen at May 22. 2003
Hej,
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

MATLAB script for aquadopp?

Posted by Jan Erik Stiansen at May 23. 2003
Hei!

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

MATLAB script for aquadopp?

Posted by Jan Erik Stiansen at June 05. 2003
Hello!

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

MATLAB script for aquadopp?

Posted by Jan Erik Stiansen at June 13. 2003
Thanks for this matlab script update for the profiler, just what I was looking for before the bugs in ExploreP drove me insane!

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

MATLAB script for aquadopp?

Posted by Jan Erik Stiansen at June 16. 2003
Thanks again for this, I have been using this quite a bit now loading my *.adp files into matlab.

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

MATLAB script for aquadopp?

Posted by Jan Erik Stiansen at June 18. 2003
Thank you for the feedback!
We will fix the bug immediately, and also add Cell Size, Blanking and Number Of Cells.


Best regard,
Kristoffer Dybvik, Nortek

MATLAB script for aquadopp?

Posted by Jan Erik Stiansen at July 10. 2003
If you are still working on the matlab script, we just noticed that the field clockdeploy seems to give a date that is a month out.  Not a big problem but thought you might want to know!  (actually the only reason I found it was someone told me I had sent them the wrong data file!;)

Cheers
Craig

MATLAB script for aquadopp?

Posted by Jan Erik Stiansen at August 13. 2003
Hello!

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

MATLAB script for aquadopp?

Posted by Jan Erik Stiansen at September 04. 2003
Hi

The discussion continues with a new release
in this topic.

Re: MATLAB script for aquadopp?

Posted by Peta Campbell at July 22. 2009

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

Re: MATLAB script for aquadopp?

Posted by Peter J. Rusello at July 22. 2009

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.

Re: MATLAB script for aquadopp?

Posted by Christian Schwarz at Monday 11:30

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

Re: MATLAB script for aquadopp?

Posted by Peter J. Rusello at Tuesday 22:21

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.

 

Powered by Ploneboard
Document Actions
Log in


Forgot your password?
New user?