07-05-2005 02:38 PM
07-05-2005 07:32 PM
07-06-2005 11:57 AM
07-06-2005 12:39 PM
08-22-2005 07:58 PM
08-23-2005 03:33 AM
I don't know if there is an another AX interface, but you can open a file in another application using the System Exec VI (Communication palette).
A more sophisticated approach can be found in LabVIEW\vi.lib\platform\Browser.llb\Open a Document on Disk.vi .
08-23-2005 07:46 AM
Please note that sometimes you only hear sound and don't see any video because the correct codec isn't installed?
If it works from within Mediaplayer (not using LabVIEW) then you're sure all the necessary codecs are installed.
08-23-2005 10:03 AM
08-23-2005 04:49 PM
08-23-2005 07:00 PM
Hi Scott,
I've solved a problem very similar to this using a rather sneaky workaround. Basically, the problem comes down to LabVIEW not being able to display ANY video from WMP in an ActiveX control. So, I embedded WMP in a webpage instead and then put the webpage (html) in an ActiveX control on the LabVIEW front panel. One drawback to this is that you cannot programmatically control the player directly from LabVIEW (though you can still click the controls that are part of the player embedded in the webpage). To get around this, I put some invisible html buttons tied to java script in the html code, that LabVIEW could then programmatically "click", giving the illusion that LabVIEW is controlling WMP directlly. I attached the zip below so that you can try it out, since it's way to complicated to describe in detail here.
This example uses only the regular WMP function (ie, no DVD), but you should be able to expand its functionality based on the information on MSDN: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmplay10/mmp_sdk/dvdobject.asp
Hope that helps!