PageRenderTime 22ms CodeModel.GetById 14ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/scripts/horusStartTest

http://github.com/Yniold/liftsrc
Shell | 29 lines | 25 code | 2 blank | 2 comment | 1 complexity | 6480c93180a0b49d8dff04dec3ea060f MD5 | raw file
 1#!/bin/sh
 2if pidof spectrometerServer > /dev/null ; then
 3  echo "Spectrometer Server already running"
 4else
 5  xterm +wf -geometry 131x3+316+164 -title 'spectrometer' -e nice spectrometerServer &
 6fi
 7
 8mke2fs /dev/ram0
 9mount /dev/ram0 /lift/ramdisk
10cd /lift
11xterm +wf -geometry 50x55+0+0 -title 'DebugMon' -e 'nice debugMon 1300' &
12sleep 2
13xterm +wf -geometry 456x26+316+239 -title 'elekStatus' -e nice elekStatus &
14# start parameter of etalon : <online position> <offline step left&right> <dither step> 
15xterm +wf -geometry 40x10+574+0 -title 'etalon' -e etalon 20000 1000 32  &
16xterm +wf -geometry 40x10+830+0 -title 'Mirror' -e nice mirrors  &
17xterm +wf -geometry 40x10+316+0 -title 'elekIOServ' -e nice -n-15 elekIOServ m &
18
19sleep 3
20echo set etalon online to 20000
21eCmd @lift s etalononline 20000
22echo set etalon offline step to 1000
23eCmd @Lift s etalonofflineleft 1000
24eCmd @Lift s etalonofflineright 1000
25echo set ditherstep to 16
26eCmd @lift s etalondither 16
27eCmd @Lift s etalonhome
28GateSet
29echo done