4-Circle

Starting from scratch, we have to begin with preparing the diffractometer server. Use Jive, Edit, Create Server.

Figure 8.1: Jive: Create Diffractometer Server
Image diff_jiveCreateDiffractometer

The server needs properties (the motor names are just an example):

Figure 8.2: Jive: Diffractometer Properties
Image diff_jiveDiffractometerProperties

The class PseudoAxis has to be added to the server by right-clicking PETRA-3 (of ds_Diffractometer) and selecting 'Add Class'.

Figure 8.3: Jive: Create PseudoAxis
Image diff_jiveCreatePseudoAxis

The newly created devices need these properties.

 
p07/e4c/diffrac-h
  DiffractometerProxy p07/e4cv/diffrac
  PseudoAxisName h
p07/e4c/diffrac-k
  DiffractometerProxy p07/e4cv/diffrac
  PseudoAxisName k
p07/e4c/diffrac-l
  DiffractometerProxy p07/e4cv/diffrac
  PseudoAxisName l

Figure 8.4: Jive: PseudoAxis Properties, h, E4C
Image diff_jivePseudoAxesPropHE4C

Figure 8.5: Jive: PseudoAxes Properties, hkl, E4C
Image diff_jivePseudoAxesPropHklE4C

Figure 8.6: Jive: PseudoAxes Properties, Psi, E4C
Image diff_jivePseudoAxesPropPsiE4C

Figure 8.7: Jive: PseudoAxes Properties, q, E4C
Image diff_jivePseudoAxesPropQE4C

The diffractometer server is running now. Before we can operate it with the SOLEIL-GUI, Online or Spock we have to create a new crystal (UB matrix) using Jive. The command AddNewCrystal is executed with the argument "Cr1" on the diffractometer server and the attribute Crystal is set to "Cr1".

Online needs a reference to the diffractometer server. For this the following lines have to be copied to /online_dir/online.xml. The name "dffrctmtr" is fixed, the Tango device name "p09/e4c/diffrac" and the hostname have to be selected accordingly.

<hw>
... other devices
<device>
    <name>dffrctmtr</name> 
    <type>diffractometer</type> 
    <module>e4c</module>
    <device>p07/e4cv/diffrac</device> 
    <control>tango</control> 
    <hostname>hasgksspp07XXX:10000</hostname>
</device>
</hw>