08-07-2018 05:37 AM
Hello.
I'm using Basler acA2000-340kc camera link camera which can grab image with a maximum image resolution of 2040x1086. However I'd like to capture image with a lower resolution without cropping it so the avi files that i am creating are not as big in size. I've figured that i'm supposed to use the IMAQ Set Image Size but i'm just not quite sure where to put it in my vi. I've both attatched vi and uploaded a picture of it so it's easier for you to see. I'm all new to LabVIEW and i'd appreciate any help.
Solved! Go to Solution.
08-07-2018 05:52 AM
Hi,
the vi you are looking for is IMAQ Resample (http://zone.ni.com/reference/en-XX/help/370281P-01/imaqvision/imaq_resample/) , not IMAQ SetImageSize. SetImageSize creates a black image, unless the image size is unchanged, then it does nothing.
You want to use it inside the second loop, directly after acquiring the image.
.. To get smaller AVI files, you can also consider using a more efficient codec. There is a vi in the Example finder that compares all the available codecs on your PC.
BP
08-18-2018 04:38 AM
Sorry for the late response but i had to move my project into a newer version of LabVIEW because of comparability issues. Your solution worked perfectly! Thanks for the help!