08-12-2009 04:10 PM
Solved! Go to Solution.
08-14-2009 08:33 AM
Hi Yangtze,
How does the VI perform without using any codecs or AVI Filters? And do you want to use the DivX filter instead of the Indeo one for any particular reason? I know that different AVI filters will use different algorithims to compress the data, and the time it takes to compress the data can vary. It is possible that the DivX filter takes a little longer and may be interfering with your acquisition, which is why you get the timeout error at the IMAQ grab.
Secondly, are you acquiring video when the machine goes into standby? Do you stop your VI before you go into standby? How long do you need to acquire for?
Cheers,
08-14-2009 10:18 AM
08-17-2009 04:00 PM
Hi Yangtze,
For the codec issue- I would recommend testing out different avi filters and seeing which one works best. To see what filters you have avaliable on your computer, use the GetAVIFilterNames and this will populate a list for you. From there, you can test to see which one gives you the desired playback performance and compression.
For the standby problem--in your VI, do you call an AVI close and an IMAQdx close? It sounds like you might not be closing all of your references, and if you leave them open, even closing LabVIEW isn't guaranteed to do this. Tryadding these to your program.
Cheers,
09-14-2009 09:24 AM
Thank you very much, Marti.
I solved the problem.