06-29-2009 12:32 PM
I am trying to set an ROI for the CameraLink Basler A504k. To set the ROI on the camera I use Enrico Serge's SerialWrite vi, which seems to work fine. As far as I understand, I also have to configure my NI1429 grabber with the same ROI size. I have tried two versions of setting the ROI on the NI1429.
1) IMAQ Grab Setup with the ROI input. left and top I set to 0 and I just configure width and height.
2) with a property node, however I am not sure, if I have to set the ROI or the acquisition window (what is the difference?)
The result is, that sometimes the camera works fine, but very often I get error messages:
1) about every other time the IMAQ Grab Acquire does not return an image (1074396120) (usually for smaller images e.g. 700x700)
2) or I get a NI-IMAQ timeout in the IMAQ Grab Acquire (usually if I have a larger ROI 1000x1000).
3) or I get a NI-IMAQ FIFO overflow caused acquision to halt (1074397140) (also for larger ROIs).
Is there a certain order, I have to set the ROI of the camera and the NI1429?
Basler tells me I have to set the width in dividers of 10, NI suggests a divider of 8?! Might that be a problem?
I have also used IMAQ fit ROI. That doesn't seem to influence the result, and I am not sure about the purpose of this function.
Maybe there are different problems here.
I would be very thankful for some ideas and hints.
Markus
Labview 8.6 under XP
07-12-2010 07:17 AM
Did you ever find a solution to this issue? I am getting the same errors. If there is any advice you can provide I would be extremely greatful.
Thanks
07-12-2010 07:50 AM
Also define your buffers correctly. Connect img dst where it is required to a imaq create vi.