LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

windows media player 9 labview 7

I'm having problems with this, just as some other people have. After looking through the MSDN library, it seems all you need to do is place the Windows Media Player object in a front panel ActiveX control. Then on the block diagram, wire the object to a property node. Finally, wire the path to the URL property. This should load the file and automatically play it. Well, I've tried this with several different files. With all files, the video plays for the correct amount of time, but no picture shows up in the control on the front panel!

What's interesting is that if I place an older version of the control (6.4) on the front panel (which I could only do by copy-paste from an example someone posted here - it's not available i
n the Select Active X object box) and wire the path to the FileName property, it works perfectly.

I've attached an example showing this. Place the path to a video (I'm using .avi files) in the path control and run the vi.

Any ideas?

Dave.
==============================================

0 Kudos
Message 1 of 8
(7,309 Views)
Dave,

This is a known issue with the compatibility between Windows Media Player 9 and LabVIEW 6.1, 7.0, and 7.1.
When you play a movie file with WMP9, the video portion of it does not show up in the Media Player display.

Microsoft has changed the version of the Windows Media Software Development Kit used with Windows Media Player 9. LabVIEW was designed to work with the SDK version used to build Windows Media Player 8.0.

The issue can be resolved by downgrading your version on Windows Media Player to 8.0.

Zvezdana S.
National Instruments
0 Kudos
Message 2 of 8
(7,309 Views)
Is NI developing a patch for this issue?

Dave
==============================================

0 Kudos
Message 3 of 8
(7,309 Views)
I have version 9 also and here is a VI that works for me. I cannot remember if I got it from this forum or from LAVA but anyway this might work for you.



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 4 of 8
(7,309 Views)
I tried yours and the same thing happens. What version of LV are you running?
==============================================

0 Kudos
Message 5 of 8
(7,310 Views)
LV 7
windows media player series 9.



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 6 of 8
(7,309 Views)
Dave,
This should be fixed in the next release of LabVIEW.
Zvezdana S.
0 Kudos
Message 7 of 8
(7,309 Views)
This also doesn't work for me. While I see the first frame of the AVI file I load, there is no movement of the AVI while the VI indicates that it is being "played".

I spoke to NI support and they said this IS a WMP v9 related problem. They suggested that I downgrade to WMP v8.0; however, I can't find ANY reference point of the MS website from which WMP v8 can be downloaded.

Any body out there solved this? Any body have a download site for WMP v8? Mplayer2.exe is not an option for me as I wnat to be able to playback DVDs as well and MS has "pulled in" all of the prior resources for mplayer2.exe DVD codecs....
0 Kudos
Message 8 of 8
(7,262 Views)