LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with mediaplayer ActiveX

I tried to use the MS Mediaplayer to play an avi file!
To do so I used the AciveX control! It plays the videos just fine but somtimes it leaves image fragments of the player container behind! I dont know what kind of error this is! it doesn't happen everytime!
I'm posting the vi below so you may see what i did wrong!
I'm thankfull for any help!!
0 Kudos
Message 1 of 3
(2,787 Views)
On my computer works properly (even though I noticed the same effect after using Media Player in other situations not related to LV - check on MS site, maybe is their problem).
Anyway, as far as I know you shouldn't use Open and Close Reference in this case ("How Does ActiveX Server Automation Differ from ActiveX Controls?"-[http://digital.ni.com/public.nsf/websearch/53BAD0DF6128E846862568E7006E2DF7?opendocument&Submitted])
Hope this helps ... somehow
0 Kudos
Message 2 of 3
(2,787 Views)
at the very end of the reference calls, just before close the reference or exit the program, create an extra reference node that opens a avi file, but now, just wire empty string to it. i hope this works.

joe
0 Kudos
Message 3 of 3
(2,787 Views)