09-12-2013 05:15 AM
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..
09-12-2013 10:24 AM
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.
09-16-2013 07:41 AM
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.
09-16-2013 12:22 PM
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.
11-16-2013 09:38 PM
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
11-18-2013 11:00 AM
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.