LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to play a video chip in Labview front panel

hi, everyone

 

I am a  kind of beginner of Labview and now I encountered a trouble that I do not know how to play a video chip in Labview front panel

 

The funciton I need is very simple, just play the video automatically when the VI is running.

 

Another thing is the version  of Labview I use is Labview 2009 and I found there is some differencs on WMP property between this and other version. I will show you in pictures below.

 

methods for WMPlib.png

property for WMPlib.png

what I did.png

 

Thanks in advance for giving me a hand.

 

Regards,

 

Louis

0 Kudos
Message 1 of 4
(3,080 Views)

Louis,

 

simply write the path+videoname+extension to the video to the property "URL" .

 

hope this helps,

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 4
(3,074 Views)

Firstly, thanks for you reply

 

But is it convenient for you to draw a simple block diagram for me since I still cannot find a way to connect those stuff.

0 Kudos
Message 3 of 4
(3,057 Views)

Right click on your control on the block diagram to create a property node, then you might see the URL property! Smiley Wink

 

(Haven't tried it, just noticed you are playing with a control, not an indicator)

 

James

CLD; LabVIEW since 8.0, Currently have LabVIEW 2015 SP1, 2018SP1 & 2020 installed
0 Kudos
Message 4 of 4
(3,045 Views)