Hi,
If you save the avi file and data in two separate files, then you can
playback avi file , query the index of the current frame and then
getting the correponding data for that frame using this index for the
video and data synchronization. Media player or my free vi
(http://www.geocities.com/irene_he/FunStuff.html)can be used to
playback avi file. If you need more help, you can e-mail me at
irene_he@hytekautomation.com
This method works good for my data and video synchronization
applications.
Irene
Terry S wrote in message news:<5065000000050000008E300100-1066448259000@exchange.ni.com>...
> Thanks for your sample code, but that is pretty much what I have
> tried. In the first loop were the frames are being buffered, for the
> 150-frame avi clip it takes 30 seconds to complete. Now I forgot to
> mention before that I would be creating a final avi that will consist
> of 10 or more of these clips. The way this is currently being done,
> the buffering loop would take up to 5 minutes to complete, kind of
> long don't you think?
>
> Another thing that I notice is during the buffering loop my processor
> CPU usage is maxed out? Now I have noticed this with a lot of the
> Vision and IMAQ stuff that have been written by NI. I have inquired
> about this from NI before but they do not seem to think it is an
> issue, am I the only person that thinks it is poor programming to
> create something that uses all the CPU resources? Performing imaging
> functions should not be an excuse as there are many other programs
> written in other languages that do not seem to chock the computer.
>
> This is not mean't to sound bitter, it just an observation. I think
> NI has a good product here for capturing still images but seems to
> need alot of work yet with AVI's. And the option of adding data to
> the avi is great but again needs improvement. One of the reasons I
> may have to abandon my idea is the fact that if I cannot get the data
> out with anything other than using vision functions, means for every
> avi I produce and want to supply to a customer I need to sell him a
> $475.00CAN Vision license?