From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-19-2005 02:54 PM
07-20-2005 03:00 AM
How about using the Quit Application VI?
You will have to get the window name in order to close the application, but you will need to that anyway. You can use the other VIs to do this (Get Task List and so on).
Other options would be to use ActiveX, either embedded in the front panel (AX container) or called externally.
07-20-2005 02:00 PM
Yes, my idea is to use the Quit Application.vi but the problem for me is to calculate when the file I select time by time finish its reproduction. In other words I need to know when the AVI or MPEG finish playing
Thanks, Massimo Visintin
07-21-2005 01:50 AM
Well, the only ways I can think of are either to connect to the WMP window somehow and extract the information or read the file yourself to see how long it is. I'm sure they're both possible, but I don't know how to do them.
How about my other suggestion of using ActiveX?
07-21-2005 12:56 PM
Thanks for your suggestion. I think I will put the time of file manually, for the moment.
About using ActiveX, I don'like to use it, I prefer to open windows Media Palyer on the second monitor.
Thanks.