LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

wmv

Labview 2012

Windows 7

 

I have a state machine that tests my UUT.  During one of the test I want to run a 10 sec wmv video while LV is doing the test.  Its a visual of what is actually happening.  I have the wmv file.  I've read some new and old post wrt running wmv in LV.  Nothing really helpful.  Some used an embedded html, some used active x.  I know nothing about either of these.  Can I call this wmv simutaneously while running my lv written tests??

If it matters, I read some posts about Media Player resizing the screen??  Also, not a worry to me, some weren't able to get sound??

Thxs..

0 Kudos
Message 1 of 6
(3,157 Views)

Download Video Lan Client VLC.  When you install it, make sure to check the activeX control as well.

 

In your labview code front panel, you can put an activeX container, and then configure it to be the VLC player.

 

In the block diagrap, you can right-click  and add property nodes for controling things like the path tot the video you want to play, start, stop, etc.

Machine Vision, Robotics, Embedded Systems, Surveillance

www.movimed.com - Custom Imaging Solutions
0 Kudos
Message 2 of 6
(3,136 Views)

Downloaded Videolan. ran the exe but never saw the option for active x.  I looked in the Labview on the tools pallet but nothing is there for Video Lan.  Just Media Player version 1.0. Do you know what I (am/doing) wrong?

 

Thanks.

0 Kudos
Message 3 of 6
(3,113 Views)

The ActiveX plugin is installed by default.  Never mind that though.  It seems that the ActiveX plugin is broken in all recent versions of LabVIEW.  Use the Windows Media Player Plugin instead.

 

Windows Media Player.png

Machine Vision, Robotics, Embedded Systems, Surveillance

www.movimed.com - Custom Imaging Solutions
0 Kudos
Message 4 of 6
(3,099 Views)

Dear All,

 

I have two problems, when I use media player. First one is when I setup window behavior to "modal" and play a wmv file, there is no image. The other problem is I setup window behavior to "default" when I build this vi became a subvi  and call this subvi to play a wmv file, there is no image either.

 

B/R

Ancle

0 Kudos
Message 5 of 6
(3,035 Views)

Since a modal window has to be the front-most, you will probably run into problems, since the video is most likely an overlay.  That is, it is an additional window placed on top of the media player application.  If you make the window modal, you will effectively hide the video overlay.  Just a hunch.

Machine Vision, Robotics, Embedded Systems, Surveillance

www.movimed.com - Custom Imaging Solutions
0 Kudos
Message 6 of 6
(3,011 Views)