LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

probleme activeX windows media player

Hi,

I use labview version 6.
For my application, I want to control a avi movie (play and pause).
So,I use a ActiveX Container with mediaplayer2.
But when,i notify the video filename and the current position,i play my video with a controller node (play)
But when i start my application (the two arrows),the video doesn't start but a black image flicks.
I think that the program start windows media player all the time, so the movie start all time but the movie doesn't run.
Can you help me please? i want to paly and pause my video
0 Kudos
Message 1 of 2
(2,892 Views)
Hello Nerfox,

Thank you for contacting National Instruments.

I was not able to reproduce your error. To prevent your video from playing automatically, insert a stop invoke node after loading the file. I have attached a simple VI which will play and pause a movie clip with Windows Media Player.

If this does not help you fix your problem, I would be glad to take a look at your code.

Sean C.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,892 Views)