Differences between revisions 2 and 3
Revision 2 as of 2008-12-30 05:35:58
Size: 820
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 12: 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.

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)