next up previous contents 5
Next: Children and Parents Up: Writing Scripted Devices and Previous: Obtaining operation results   Contents


Scripted Device Family Relationships

A scripted device must describe its relationship to other devices directly within its script. This is achieved using three commands: Device relationships are explicitly written within the scripts for the devices by using the following commands:

These commands should be issued from within the deviceName_initialize procedure as described in Adding Scripted Devices.

Figure 2 shows a typical example of several real motors being described by several pseudo motors. In this example, table_vert and table_pitch are parents of table_vert_1 and table_vert_2. The parent motors table_vert and table_pitch are siblings (a.k.a joint custody parents).

Figure 2: Children and Parent Motor Device
\begin{figure}\epsfig{file=childrenMotorExample.eps,width=4in}
\end{figure}



Subsections
next up previous contents 5
Next: Children and Parents Up: Writing Scripted Devices and Previous: Obtaining operation results   Contents
Scott McPhillips 2011-07-06