Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2008-12-30 05:33:28
Size: 713
Editor: YoichiAso
Comment:
Revision 3 as of 2008-12-30 05:36:06
Size: 821
Editor: YoichiAso
Comment:
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:

A cron job runs on nodus calling the above scripts.
Line 10: Line 12:
To change/add MEDM screens to be captured, modify /cvs/cds/caltech/statScreen/etc/medmScreens.txt To change/add MEDM screens to be captured, modify /cvs/cds/caltech/statScreen/etc/medmScreens.txt.
Empty lines and lines starting with # are ignored.

Taking screen shots in the background

/cvs/cds/caltech/statScreen/bin/captureScreen.sh takes a screen shot of an X application and saves the image to /cvs/cds/caltech/statScreen/images/. This script does not require a physical display.

For MEDM screens, there is a wrapper script grabMEDMScreens.sh. It takes a list of *.adl files as an argument and capture the images of those screens.

A cron job runs on nodus calling the above scripts. The cron actually runs cronjob.sh, which calls grabMEDMScreens.sh with /cvs/cds/caltech/statScreen/etc/medmScreens.txt as the argument. This job will generate images in /cvs/cds/caltech/statScreen/images/. To change/add MEDM screens to be captured, modify /cvs/cds/caltech/statScreen/etc/medmScreens.txt. Empty lines and lines starting with # are ignored.

Computers_and_Scripts/statScreen (last edited 2012-01-03 23:02:43 by localhost)