next up previous contents 5
Next: Adding New Scripted Operations Up: Adding Scripts to the Previous: Adding Scripts to the   Contents


Adding New Scripted Devices

This section describes the procedure for creating a new scripted device.

  1. Create an entry in the database.dat file for the new device as described in Pseudo Motor Entry.

  2. Create the new device file in the dcss devices directory: dcss/scripts/devices

    The file name should be the name of the new device (as listed in the database.dat file) with a .tcl extension. For example, the table_vert scripted device should have a file table_vert.tcl within the devices directory.

  3. Within the new scripted device file define 5 TCL procedures, where deviceName is replaced by the name of the new scripted device.

  4. Restart DCSS.


next up previous contents 5
Next: Adding New Scripted Operations Up: Adding Scripts to the Previous: Adding Scripts to the   Contents
Scott McPhillips 2011-07-06