Academic Company Events Community Support Solutions Products & Services Contact NI MyNI
5 ratings:
 3.39 out of 5     Rate this Document

How do I Play an AVI File from LabVIEW?

Primary Software: LabVIEW Development Systems>>LabVIEW Full Development System
Primary Software Version: 1.0
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
How can I play an AVI file in LabVIEW on a Windows machine using either my NI-IMAQ software or using ActiveX controls?

Solution:
You can easily use the Read AVI example VI (found in the NI Example Finder) to play an AVI file in LabVIEW.  This AVI functionality is available in NI-IMAQ 2.6 and later. The NI-IMAQ driver currently comes with the Vision Acquisition Software package.

To use ActiveX commands to play the movie in your choice of media software (Windows Media Player, Quicktime, etc). See Developer Zone Tutorial: ActiveX and LabVIEW Tutorial to get started. There is also an example of using ActiveX controls to play an .avi file in Windows Media Player (or any other file extension that is supported in Windows Media Player) on the NI Developer Zone Community.

Related Links:
Developer Zone Tutorial: ActiveX and LabVIEW
Drivers and Updates: NI Vision Acquisition Software 2009
KnowledgeBase 485EP5L6: What is the Difference Between Vision Software VDM, VBAI, and VAS?
NI Community: Play File in Windows Media Player using ActiveX Controls in LabVIEW

Attachments:





Report Date: 01/20/1998
Last Updated: 04/09/2010
Document ID: 15JEIOU0

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit