06-26-2013 06:19 PM
Hi everyone,
I have some trouble with the vision VI IMAQ AVI get info,
everything was working well then I don't know what happened but the VI does not retrieve any information on any files, and I get the following error:
Error -1074395993 occurred at IMAQ AVI Open
Possible reason(s):
IMAQ Vision: File I/O error.
I need the framerate, Width, height and number of frame from this VI or else I cannot develop my application.
it only returns 0 on all values but the number of frames which is not correct 4294967295
I am thinking I might have broken the vision library.
Thanks for your help.
06-26-2013 06:33 PM
I tried to repair the NI Vision installation but no chance...
06-26-2013 07:42 PM
Sorry for the multiple message,
I have found why it did not work it was not the imaq get file info but the IMAQ AVI Open VI that does not like the path string given by the open/Create/Replace File VI.
If you have any idea why it would be appreciated.
Thanks.
06-28-2013 02:25 PM
I still haven't found a solution to this problem.
You'll find enclosed a printscreen of the problem
Any Ideas?
Thanks
07-01-2013 11:03 AM
Hey there;
I tried your code and got the same error... so I made a few modifications....
I initialized your error cluster and added a "read avi frame.vi" so that you can actually see the first frame in the file you opened. You also need to close the avi file to prevent it from getting corrupted.
Hope this helps..
Greetings
07-01-2013 02:00 PM
Thanks MarisolM,
But It does not tell me why the IMAQ Avi Open.VI does not like the path given by the Open/Create/Replace File.vi
Best Regards,
07-01-2013 03:17 PM
Hey; I was able to reproduce your error..
It seems that in your code you are leaving the file refference open, so then LabVIEW can't open the path in the OpenAVI.vi...
You can try this in order to make your VI work
Good luck