06-08-2012 06:20 AM - edited 06-08-2012 06:21 AM
Hello All, I am trying to lower the resolution of an image being saved in order to lower the size of the avi file being produced, but when I try to, the program crashes. When I take away the IMAQ extract or IMAQ resize, it works.
Ive attached the current setup; any help would be very much appreciated.
06-08-2012 06:31 AM
That might not be the issue but first quick advice would be to put the IMAQ create (image allocation) out of the while loop, you only want to allocate the image buffer once before you enter that while loop.
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
06-08-2012 07:33 AM - edited 06-08-2012 07:35 AM
Thanks for the help, I actually tried this before, but didnt affect operation. I put it in to show that it was happening when I took the picture. (who knows perhaps my set up of the destination was the problem...)
06-12-2012 02:08 AM
To reduce the size of an AVI usually a compression filter (codec) is used. The IMAQ AVI functions let you select the different codecs installed at your system.
There is also an example shipped with LV which compares this codecs so you can see which one fits best.
Christian