Discussion:
How do I open Windows Media Player 11 in a new window via labview 8.5 using ActiveX
(too old to reply)
oco
17 years ago
Permalink
Hello,
 
Although familiar with Labview, I am new to the ActiveX Controls. I have managed to open and play movie files in Labview with ActiveX controls but the player is embedded in Labview's front panel. How can I control what file is played and when it starts in Labview but have Windows media player 11 open in a separate window.
Additionally, where can I find a description of the ActiveX properties.
 
Thank you
Wiebe@CARYA
17 years ago
Permalink
Post by oco
Although familiar with Labview, I am new to the ActiveX
Controls. I have managed to open and play movie files in Labview with
ActiveX controls but the player is embedded in Labview's front panel. How
can I control what file is played and when it starts in Labview but
have Windows media player 11 open in a separate window.

ActiveX wasn't ment to be used that way, and I don't think you can use it
like that. Perhaps if you open an automation reference (instead of an
ActiveX control) you have an option to open a windows, but I don't think
so...
Post by oco
Additionally, where can I find a description of the ActiveX properties.
There is not one place to find ActiveX descriptions, since they depend on
the maker of the component. For Windows Media Player, I'd try the MSDN, but
usually the examples are in C/C++/C# or VB. Never in LabVIEW... The hardest
part is converting the sample code to LabVIEW.

Regards,

Wiebe.
Wiebe@CARYA
17 years ago
Permalink
He has movie files, not music files. But same applies.

I had some great experiences with mplayer. I had the mplayer running movies
in a VI's front panel without any problem. Just something you (oco) might
look into.

Regards,

Wiebe.

Loading...