Convert Series of Graph Images to AVI Video

Updated Aug 6, 2018

Reported In

Software

  • LabVIEW

Driver

  • NI-IMAQ

Issue Details

I would like to convert a graph to a video in LabVIEW. How can I do this?

Solution

You can follow the steps below to convert a series of graph images to an AVI video in LabVIEW.
  1. Use the Get Image Invoke Node for the waveform graph to get the image data of the graph. 
  2. Use the Unflatten Pixmap function to convert the image data to an 8-bit pixmap array
  3. Use the IMAQ Create function to create a memory space for the IMAQ image
  4. Use the IMAQ Array to Image function to convert the 8-bit pixmap to an IMAQ Image
  5. Use the IMAQ AVI2 Write Frame function to convert the IMAQ image to an AVI file.

Note: This requires NI Vision Acquisition Software drivers

The snippet below shows an example of the method described above. 

WAS THIS ARTICLE HELPFUL?

Not Helpful