Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

MAX camera

Hi all,

 

An infuriating problem I can't get past. I have an imagingsource.com DMK31B firewire camera. Using Legacy IMAQ. Same issues when IMAQdx is used. All fine in MAX where I can adjust the camera attributes as I desire. When I save the attributes and then run the camera in LabVIEW it reverts to the default parameters (it likes the gain to be 649!). I have tried the example vi given in thread http://forums.ni.com/ni/board/message?board.id=200&message.id=25735&query.id=1566441#M25735 with the solutiongiven by Alex Person. This works fine programatically. I have even cut and pasted this vi into my own to set the attributes and all works ok. However, when the vi stops and you restart again the default settings are used again no matter if I set them in MAX, in the previous example or if I change the settings in the *.icd files by hand. 

 

Anyone have any idea of how to fix this issue?

 

Regards,

 

 

Leeser

0 Kudos
Message 1 of 3
(3,350 Views)

Hi Leeser,

 

When you change the attributes in the camera's .icd file, do these persist or is something changing them back?

 

 

0 Kudos
Message 2 of 3
(3,330 Views)

Hi Mark,

 

The camera icd file is not over written unexpectantly ie if you change the values in MAX they are saved to the icd file as expected. The problem is that when I try to acquire from the camera in LabVIEW it automatically defaults to shutter of 0.03 secs (ie 30fps) and a gain value of 649.  The appropriate camera iid file points to the correct icd file.

 

I have tried to use the IMAQ Attributes.vi in the IMAQ1394.llb to set the values however I'm uncertain as to the input values, are they relative/absolute etc and the differences between the set modes (Manual/OnePush) etc.

 

The only thing I can think of is that there is a default icd file that the camera is reading and this is not the desired file.

 

Leeser

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