LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview launch quicktime movie

I've never used LabVIEW to launch another program, but I'm needing LabVIEW to lanuch and play a quicktime movie... how would I go about this? I don't need it embedded in labview or anything like that (I've seen some example on here with embedded XML quicktime) I just need it to play the movie file with the default player (which is quicktime) maybe there's a way I could just point at the movie file and then my computer would automatically pop up the default player....

 

much thanks!

0 Kudos
Message 1 of 12
(3,770 Views)

You can just start up the program through the terminal.

Use 'SystemExec.VI'.

You can just pass in:

 

START *file* *application*

Cory K
0 Kudos
Message 2 of 12
(3,768 Views)

thanks for the resone, how do I do this?

 

I tried writing into the command line input of the SystemExec.VI

 

I created a string that was like this:


START *C://movies.samplemove.mov* *C://Quicktime/QuickTimePlayer.exe*

 

is this the correct syntaxt? the astriks?  it didn't do anything, I guess I'm writing it wrong.

 

Thanks!

0 Kudos
Message 3 of 12
(3,755 Views)

 


@Fibo wrote:

thanks for the resone, how do I do this?

 

I tried writing into the command line input of the SystemExec.VI

 

I created a string that was like this:


START *C://movies.samplemove.mov* *C://Quicktime/QuickTimePlayer.exe*

 

is this the correct syntaxt? the astriks?  it didn't do anything, I guess I'm writing it wrong.

 

Thanks!


 

I just put the asteriks in so you would see that those weren't literal.

Try this:

 

START c:\movies\samplemove.mov C:\Quicktime\QuickTimePlayer.exe

 

Just make sure your paths are correct, I just maintained the paths that you posted above, but make sure they are.

 

See here for correct sytnax

Cory K
0 Kudos
Message 4 of 12
(3,753 Views)

it's still not working, but I was able to do it through a batch file, so it must just be my syntax, I'll try getting labview to run the batch file... but I have a problem

 

I open quicktime, with the video loaded... but now I have to play it.....

 

is there a way to send a command to quicktime, through labview, that it should play the video that's loaded into it?

0 Kudos
Message 5 of 12
(3,740 Views)

With ActiveX you can play the video inside Labview.



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 6 of 12
(3,735 Views)

I tried this using a labview quicktime activeX thing I found online, but my video is huge and labview isn't able to play it back smoothly, I'm not familiar with ActiveX, can I use ActiveX to play it in quicktime? Is there anyway to send a "play" command to quicktime?

0 Kudos
Message 7 of 12
(3,730 Views)

Here's something I'm thinking but don't know how to execute... since toggling the spacebar while quicktime is selected plays/pauses the the quicktime video... is there a way to have labview select the quicktime player and then toggle the spacebar somehow?

0 Kudos
Message 8 of 12
(3,728 Views)

This is the basic setup for Labview using QT ActiveX controller

http://decibel.ni.com/content/docs/DOC-10581

You may test it, and see how it works

 



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 9 of 12
(3,700 Views)

I think it would be best if you embed the QT movie in your code rather than opening it externally.

Try out the solution Coq Rogue posted.

Once you have it embedded, you have a lot more control of the video.

Cory K
0 Kudos
Message 10 of 12
(3,695 Views)