From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

windows media player black when called

Solved!
Go to solution

Hi, 

 

I'm trying to display a simple splash screen using windows media player.  

 

I can run a wml video no problem in the attached vi but when I try to call it, (Show front panel when called), I only see a black screen, (the video doe not show).

 

Does anyone know what I have done wrong?

 

Rgds,

Seán

0 Kudos
Message 1 of 7
(3,534 Views)

Hi SeanJ,

 

attached a working version.

 

blub.png

best regards
Alexander
Message 2 of 7
(3,442 Views)

Hi Duffy,

 

Thanks for the feedback, it worked first go but then failed to work following that.

 

I still get  a black screen when it is called.

 

Rgds,

Seán

0 Kudos
Message 3 of 7
(3,440 Views)

Hello SeanJ,

how do you call the vi as a subvi in another or with the vi server functions. In my tests i used th vi as a subvi in another. Have you tried different videos?                       

best regards
Alexander
0 Kudos
Message 4 of 7
(3,424 Views)
Solution
Accepted by SeanJ

Hello SeanJ,

my caller vi

asdf.png

best regards
Alexander
Download All
Message 5 of 7
(3,402 Views)

Many thanks Duffy, any idea why call by reference works and not calling a subvi?

 

Rgds,

Seán

0 Kudos
Message 6 of 7
(3,356 Views)

Alexander,

 

This works great...the first time.  The issue I am having is trying to run this video again.  The screen stays black.  The Active X window needs to be reloaded to a brand new reference each time. (MP4 Video)

 

Any thoughts?

 

Andrew

0 Kudos
Message 7 of 7
(2,905 Views)