Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading attributes of an IEEE 1394 cam

Hi,
I am having problems reading the attributes of my camera.
The camera is a Basler 602f which should be fully supplied by the IMAQ IEEE 1394 driver.

When I try to read any attribute, I am always getting an error that the attribute isn't supported.

What am I doing wrong?
0 Kudos
Message 1 of 5
(3,418 Views)
Hi,

You just can read attributes supported from the camera.

You should also look first at example LabViewx.x\Examples\IMAQ1394example.llb\grab and Attributes Setup.vi.

I think this will help...

R.T.
NI Germany
0 Kudos
Message 2 of 5
(3,418 Views)
Hi ThorstenRo,
actually it didn't help 🙂

I have taken the code from that example.
Because the example fails always with a feature not present in camera message, I thought if I loop through all attributes, I would find the supported ones.

My mistake was that I had the Error In/Out connected to a shift register and not to an indexing tunnel so I got an error for every feature because the error of the first feature was looped around.

Anyway, thanks for your help,
Bernie
0 Kudos
Message 3 of 5
(3,418 Views)
Hi again,
now my program is running fine, but the output is puzzling me a little bit.

The camera is listed as NI tested and approved under http://sine.ni.com/apps/we/nipc.ni_approved
So I thought I could use all the attributes available via the IEEE1394 VIs of LabView.

But when I run my VI, I get errors for features like brightness and gain which are listed in the camera's manual as standard features.

When I use the getFeatures VI I only get three supported Features which are Code 0 (couldn't find that in the online help), Gamma and Shutter.

Does that mean that I have to use the 1394 Read and Write VIs to access all the features of the camera?
What does NI tested and approved actually mean?

Have a nice weekend,
Bernie
Download All
0 Kudos
Message 4 of 5
(3,418 Views)
If you look at the test panel in MAX, it should display all the supported features. If you can see it in MAX, there is a way to control it in LabVIEW.

If you can't see it in MAX, you probably need to use the Read and Write VIs.

Bruce
Bruce Ammons
Ammons Engineering
0 Kudos
Message 5 of 5
(3,418 Views)