Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't select an interface on CWIMAQ control

I'm using an AVT Guppy Firewire camera, correctly viewed and configured in MAX on interface "cam1".
I've used this camera from visual basic with the IMAQdx functions (like IMAQdx.OpenCamera, etc...) and had no problems.

I'd like to use the hi level AxCWIMAQ control, but if I insert the contro on the form and try to configure it with his configure dialog, I can't select any interface from the drop down list, nor it works if I manually set the Interface property to "cam1".

Can someone help me? Thanks.
--
Simone
0 Kudos
Message 1 of 3
(3,444 Views)
I've also tried loading some VB.NET examples from the IMAQ directory, and I have always the same error "no interface found".

Maybe that the CWIMAQ control doesn't work with FireWire cameras?

Infact, I've noticed that, in all the reference and examples, the camera interface name is something like "img0", "img1", ... while in max my firewire camera interfaces appear as "cam0", "cam1", ...

Simone
--
Simone
0 Kudos
Message 2 of 3
(3,438 Views)

Hi Simone,

The CWIMAQ control is provided by Vision and as far as I know only supports NI-IMAQ (ie framegrabbers), not IMAQdx (or the legacy 1394 driver). Hence with Firewire or GigE devices you will need to use the IMAQdx .NET interface directly. I believe that control is only really around for legacy purposes and I don't think there is a huge advantage to using it rather than the IMAQ or IMAQdx API's directly.

Hope this helps,

Eric

0 Kudos
Message 3 of 3
(3,430 Views)