Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

I'm having problems with the NI demo code 'playing a movie in LV5'

I have downloaded the demo example code for playing a movie in LV5 (I have LV6) and find an error of 'property node: invalid property' and 'invoke node: invalid method' for each event structure. Am I missing something?
0 Kudos
Message 1 of 2
(2,875 Views)
Marisa,

This particular example requires Microsoft's ActiveMovie Control version 2, which is old and most likely not installed on your computer. I have attached a revised example that uses the Windows Media Player instead.

To use the Windows Media Player or another viewer (RealPlayer, QuickTime, etc.) in your application, simply right click on the front panel and place a ActiveX container. Then right click inside the container and insert an ActiveX object. You will see a list of all objects available on your machine. Choose the viewer that you would like to use. Later, when you create property nodes on the block diagram, LabVIEW will know which properties are valid for the object you are using.

Best Regards,

Brent Runnels
Applications Engineer
Natio
nal Instruments
0 Kudos
Message 2 of 2
(2,875 Views)