Thread Subject: how to remove an Image Acquisition Toolbox adaptor?

Subject: how to remove an Image Acquisition Toolbox adaptor?

From: Sean

Date: 20 Oct, 2009 23:40:20

Message: 1 of 3

If I register an adaptor with the image acquisition toolbox, then I will not be able to register another adaptor with the same name.

I am writing my own adaptor and I need to test it. I don't want to give a new name for the same adaptor everytime. So, how do I unstall an adaptor in Matlab?

Subject: how to remove an Image Acquisition Toolbox adaptor?

From: Dave Tarkowski

Date: 22 Oct, 2009 13:16:30

Message: 2 of 3

Sean wrote:
> If I register an adaptor with the image acquisition toolbox, then I will not be able to register another adaptor with the same name.
>
> I am writing my own adaptor and I need to test it. I don't want to give a new name for the same adaptor everytime. So, how do I unstall an adaptor in Matlab?

When you register an adaptor, what you are really registering is the
file location, so if you're just compiling a new version of the adaptor
but keeping the location the same, you don't need to worry about
re-registering it.

If really do want to unregister an adaptor, you can do the following:

 >> imaqregister('myadaptor.dll', 'unregister');

-Dave Tarkowski

Subject: how to remove an Image Acquisition Toolbox adaptor?

From: Mark Jones

Date: 26 Oct, 2009 13:15:16

Message: 3 of 3

Dave Tarkowski wrote:
> Sean wrote:
>> If I register an adaptor with the image acquisition toolbox, then I
>> will not be able to register another adaptor with the same name.
>> I am writing my own adaptor and I need to test it. I don't want to
>> give a new name for the same adaptor everytime. So, how do I unstall
>> an adaptor in Matlab?
>
> When you register an adaptor, what you are really registering is the
> file location, so if you're just compiling a new version of the adaptor
> but keeping the location the same, you don't need to worry about
> re-registering it.
>
> If really do want to unregister an adaptor, you can do the following:
>
> >> imaqregister('myadaptor.dll', 'unregister');
>
> -Dave Tarkowski

Also, if you want to keep MATLAB open during testing and recompilation,
you can call IMAQRESET before compilation so that the toolbox releases
the adaptor DLL. The adaptor DLL will then be reloaded the next time
you call IMAQHWINFO or VIDEOINPUT (for that adaptor).

Mark

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
image acquisiti... Sean 20 Oct, 2009 19:44:04
adaptor Sean 20 Oct, 2009 19:44:04
rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com