04-08-2009 05:21 AM
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
04-08-2009 09:03 AM
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