Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

camera 1426

Hi,

 

I'm working with a 1426 framegraber and a Sony U1000 camera. What I want to do is to control the exposition time during an acquisition. I m able to do that using the IMAQ Set Camera Attribute.vi and a Snap acquisition. But if I want the do a Grag acquisition the following error appears:

 

NI-IMAQ:  Cannot perform request; acquisition currently in progress.

 

What I don't understand is that it seems to work in MAX.

 

So is it possible to change the exposition time using the camera attribute during a grab acquisition?

Or if not, shall I try to use a external pulse trigger to control the exposition time?

 

Thanks in advance, best regards 

 

 

0 Kudos
Message 1 of 2
(3,273 Views)

Hi Gil51,

 

Due to the way camera files in IMAQ work, it requires the acquisition to be stopped to modify camera-based settings. One alternative is to find out the serial strings needed to configure the exposure time and send them manually using the IMAQ Serial Read/Write VIs. Another option is to use an external trigger as you mentioned. You might be able to use the IMAQ board to send a pulse train with the required timing to get the exposure time you want.

 

Eric 

 

 

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