04-04-2012 09:01 AM
Hi All,
I am calling a subvi from my main program, the subvi consists of a progress bar and a Media player, the sub vi will automatically execute when its called and the progress bar will start showing the progress, but the problem I am facing is that the Media player doesn't start . I want Media player to start and show the video when the sub vi is called.Is there a way to do that.Please let me know. attached is screenshot of the subvi.
Thanks,
Ankit
04-05-2012 04:45 AM
Hello Ankit,
I think the problem is of disabling the re-entrant execution.You must go to File>>VI properties>>Execution then enable reentrant execution.The problem can be solved.
Thanx.
04-05-2012 07:23 AM
Hi,
I have enabled the reentrant execution but still the problem remain, also i modify my sub vi a bit I want it to continue playing , but still i am getting the same problem. media player show its ready but doent play the video.
@danil33 wrote:
Hello Ankit,
I think the problem is of disabling the re-entrant execution.You must go to File>>VI properties>>Execution then enable reentrant execution.The problem can be solved.
Thanx.
04-05-2012 08:17 AM
Hello AnkitG,
you have to consider a fiew points to get the player showing your video file.
Hope, this helps,
04-05-2012 08:20 AM
Are the video file in the same folder as the vi? Else the path is incorrect and nothing can be played. Try with a full/fixed path or use a "Does file exist"-check.
/Y
04-05-2012 08:52 AM
This example works on my computer. Try it.