Introduction
This VI shows you how to acquire analog input data and video, and then play the video and data back. During playback, video and data will be aligned, so that the frame playing will correspond to the data collected during that frame.
Steps to Complete
Set a location for the AVI file and your DAQmx physical channels. Accelerometer data was used.
Additional Notes
You will need LabVIEW 2009 and Vision Acquisition Software to run this example. You will also need a camera and data acquisition device.
This VI uses the DAQmx Property Node "ReadAllAvaliableSamples", so all of the data "chunks" may not be the same size, but they will align with the video playback.
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
Can you post again the vi? somehow it disapear
This is a nice piece of code, but the two tasks (AI and Video) are not really syncronized electornically. There is no triggering nor syncronization of the AI and Video clock.