This directory was accidentally omitted from the merge-release branch during the PSI code merge.
242 lines
10 KiB
XML
242 lines
10 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<?oxygen RNGSchema="http://www.oasis-open.org/docbook/xml/5.0/rng/docbook.rng" type="xml"?>
|
||
<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||
version="5.0">
|
||
<info><title>Sample environment configuration (Local contact only)</title><author>
|
||
<personname>Kirrily Rule</personname>
|
||
</author>
|
||
<date>2013-04-09 16:47</date>
|
||
</info>
|
||
<sect1>
|
||
<title>How to edit configuration files</title>
|
||
<para>On ics1-taipan, you'll be editing SICS configuration files so that SICS will load the
|
||
driver for a device. The editor is <command>vim</command>. This process will be done
|
||
through a graphical interface in the future. </para>
|
||
<variablelist>
|
||
<title><command>vim</command> commands</title>
|
||
<varlistentry>
|
||
<term><command>:colorscheme ron </command></term>
|
||
<listitem>
|
||
<para>Change the color scheme. This make editing easier</para>
|
||
</listitem>
|
||
</varlistentry>
|
||
<varlistentry>
|
||
<term><command>/tasub</command></term>
|
||
<listitem>
|
||
<para> This searches for the string “tasub” </para>
|
||
</listitem>
|
||
</varlistentry>
|
||
<varlistentry>
|
||
<term>i</term>
|
||
<listitem>
|
||
<para>insert mode. Add text.</para>
|
||
</listitem>
|
||
</varlistentry>
|
||
<varlistentry>
|
||
<term>r</term>
|
||
<listitem>
|
||
<para>replace. Replace a character.</para>
|
||
</listitem>
|
||
</varlistentry>
|
||
<varlistentry>
|
||
<term>x</term>
|
||
<listitem>
|
||
<para> delete</para>
|
||
</listitem>
|
||
</varlistentry>
|
||
<varlistentry>
|
||
<term>ESC key</term>
|
||
<listitem>
|
||
<para> escape out of the current mode</para>
|
||
</listitem>
|
||
</varlistentry>
|
||
</variablelist>
|
||
</sect1>
|
||
<sect1>
|
||
<title>Lakeshore 340 configuration</title>
|
||
<para>When using the Lakeshore 340, various things need to be changed in the
|
||
configuration files. This should only be done by the local contact.</para>
|
||
<orderedlist>
|
||
<listitem>
|
||
<para>> cd /usr/local/nbi/sics/taipan/</para>
|
||
</listitem>
|
||
<listitem>
|
||
<para>> vim extraconfig.tcl</para>
|
||
</listitem>
|
||
<listitem>
|
||
<para> Remove both the # in the following four lines </para>
|
||
<para>#catch </para>
|
||
<para>#add_sct_… </para>
|
||
<para># hsetprop </para>
|
||
<para>#}msg </para>
|
||
</listitem>
|
||
<listitem>
|
||
<para>Save and quit by typing <command>:wq</command>
|
||
</para>
|
||
</listitem>
|
||
<listitem>
|
||
<para><command>> runsics stop</command></para>
|
||
</listitem>
|
||
<listitem>
|
||
<para><command>> runsics start</command></para>
|
||
</listitem>
|
||
</orderedlist>
|
||
</sect1>
|
||
<sect1>
|
||
<title>High voltage configuration</title>
|
||
<para>When using the High voltage setup, various things need to be changed in the
|
||
configuration files. This should only be done by the local contact.</para>
|
||
<orderedlist>
|
||
<listitem>
|
||
<para>> cd /usr/local/nbi/sics/taipan/</para>
|
||
</listitem>
|
||
<listitem>
|
||
<para>> vim extraconfig.tcl</para>
|
||
</listitem>
|
||
<listitem>
|
||
<para> Remove both the # in the four lines </para>
|
||
<para># Make AsyncP… </para>
|
||
<para># Make AsyncP… </para>
|
||
<para># pulser delay </para>
|
||
<para># pulser timeout </para>
|
||
</listitem>
|
||
<listitem>
|
||
<para>Save and quit by typing <command>:wq</command>
|
||
</para>
|
||
</listitem>
|
||
<listitem>
|
||
<para>Make sure that the IP on the function generator is set to the following:
|
||
137.157.203.149 </para>
|
||
</listitem>
|
||
<listitem>
|
||
<para>Get an electrician such as Dan Bartlett to confirm the setup is safe!
|
||
</para>
|
||
</listitem>
|
||
<listitem>
|
||
<para><command>> runsics stop</command></para>
|
||
</listitem>
|
||
<listitem>
|
||
<para><command>> runsics start</command></para>
|
||
</listitem>
|
||
</orderedlist>
|
||
</sect1>
|
||
<sect1>
|
||
<title>12T magnet configuration</title>
|
||
<para>When using the 12T magnet, various things need to be changed in the configuration
|
||
files. This should only be done by the local contact. </para>
|
||
<orderedlist>
|
||
<listitem>
|
||
<para>Turn on the magnet laptop – check that the Ethernet cable and grey cable
|
||
are connected. </para>
|
||
</listitem>
|
||
<listitem>
|
||
<para>Click on “SICS oxford instruments” to bring up the front panel. </para>
|
||
</listitem>
|
||
<listitem>
|
||
<para>Click on ITC503 Front Panel </para>
|
||
</listitem>
|
||
<listitem>
|
||
<para>open a Putty terminal</para>
|
||
</listitem>
|
||
<listitem>
|
||
<para>> cd /usr/local/nbi/sics/taipan/server </para>
|
||
</listitem>
|
||
<listitem>
|
||
<para>> sudo vim taipan_configuration.tcl </para>
|
||
</listitem>
|
||
<listitem>
|
||
<para>On line 59, remove the # from # fileeval ../aerotech.tcl </para>
|
||
</listitem>
|
||
<listitem>
|
||
<para>On line 61 is s1 in the TASUB command. Change this to vs1. </para>
|
||
</listitem>
|
||
<listitem>
|
||
<para>Save and quit by typing <command>:wq</command>
|
||
</para>
|
||
<para>If you made a mistake, quit without changing by typing
|
||
<command>:q!</command> and start again.</para>
|
||
</listitem>
|
||
<listitem>
|
||
<para>> cd config/motors/ </para>
|
||
</listitem>
|
||
<listitem>
|
||
<para>> sudo vim motor_configuration.tcl </para>
|
||
</listitem>
|
||
<listitem>
|
||
<para><command>/magnet</command>
|
||
</para>
|
||
<para>Search for the string “magnet” </para>
|
||
</listitem>
|
||
<listitem>
|
||
<para>The following {0} should change to {1} for the magnet: </para>
|
||
<para>If {0}{</para>
|
||
<para> # Convert magnet angle to s1 angle </para>
|
||
<para> VarMake vs1speed float user </para>
|
||
<para> vs1speed 1 </para>
|
||
<para> … </para>
|
||
<para> } } </para>
|
||
</listitem>
|
||
<listitem>
|
||
<para>Save and quit by typing <command>:wq</command>
|
||
</para>
|
||
</listitem>
|
||
<listitem>
|
||
<para>> cd /usr/local/nbi/sics/taipan/</para>
|
||
</listitem>
|
||
<listitem>
|
||
<para>> vim extraconfig.tcl</para>
|
||
</listitem>
|
||
<listitem>
|
||
<para>#--------------- </para>
|
||
<para># 12T magnet </para>
|
||
<para>#--------------- </para>
|
||
<para>Remove the # in the following lines (choose which temp controller method
|
||
you require – running with the Mercury, or as Legacy mode) </para>
|
||
<para>#add_oxford_magnet "magnetic" 137.157.203.153 </para>
|
||
<para>#add_oxford_mercury "tc9" 137.157.203.151 7020 2.0 "\r" </para>
|
||
<para>#add_itc500 tc1 137.157.203.151 7020 2.0 "@8" This is for running in
|
||
Legacy Mode (to look like ITC500) </para>
|
||
</listitem>
|
||
<listitem>
|
||
<para>Save and quit by typing <command>:wq</command>
|
||
</para>
|
||
</listitem>
|
||
<listitem>
|
||
<para><command>> runsics stop</command></para>
|
||
</listitem>
|
||
<listitem>
|
||
<para><command>> runsics start</command></para>
|
||
</listitem>
|
||
</orderedlist>
|
||
</sect1>
|
||
<sect1>
|
||
<title><superscript>3</superscript>He configuration</title>
|
||
<para>When using the <superscript>3</superscript>He setup, various things need to be
|
||
changed in the configuration files. This should only be done by the local contact.</para>
|
||
<para>When using the <superscript>3</superscript>He setup, you need to switch to the
|
||
appropriate speeds and accelerations for the elongated instrument. To do this, in
|
||
the PuTTy window, go to </para>
|
||
<orderedlist>
|
||
<listitem>
|
||
<para>> cd /usr/local/nbi/sics/taipan/</para>
|
||
</listitem>
|
||
<listitem>
|
||
<para>> vim taipan_setup.txt</para>
|
||
</listitem>
|
||
<listitem>
|
||
<para>Change the 0 to 1 to turn on this file </para>
|
||
</listitem>
|
||
<listitem>
|
||
<para>Save and quit by typing <command>:wq</command>
|
||
</para>
|
||
</listitem>
|
||
<listitem>
|
||
<para><command>> runsics stop</command></para>
|
||
</listitem>
|
||
<listitem>
|
||
<para><command>> runsics start</command></para>
|
||
</listitem>
|
||
</orderedlist>
|
||
</sect1>
|
||
</chapter>
|