From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Example Code

Use ActiveX to play Quicktime movie in LabVIEW

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

  • LabVIEW

Code and Documents

Attachment

Overview: This example plays a video inside LabVIEW using QuickTime ActiveX control

 

Description: this example utilizes the QuickTime ActiveX controls to play a video inside LabVIEW VI. The video player settings can be modified using the property nodes.

 

Requirements: LabVIEW Full Development System 2012 or compatible, Apple QuickTime Player

 

Steps to Implement or Execute Code:

  1. Install QuickTime player on the PC
  2. Right click QuickTime ActiveX Control and select "Insert ActiveX Object"
  3. Select Apple QuickTime
  4. Browse to the video to be played
  5. Run the VI
  6. The video will start after the VI finishes executing

 

 Additional Information or References

Top-level VI Code Snippet

 Play QuickTime Video 2012 NIVerified.png

 

 

**The code for this example has been edited to meet the new Community Example Style Guidelines.**

Tejinder Gill
National Instruments
Applications Engineer
Visit ni.com/gettingstarted for step-by-step help in setting up your system.

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