110 likes | 210 Views
Automatic Emergency Document Updating Project. By Davis Hsu. Why is it important to have the Emergency Document automatically updated?. The Emergency Document provides the important documentation on the systems of ICCS-155 including the emergency procedures.
E N D
Automatic Emergency Document Updating Project By Davis Hsu
Why is it important to have the Emergency Document automatically updated? The Emergency Document provides the important documentation on the systems of ICCS-155 including the emergency procedures. It is necessary to have the most up to date document prepared for tech staff in the case of emergency.
What does this project do? • It updates the Emergency Document constantly. • It generates PDF version of the document for cross platform portability. • It notifies tech staff whether it is updated successfully.
Visual Basic - ConvertTKFile.vb - GenEmergtables.vb • Perl - Genlist.pl - SendNotice.pl • Configuration file • Batch file What does this project consist of?
Problems Encountered • Choice of programming languages - Intended to find a language that can do all the work (MS Applications + Text Processing) • Config File - Avoids hard coding paths into the scripts/programs. - Resolve the issue of having to re-compile on program changes.
Problems Encountered Con’t • Scheduled task - Current Directory Function in the scripts returns the location of the scheduler instead of the location of the script - the scheduler seems to lack the environment to create a Microsoft application object
Alternative Solution • Edit the XML code within Word document instead of updating the file using MS Office which avoid the use of VB and MS Application. • Only one programming language (Perl) involved and can be run in UNIX environment. • Can use UNIX CRON instead of Microsoft Scheduled Task. • However, it might not work on future versions/updates of Microsoft Office.
Conclusion Overall, the development of “The Automatic Emergency Document Updating Project” will be used to update the Emergency Document. In turn, I hope that this will be a stepping stone so that in the near future other co-op students are able to use this project as a reference for further improvement.
THE END Thank You!