03-20-2014 07:51 AM
Hi,
I have a little problem with my Basler cameras(Basler spL4096-140km). I want to add definition of the Area Of Interest (length and also starting pixel) to the camera file. However, I don´t know what should I write to the serial command. I was looking into the manual, but I just can´t figure it out from that tables. Did anyone try to add this into the camera file?
Looking forward to hearing from someone
Stanka
03-21-2014
04:52 AM
- last edited on
02-27-2025
09:43 AM
by
Content Cleaner
Hi Stanka,
are you talking about the region of interest (ROI) or the acquisition window?
The ROI will be defined in the application itself, not inside the camera file.
The acquisition window can be set using the following command:
AcquisitionWindow (10, 20, 1000, 1000)
in the InterfaceInfo section of the camera file. This will set the left offset to 10, the top offset to 20 and the width and height to 1000.
The easiest way to create a camera file is the:
NI Camera File Generator
The directory for the camera files is the following:
C:\Users\Public\Documents\National Instruments\NI-IMAQ\Data
opening these files with any editor gives you access to the syntax.
If you have further questions please feel free to come back.
Kind Regards,
Vanessa
AE Munich
03-24-2014 04:12 AM
Hi Vanessa,
Thank you for your reply. In meantime, I was able to add the AOI attribute into the camera file. The ROI or acquisition windows were not enough in my case. I want to run my cameras as fast as I can. With less used pixel, the cameras should run faster. But when I tried to change ROI or acquisition windows, the shortest possible exposure window (and of course, the speed) was always the same. It looked like the cameras were still reading out all the pixels. With AOI changed, the exposure time can be shorter and cameras are running faster.
Kind Regards,
Stanka