|
Size: 820
Comment:
|
Size: 821
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.
