From: michele zanotto on
Hi,

we would to use an external adaptor (AVTMAtlabAdaptor.dll) in Standalone Application. When we use "imaqregister" on a PC with Matlab R2009b (or R2008b) it works fine but with MCR on another PC without Matlab it gives an error or adaptor isn't loaded.

We registered the adaptor manually in MatLab and then we compiled (without "imaqregister" in the main file) but in this way the adaptor is not loaded, only the default adaptors ('coreco','winvideo'). So we tried registering the adaptor by means of a line ("imaqregister....") in the main program but, moving AVTMAtlabAdaptor.dll in the same path, MCR shows the excepts below and it doesn't load the adaptor.

In particular:
Using MCR 7.11 (MatLab 2009b) an error doesn't appear but the adaptor is not loaded (only 'coreco' and 'winvideo') because, if you display the "InstalledAdaptors", you cannot see 'AVTMAtlabAdaptor' and so there is an error as "adaptorname not found" when you want to use it.

Using MCR 7.9 (MatLab 2008b) the behaviour is similar but the error becomes something as "imaqmex.mexw32': The specified module could not be found".


Please help us.
Thank you.

Michele
From: Ulf-Erik Walter on
Hello,

Problems with the AVT MATLAB Adaptor can also be discussed with the AVT
support directly. Simply send a email to support(a)alliedvisiontec.com .

> Using MCR 7.11 (MatLab 2009b) an error doesn't appear but the
> adaptor is not loaded (only 'coreco' and 'winvideo') because, if you
> display the "InstalledAdaptors", you cannot see 'AVTMAtlabAdaptor'
> and so there is an error as "adaptorname not found" when you want to
> use it.

The current version of the AVT MATLAB Adaptor works with MATLAB
R2008a, R2008b and R2009a. At this moment R2009B and later is no
supported.

> Using MCR 7.9 (MatLab 2008b) the behaviour is similar but the error
> becomes something as "imaqmex.mexw32': The specified module could
> not be found".

Is the AVT FirePackage installed, SmartView working? That driver is needed
to access the cameras. I think that error message is caused by an error while
loading the Adaptor caused by missing dependencies.

best regards,

Ulf-Erik Walter
Allied Vision Technologies
From: michele zanotto on
"Ulf-Erik Walter" <ulf.walter(a)alliedvisiontec.com> wrote in message <hr3kf5$d4v$1(a)fred.mathworks.com>...
> Hello,
>
> Problems with the AVT MATLAB Adaptor can also be discussed with the AVT
> support directly. Simply send a email to support(a)alliedvisiontec.com .
>
> > Using MCR 7.11 (MatLab 2009b) an error doesn't appear but the
> > adaptor is not loaded (only 'coreco' and 'winvideo') because, if you
> > display the "InstalledAdaptors", you cannot see 'AVTMAtlabAdaptor'
> > and so there is an error as "adaptorname not found" when you want to
> > use it.
>
> The current version of the AVT MATLAB Adaptor works with MATLAB
> R2008a, R2008b and R2009a. At this moment R2009B and later is no
> supported.
>
> > Using MCR 7.9 (MatLab 2008b) the behaviour is similar but the error
> > becomes something as "imaqmex.mexw32': The specified module could
> > not be found".
>
> Is the AVT FirePackage installed, SmartView working? That driver is needed
> to access the cameras. I think that error message is caused by an error while
> loading the Adaptor caused by missing dependencies.
>
> best regards,
>
> Ulf-Erik Walter
> Allied Vision Technologies




Hello,

Matlab 2009b seems to work with AVTMatlabAdaptor if yuo use Image Aquisition Toolbox from line command and not from its GUI.

The AVT FirePackage is installed and SmartView works. We're trying to install Matlab in that PC but there is the same error. That is, registering the adaptor from command window, it becomes visible in imaqregister list but not in imaqhwinfo. Why?
The PC is a Dell with Panda Antivirus. Is there maybe a protection problem?

Thanks

Michele
From: Ulf-Erik Walter on
Hi Michele,

> Matlab 2009b seems to work with AVTMatlabAdaptor if yuo use Image
> Aquisition Toolbox from line command and not from its GUI.

Well, I have several reports that there are problems in setting
parameters (like shutter) when using the AVT MATLAB Adaptor with
R2009B. But it should be possible to get images.

> The AVT FirePackage is installed and SmartView works. We're trying
> to install Matlab in that PC but there is the same error. That is,
> registering the adaptor from command window, it becomes visible in
> imaqregister list but not in imaqhwinfo. Why?

There are two possible problems here: The cameras are working with
SmartView on that computer, right? So the Intek driver is used for the
FireWire adaptor... but only to be sure, recheck. And of course there
are sometimes problems with different versions of the FirePackage -
e.g. if the AVT FirePackage is installed and the AVT universal package
is installed SmartView will work but the MATLAB adaptor will show
exactly the error you described. If unshure: deinstall all AVT driver
packages, and install the FirePackage 2.11 .

> The PC is a Dell with Panda Antivirus. Is there maybe a protection
> problem?

I have never used Panda Antivirus, but I don't think that there is a
problem because the FirePackage driver has got a propritaery API which
is not controlled by Windows at all.

best regards,

Ulf-Erik Walter
Allied Vision Technologies
 | 
Pages: 1
Prev: gui slider question
Next: Windows 7