LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

I wan't to play a movie via directx labwindows OR cvi directx movie in Labwindows is there an example

When the movie starts I want to output a signal to the lpt port. The time between the start of the first frame of the movie and the puls on the lpt port may be maximum 10 mseconds.
0 Kudos
Message 1 of 2
(3,135 Views)
Are you sure that you want to play a DirectX clip or are you saying that you want to use ActiveX to play a movie inside of CVI?

I highly suggest doing the latter, because it is far easier. With CVI 6.0 you can even embed a Windows Media Player ActiveX control inside of your user interface to play the movie, and the WMP object interface does have several methods for retrieving current position and the like that you could use to figure out when to pulse your parallel port.

To find out more about using ActiveX controls inside of your UIRs in CVI 6.0 you can look at the example inside of your ...\measurement studio\cvi\samples\userint\activex.

Jason F.
Applications Engineer
National Instruments
www.ni.com/ask
0 Kudos
Message 2 of 2
(3,135 Views)