![Teledyne Dock Server Скачать руководство пользователя страница 193](http://html.mh-extra.com/html/teledyne/dock-server/dock-server_user-manual_1080796193.webp)
Revision 7.10
2/28/2012
Appendix B. Dock Server Factory Scripts
This appendix describes the Dock Server factory scripts delivered with a Dock Server
machine. These scripts reside in the directory /opt/gmc/factoryscripts. As mentioned
in section 4.4.1, the contents of this script directory may be changed by subsequent
Dock Server upgrades. All scripts a user wishes to preserve should be stored in the
directory /var/opt/gmc/scripts.
Appendix C presents a short guide to authoring custom Dock Server scripts.
sdbDockzr.xml
Each time a glider comes to the surface during a mission, this script transfers up to 30
SBD files to the Dock Server, transfers a specified MA file to the glider, directs the glider
to reread the MA, and finally directs the glider to resume its mission.
To change the .ma file sent to the glider, search for two occurrences of 'gotoTest.ma'
and replace with desired filename. Note this script expects this MA file to be in the
glider's 'toglider' folder on the Dock Server machine.
Note: This script only works with device types that support Carrier Detect – i.e.,
freewave wireless data transceivers and iridium modems.
This script is a good place to start when authoring a custom script that transfers files
between a glider in the water and the Dock Server.
sbdToDock.xml
Each time a glider comes to the surface during a mission, this script transfers up to the
latest 30 SBD files to the Dock Server. Once the files are transferred the script directs
the glider to resume its mission.
This script is a good place to start when authoring a custom script that transfers files
between a glider in the water and the Dock Server.
allfilesToDock.xml
Each time a glider comes to the surface during a mission, this script transfers up to the
latest 30 files of type DBD, MBD, SBD, MLG, and sys.log to the Dock Server. Once the
files are transferred the script directs the glider to resume its mission.
Page 193 of 228