12-17-2014 10:29 AM
I am trying to witch from IMAQ AVI to IMAQ AVI2
Everything seems to wokr fine up to the point where I retrieve the IMAGE TYPE.
"IMAQ AVI2 Get Info VI" returns the wrong Image type. See screenshot below.
I created the movie and show here that the saved image has the correct format (see below)
How is this possible? What do I do wrong? With IMAQ AVI 2010 this worked fine.
Any suggestions?
Thanks,
Jeroen
12-17-2014 11:29 AM
The snapshots:
12-17-2014 08:52 PM
Two points. First, your images were not helpful -- most of the "interesting bits" were cut off. So I can't tell what you did, nor what the problem is. Oh, well. Second, the AVI2 functions are definitely dfferent from their predecessor AVI versions, including having less(!) functionality. We found things we could no longer do, but didn't encounter frank errors ...
BS
12-18-2014 06:36 AM
Hi Bob,
Thanks for replying. I found that the AVI2 is a factor 10 faster in reading frames from a movie! So worthwhile to migrate.
I have no idea what you would like to see. I created an image template with "Grayscale (U8). with with the older version IMAQ AVI that worked fine. What do you need to help me out?
Thanks a lot!
Jeroen
12-18-2014 07:24 AM
I was just commenting on the two PNG files you attached when asking "What's wrong?". My comment was I couldn't see enough in the images to answer your question -- it looked like the images had been squished into a tiny space, or else severely cropped so the parts we needed to see were missing.
As for the increased speed, that's probably why NI rewrote the functions and eliminated the additional features of the original AVI functions. As I said, the new AVI2 functions work for us, we just regretted losing the additional "hooks" in the originals.
BS