LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Playing video in labview with some basic information output for my program.

I'm trying to program something similar to NI's product DIAdem CLIP in LabVIEW.  A program that synchronizes test data with video.  I'm trying to find a decent video component that gives me basic information about what is being played.

My first thought is to use Windows Media Player 10 w/ LabVIEW ActiveX container.  I'm a little confussed as to what I'm doing with it, however.  I can't find any information about Windows Media Player 10 in the Class Browser.

All I really need is:

Input:
1. The file for the embedded media player to play.

Output:
1. The framerate of the file being played.
2. The current frame.

I think with that I should be able to put a marker in my data graphs that indicates where that data correlates with the playing video.

Thank you for your input!
-Nic
0 Kudos
Message 1 of 3
(2,515 Views)
Your best source of information regarding the Windows Media Player object model is MSDN. I've only done a little bit of playing with Windows Media embedded in LabVIEW, but enough to know it was a pain and not worth the effort. NI has a KnowledgeBase article that indicates you will probably need LV8. In terms of your specific query regarding position, you should take a look at the "Controls" object in the object model, as that has properties I think you're going to need.
0 Kudos
Message 2 of 3
(2,501 Views)
Thank you for your reply.  I think you've found what I was looking for over at the MSDN web site.  We currently have LabVIEW 8 so I guess I will find out how well this works.

Thanks again,
-nickerbocker
0 Kudos
Message 3 of 3
(2,492 Views)