Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

problem reading avi files

Hello,

I want to open an avi file with labview, but when I do it appears an error of Windows. The error says that If I want to send the problem to Microsoft, and immediatly Labview is closed and I lose all information that I don't save.

What kind of problem is? May be is about codex or something like that. My labview version is 7.1

Thank you!
0 Kudos
Message 1 of 4
(3,607 Views)
Hi!

We are currently working on an application that involves reading AVI files as well. However, we are working with LabVIEW V8.2.1. It is actually pretty straight forward and shouldn't cause you any grief.
Can you play that file with Windows Media Player okay?
 You could see, if there is anything wrong with your LabVIEW installation by first writing your own AVI file to disk and then re-open that one. This way you'd be sure that it is not a missing codec problem.
You could simply use a static image and write the same image over and over to your "pretend" movie file.

This should help you to isolate your problem at least.

Best,

Markus Tarin

0 Kudos
Message 2 of 4
(3,583 Views)
Hello,

I can see the videos with Windows Media Player, so I don't think it's a codecs problem. If a run step by step the program runs correctly (I can see the number of frames), until the last moment when the Labview crashes and then apparears the Windows window of error.
0 Kudos
Message 3 of 4
(3,563 Views)
Hi Laniru!

That seems strange that you get a Windows error. I'd suggest you use LabVIEW to save your own AVI file as mentioned before and try to read that one back to see, if the problem persists.
This will tell you, if that particular file is somehow corrupt.
If you still get the error, I would try to uninstall and reinstall your LabVIEW & IMAQ installation and make sure you have the latest version of all drivers etc.

Have you tried using other AVI files?

Best,
Markus
0 Kudos
Message 4 of 4
(3,544 Views)