Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

firewire camera works in MAX but not in LabView

Solved!
Go to solution
Hello,

i am using a 1394b camera (Point Grey Grasshopper 14S5M-C) connected to a 1394a bus controller. In MAX the camera works just fine, but it will not work with any of the LabView 1394-example files. Those allways throw the error "NI-IMAQ IEEE-1394:  (Hex 0xBFF6800F) Attribute not supported by the camera" even though in some of those example files like "grab.vi" no attributes are set at all. On the same computer another camera (Point Grey Scorpion 20SOM, 1394a) works without any problems.

Can anybody help?
0 Kudos
Message 1 of 6
(4,603 Views)

Hi,

 

Yep, I've got exactly the same behaviour with GigE camera.

This error occured only in LabVIEW (in development mode). Try to build executable application, it should be OK then.

 

Andrey.

 

0 Kudos
Message 2 of 6
(4,588 Views)

Hey,

 

You should try to run the same examples for IMAQdx.

 

Christian

0 Kudos
Message 3 of 6
(4,582 Views)

Christian,

 

This happened with standard grab example for IMAQdx.

 

I have just opened the example (snap or acquisition - doesn't matter), then run it and got "Attribute not supported" by starting acquisition.

But! When LabVIEW example compiled to application, then it works.

 

Also the camera working properly

- in MAX

- in Vision Assistant

- in CVI or MSVC (any example OK)

- in builded LabVIEW application.

 

Error "Attribute is not supported..." occurred only in LabVIEW in development mode.

This makes problems with debugging - every time I should build application for getting the images. 

Also this error occurred only with certain cameras types (I have two different GigE Basler cameras, and one is working, and another one - not).

Bug report was sent to NI (SRQ 7176967 / November 2007), but problem was not solved.

 

Andrey.

 

0 Kudos
Message 4 of 6
(4,579 Views)
Solution
Accepted by topic author kars1000

Hi Christian,

 

thanks for that tip, that was the reason. I unintentionally was using the IMAQ instead of IMAQdx example files. With IMAQdx now it works.

 

Best Regards,

 

Karl

0 Kudos
Message 5 of 6
(4,566 Views)
Congratulation, that you have solved yor problem! Two things are strange: in your first message you wrote that other firewire camera working (how is it possible if IMAQ was used instead of IMAQdx?), and you've got Attribute not supported" error (if IMAQ was used instead of IMAQdx, then you should get error "Camera not found" or "Initialization error" from IMAQ Init... Anyway your problem seems to be differ from my. Andrey.
0 Kudos
Message 6 of 6
(4,555 Views)