Dear stevi,
your are right. In my test the slideshow VI was closing PPT when the VI changes from running to edit mode when it was ready. If I let the VI run PPT was not closed. The reason is that three references will be opened. 1 for the application, 2 for presentations 3 for the document itself. The example closes only reference 3 and I said to you to close reference 1. Reference 2 was open so PPT would not stop.
I have corrected this. Also I made three VIs handling the sheduled task. Start_PPT_Shedule will start a VI handling the shedule for the presentation. Abort_PPT_Shedule will stop the shedule for the presentation. Shedule_PPT will start PPT regularily. Since the last VI will go to sl
eep using the "Wait until next ms multiple" function you need to abort the VI.
You can enhance this in several ways. You can do detailed error checking. You can add controls for time and path to Shedule_PPT and set them in Start_PPT_Shedule with "Set control Value" before the "Run VI". You can add synchronisation to avoid aborting during the presentation using a functional global.
Waldemar
Waldemar
Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions