Example Code

Convert Waveform Data to AVI

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • Vision Development Module
  • LabVIEW

Code and Documents

Attachment

Overview

The example demonstrates how to create a AVI file with a video of a waveform chart.

 

Description

LabVIEW features a AVI palette that can read or write a AVI video file toor from any IMAQ image data type.
With this AVI palette a video is created by capturing the image of a waveform chart indicator.
 

Requirements

 Software

  • LabVIEW 2012 Base Development System (or compatible)
  • Vision Development Module 2012 (or compatible)

 Hardware

  • No hardware is necessary to use this example VI

 

Steps to Implement or Execute Code

  1. Select the path to save the generated AVI file to
  2. Select the desired frame rate
  3. Run the VI

 

Additional Information or References

Waveform Chart to AVI LV2012 NIVerified.vi - Front Panel.png

 

Waveform Chart to AVI LV2012 NIVerified.vi - Front Panel.png

**The code for this example has been edited to meet the new Community Example Style Guidelines. The edited copy is marked with the text 'NIVerified'. Read here for more information about the new Example Guidelines and Community Platform.**

National Instruments
Applications Engineer

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
BSampson
Member
Member
on

Hey Ricky,

Nice example if not all together practical.  One way that you could improve this to make it a little more scalable is to sync this with an event structure that only executed when the WF Graph was updated with a new value.  This would likely also be a little easier on the processor. 

B Sampson
Ceres Bio Fuels