Example Code

Play user-created AVI in Embedded Windows Media Player window

Code and Documents

Attachment

Introduction

This example creates an AVI by writing an image multiple times to an AVI file, and then plays the AVI in an embedded Windows Media Player window. This code can be modified easily to create an AVI from images acquired by a camera rather than from a file on disk.

Steps to Complete

1. Choose an image to write to the AVI file from the front panel

2. Select a path to save the AVI to

3. Run the VI

Additional Notes

Required software:

1. LabVIEW 2009

2. Vision Acquisition Software 2009

3. Windows Media Player 11

AVI Windows Media Player.png

Vivek Nath
National Instruments
Applications Engineer
Machine Vision

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

Comments
wprice
Member
Member
on

Can you do the same without the Vision package?

Contributors