03-09-2010 11:14 AM
Hi,
I have written timestamp and exposure data to an AVI file, but I cannot get that data out of the file using the avi read function. I am attaching code for reading the video as well as a 7 frame snippet of video. If you open the video in a Hex editor and search for "Time," you can see that the data was written to the file, but I just get empty strings when I try to read it back as in the attached VI. Am I doing something wrong?
I am using LV 8.0.1, Vision 7.1.1, and IMAQ 4.0.
Thanks,
Greg
Solved! Go to Solution.
03-09-2010 02:19 PM
UPDATE:
I tried this software on a colleague's computer and it worked fine. The only difference between his installation and mine is that he is using IMAQ 3.7
Should I downgrade?
Greg
03-10-2010 04:51 PM
Hi Greg,
I was able to run your VI with the AVI successfully. It is not dependent on the version of Vision that you have since the AVI VIs are part of NI-IMAQ. I ran it successfully in LabVIEW 8.6 with IMAQ 4.3. I definitely would not recommend that you downgrade. I would recommend that you either try repairing your installation of IMAQ or you upgrade.
03-11-2010 12:02 PM
Wes,
Thanks for the advice. I tried a repair of IMAQ, IMAQdx, and IMAQ IO. The problem persists. I cannot afford to upgrade. If you have any other ideas, please let me know.
Thanks,
Greg
03-12-2010 10:03 AM
Hi Greg,
IMAQ is a free installation. It is part of an installer called Vision Acquisition Software, which includes three drivers, only one of which requires a license. If you are not using IMAQdx (FireWire, USB, and GigE cameras) just don't activate, and only that feature will be unavailable. The AVI functions are part of IMAQ, which is not licensed, therefore it is free. Be sure to check the Knowledge Base article linked below to make sure you get a compatible version of the software for your version of LabVIEW.
KnowledgeBase 3YMCCQ0F: NI-IMAQ and NI-IMAQdx Compatibility with Different LabVIEW Versions
03-18-2010 03:26 PM
Thank you for your help.
I finally got this fixed. I tried upgrading IMAQ like you said, repairing IMAQ and LabView installations, and deleting and reinstalling all my NI software. None of this helped.
By this time, I was having a bunch of other problems with NI-MAX, got totally fed up, formatted the hard drive, and reinstalled windows, LabView and all the vision stuff. In the process, I found out that I had bad RAM and replaced that too.
Almost all of the problems are gone now, including this one.
Thanks,
Greg