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