next up previous
Next: Device Glish Script Template Up: gbtGOglishScripts Previous: Introduction

Device Parameter Lists

The first step in creating a device setup glish script is to know what parameters are available to be set in the device manager. You can obtain a device parameter list using the following formula:

source /home/gbt/gbt.bash
glish -l getDeviceParameters.g
Note: If you are using a shell other than bash then you replace bash by csh or sh in the "source" line. Then once glish has started:
deviceInfo('XXX')
deviceInfo('XXX','filename')
The first deviceInfo() command sends the output to the terminal screen. The second deviceInfo() command will send the output to the desired filename. You should replace XXX with the desired device name. If you want the output to go to a specified file you should replace filename which the full path and filename of the desired output file.

deviceInfo() will list all parameters that an commissioner could be interested in setting (actually more than they typically need to set) except for the Spectral Processor. The Spectral Processor Manager does not yet conform to the Monitor and Control system standard for manager/sub-manager interactions. Anyone interested in creating a device setup glish script for the Spectral Processor should contact Toney Minter for further information.

Setup commands for all parameters should be included in the device setup glish script. Each parameter should be well documented with all possible legal values listed. Following these two instructions will allow previously accepted device setup glish scripts to act as a starting point for new device setup glish scripts.


next up previous
Next: Device Glish Script Template Up: gbtGOglishScripts Previous: Introduction
Bob Garwood 2011-07-25