]> jspc29.x-matter.uni-frankfurt.de Git - hadesdaq.git/commitdiff
Changed MDC LV switch scripts to EPICS
authorhadaq <jan@lxhadeb07>
Fri, 29 Mar 2019 09:40:24 +0000 (10:40 +0100)
committerhadaq <jan@lxhadeb07>
Fri, 29 Mar 2019 09:40:24 +0000 (10:40 +0100)
24 files changed:
control/mdcLVgui/S0/200x
control/mdcLVgui/S0/210x
control/mdcLVgui/S0/220x
control/mdcLVgui/S0/230x
control/mdcLVgui/S1/201x
control/mdcLVgui/S1/211x
control/mdcLVgui/S1/221x
control/mdcLVgui/S1/231x
control/mdcLVgui/S2/202x
control/mdcLVgui/S2/212x
control/mdcLVgui/S2/222x
control/mdcLVgui/S2/232x
control/mdcLVgui/S3/203x
control/mdcLVgui/S3/213x
control/mdcLVgui/S3/223x
control/mdcLVgui/S3/233x
control/mdcLVgui/S4/204x
control/mdcLVgui/S4/214x
control/mdcLVgui/S4/224x
control/mdcLVgui/S4/234x
control/mdcLVgui/S5/205x
control/mdcLVgui/S5/215x
control/mdcLVgui/S5/225x
control/mdcLVgui/S5/235x

index 249e643858e25f23c998e74d6fb89854934c6972..6fa5cb224364610313b8fb956eef0960ffa95a83 100755 (executable)
@@ -1,4 +1,15 @@
-#!/bin/bash
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3AA5E702000000A4 1'"
-sleep 5
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3AA5E702000000A4 0'"
+#!/bin/bash 
+#set -xv 
+
+xterm  -e bash --login -c  '
+  ssh hadaq@lxhadesdaqp "
+  source /home/hadaq/.bash_profile        
+  #set -xv
+( which epics >/dev/null 2>&1 && . epics -q ) || export EPICS_BASE=/home/hadaq/EPICS/EPICS-3.15.6/base/
+PERLLIB=\${EPICS_BASE}lib/perl:~/trbsoft/hadesdaq/nettools:~/trbsoft/daqtools/perllibs
+
+cd ~/trbsoft/hadesdaq/utils && MDC_Powercycle_2PSx.pl -P 1 -S 1
+
+  sleep 1
+"
+'
index 46f2eb79c20b2813a1a1c7569f519a6346cc4381..c176bebfad056ffba88e1d71688515c955aa92d5 100755 (executable)
@@ -1,4 +1,15 @@
-#!/bin/bash
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3A14E3020000008B 1'"
-sleep 5
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3A14E3020000008B 0'"
+#!/bin/bash 
+#set -xv 
+
+xterm  -e bash --login -c  '
+  ssh hadaq@lxhadesdaqp "
+  source /home/hadaq/.bash_profile        
+  #set -xv
+( which epics >/dev/null 2>&1 && . epics -q ) || export EPICS_BASE=/home/hadaq/EPICS/EPICS-3.15.6/base/
+PERLLIB=\${EPICS_BASE}lib/perl:~/trbsoft/hadesdaq/nettools:~/trbsoft/daqtools/perllibs
+
+cd ~/trbsoft/hadesdaq/utils && MDC_Powercycle_2PSx.pl -P 2 -S 1
+
+  sleep 1
+"
+'
index 422f613d592983cbdf15801a63c44a5912f914ce..4833f8ac0257eb4217cc94d507ebebdb56caa174 100755 (executable)
@@ -1,5 +1,15 @@
-#!/bin/bash
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3A5CDB02000000E5 1'"
-sleep 5
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3A5CDB02000000E5 0'"
+#!/bin/bash 
+#set -xv 
 
+xterm  -e bash --login -c  '
+  ssh hadaq@lxhadesdaqp "
+  source /home/hadaq/.bash_profile        
+  #set -xv
+( which epics >/dev/null 2>&1 && . epics -q ) || export EPICS_BASE=/home/hadaq/EPICS/EPICS-3.15.6/base/
+PERLLIB=\${EPICS_BASE}lib/perl:~/trbsoft/hadesdaq/nettools:~/trbsoft/daqtools/perllibs
+
+cd ~/trbsoft/hadesdaq/utils && MDC_Powercycle_2PSx.pl -P 3 -S 1
+
+  sleep 1
+"
+'
index 3400905d9e22a884636a36da05850035e75933ab..05857d8475c7cb64f2c83baa66e28ede71403cef 100755 (executable)
@@ -1,6 +1,15 @@
-#!/bin/bash
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3ABEF0020000002A 1'"
-sleep 5
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3ABEF0020000002A 0'"
+#!/bin/bash 
+#set -xv 
 
+xterm  -e bash --login -c  '
+  ssh hadaq@lxhadesdaqp "
+  source /home/hadaq/.bash_profile        
+  #set -xv
+( which epics >/dev/null 2>&1 && . epics -q ) || export EPICS_BASE=/home/hadaq/EPICS/EPICS-3.15.6/base/
+PERLLIB=\${EPICS_BASE}lib/perl:~/trbsoft/hadesdaq/nettools:~/trbsoft/daqtools/perllibs
 
+cd ~/trbsoft/hadesdaq/utils && MDC_Powercycle_2PSx.pl -P 4 -S 1
+
+  sleep 1
+"
+'
index 3799388ffb3119765f298b3840653a5dbdb2fa09..f167e3ffeb398ee29fc21ea396f4cbf246067e62 100755 (executable)
@@ -1,4 +1,15 @@
-#!/bin/bash
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3AA5E702000000A4 2'"
-sleep 5
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3AA5E702000000A4 0'"
\ No newline at end of file
+#!/bin/bash 
+#set -xv 
+
+xterm  -e bash --login -c  '
+  ssh hadaq@lxhadesdaqp "
+  source /home/hadaq/.bash_profile        
+  #set -xv
+( which epics >/dev/null 2>&1 && . epics -q ) || export EPICS_BASE=/home/hadaq/EPICS/EPICS-3.15.6/base/
+PERLLIB=\${EPICS_BASE}lib/perl:~/trbsoft/hadesdaq/nettools:~/trbsoft/daqtools/perllibs
+
+cd ~/trbsoft/hadesdaq/utils && MDC_Powercycle_2PSx.pl -P 1 -S 2
+
+  sleep 1
+"
+'
index ee55a3c0783b7c34b8a1887768d96cdd3134458f..51f73a763dfc25bfb443c82dfcb39e869b26bd72 100755 (executable)
@@ -1,4 +1,15 @@
-#!/bin/bash
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3A14E3020000008B 2'"
-sleep 5
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3A14E3020000008B 0'"
+#!/bin/bash 
+#set -xv 
+
+xterm  -e bash --login -c  '
+  ssh hadaq@lxhadesdaqp "
+  source /home/hadaq/.bash_profile        
+  #set -xv
+( which epics >/dev/null 2>&1 && . epics -q ) || export EPICS_BASE=/home/hadaq/EPICS/EPICS-3.15.6/base/
+PERLLIB=\${EPICS_BASE}lib/perl:~/trbsoft/hadesdaq/nettools:~/trbsoft/daqtools/perllibs
+
+cd ~/trbsoft/hadesdaq/utils && MDC_Powercycle_2PSx.pl -P 2 -S 2
+
+  sleep 1
+"
+'
index b81ec71e4f243a5ef0f20c5dba26e965e5cd142e..b4381647b364eb9b609530febfab333e746bfe81 100755 (executable)
@@ -1,5 +1,15 @@
-#!/bin/bash
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3A5CDB02000000E5 2'"
-sleep 5
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3A5CDB02000000E5 0'"
+#!/bin/bash 
+#set -xv 
 
+xterm  -e bash --login -c  '
+  ssh hadaq@lxhadesdaqp "
+  source /home/hadaq/.bash_profile        
+  #set -xv
+( which epics >/dev/null 2>&1 && . epics -q ) || export EPICS_BASE=/home/hadaq/EPICS/EPICS-3.15.6/base/
+PERLLIB=\${EPICS_BASE}lib/perl:~/trbsoft/hadesdaq/nettools:~/trbsoft/daqtools/perllibs
+
+cd ~/trbsoft/hadesdaq/utils && MDC_Powercycle_2PSx.pl -P 3 -S 2
+
+  sleep 1
+"
+'
index 6d24b1ec8f986d68e6e3112a1cdf92a7ce5ab3e2..982114f2aad39e2ca0890514911d02569e1f4093 100755 (executable)
@@ -1,6 +1,15 @@
-#!/bin/bash
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3ABEF0020000002A 2'"
-sleep 5
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3ABEF0020000002A 0'"
+#!/bin/bash 
+#set -xv 
 
+xterm  -e bash --login -c  '
+  ssh hadaq@lxhadesdaqp "
+  source /home/hadaq/.bash_profile        
+  #set -xv
+( which epics >/dev/null 2>&1 && . epics -q ) || export EPICS_BASE=/home/hadaq/EPICS/EPICS-3.15.6/base/
+PERLLIB=\${EPICS_BASE}lib/perl:~/trbsoft/hadesdaq/nettools:~/trbsoft/daqtools/perllibs
 
+cd ~/trbsoft/hadesdaq/utils && MDC_Powercycle_2PSx.pl -P 4 -S 2
+
+  sleep 1
+"
+'
index 387e6c1e587f1b3ec4d972ca85226a96eec59804..ced9b87a913d146b724b2dc3b5cd421af5e4a340 100755 (executable)
@@ -1,4 +1,15 @@
-#!/bin/bash
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3A11DA0200000017 1'"
-sleep 5
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3A11DA0200000017 0'"
\ No newline at end of file
+#!/bin/bash 
+#set -xv 
+
+xterm  -e bash --login -c  '
+  ssh hadaq@lxhadesdaqp "
+  source /home/hadaq/.bash_profile        
+  #set -xv
+( which epics >/dev/null 2>&1 && . epics -q ) || export EPICS_BASE=/home/hadaq/EPICS/EPICS-3.15.6/base/
+PERLLIB=\${EPICS_BASE}lib/perl:~/trbsoft/hadesdaq/nettools:~/trbsoft/daqtools/perllibs
+
+cd ~/trbsoft/hadesdaq/utils && MDC_Powercycle_2PSx.pl -P 1 -S 3
+
+  sleep 1
+"
+'
index a4896e33cc83e45549b38293e257f8a46e8e10dd..271dc51d538ce1eb71048a7160d1ed25ec3e4fdf 100755 (executable)
@@ -1,4 +1,15 @@
-#!/bin/bash
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3A3AD90200000017 1'"
-sleep 5
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3A3AD90200000017 0'"
+#!/bin/bash 
+#set -xv 
+
+xterm  -e bash --login -c  '
+  ssh hadaq@lxhadesdaqp "
+  source /home/hadaq/.bash_profile        
+  #set -xv
+( which epics >/dev/null 2>&1 && . epics -q ) || export EPICS_BASE=/home/hadaq/EPICS/EPICS-3.15.6/base/
+PERLLIB=\${EPICS_BASE}lib/perl:~/trbsoft/hadesdaq/nettools:~/trbsoft/daqtools/perllibs
+
+cd ~/trbsoft/hadesdaq/utils && MDC_Powercycle_2PSx.pl -P 2 -S 3
+
+  sleep 1
+"
+'
index f0affe5960ba7eeac4b9281f8cd6962b3b95f065..10100eb8ce26bfaa0e2b723b2159c254c05b4bb0 100755 (executable)
@@ -1,5 +1,15 @@
-#!/bin/bash
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3A05E5020000007B 1'"
-sleep 5
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3A05E5020000007B 0'"
+#!/bin/bash 
+#set -xv 
 
+xterm  -e bash --login -c  '
+  ssh hadaq@lxhadesdaqp "
+  source /home/hadaq/.bash_profile        
+  #set -xv
+( which epics >/dev/null 2>&1 && . epics -q ) || export EPICS_BASE=/home/hadaq/EPICS/EPICS-3.15.6/base/
+PERLLIB=\${EPICS_BASE}lib/perl:~/trbsoft/hadesdaq/nettools:~/trbsoft/daqtools/perllibs
+
+cd ~/trbsoft/hadesdaq/utils && MDC_Powercycle_2PSx.pl -P 3 -S 3
+
+  sleep 1
+"
+'
index ce0233f6d2448e0b1f4e8a934c0b774002a38b56..5a2182d460316a5ad87f97c40cf5331d3ff4ad1e 100755 (executable)
@@ -1,6 +1,15 @@
-#!/bin/bash
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3A53E602000000A9 1'"
-sleep 5
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3A53E602000000A9 0'"
+#!/bin/bash 
+#set -xv 
 
+xterm  -e bash --login -c  '
+  ssh hadaq@lxhadesdaqp "
+  source /home/hadaq/.bash_profile        
+  #set -xv
+( which epics >/dev/null 2>&1 && . epics -q ) || export EPICS_BASE=/home/hadaq/EPICS/EPICS-3.15.6/base/
+PERLLIB=\${EPICS_BASE}lib/perl:~/trbsoft/hadesdaq/nettools:~/trbsoft/daqtools/perllibs
 
+cd ~/trbsoft/hadesdaq/utils && MDC_Powercycle_2PSx.pl -P 4 -S 3
+
+  sleep 1
+"
+'
index f4ad3fbcd7a217ca94c87340b7d50450d8394236..e9a420fe707d02ab08fed0de418b9fc050d2c8d3 100755 (executable)
@@ -1,4 +1,15 @@
-#!/bin/bash
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3A11DA0200000017 2'"
-sleep 5
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3A11DA0200000017 0'"
\ No newline at end of file
+#!/bin/bash 
+#set -xv 
+
+xterm  -e bash --login -c  '
+  ssh hadaq@lxhadesdaqp "
+  source /home/hadaq/.bash_profile        
+  #set -xv
+( which epics >/dev/null 2>&1 && . epics -q ) || export EPICS_BASE=/home/hadaq/EPICS/EPICS-3.15.6/base/
+PERLLIB=\${EPICS_BASE}lib/perl:~/trbsoft/hadesdaq/nettools:~/trbsoft/daqtools/perllibs
+
+cd ~/trbsoft/hadesdaq/utils && MDC_Powercycle_2PSx.pl -P 1 -S 4
+
+  sleep 1
+"
+'
index 895993222b77f4aa23a4a9c605906c61949da72e..b4c94702237a4b62a6817ce98ee02721d5a113d7 100755 (executable)
@@ -1,4 +1,15 @@
-#!/bin/bash
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3A3AD90200000017 2'"
-sleep 5
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3A3AD90200000017 0'"
+#!/bin/bash 
+#set -xv 
+
+xterm  -e bash --login -c  '
+  ssh hadaq@lxhadesdaqp "
+  source /home/hadaq/.bash_profile        
+  #set -xv
+( which epics >/dev/null 2>&1 && . epics -q ) || export EPICS_BASE=/home/hadaq/EPICS/EPICS-3.15.6/base/
+PERLLIB=\${EPICS_BASE}lib/perl:~/trbsoft/hadesdaq/nettools:~/trbsoft/daqtools/perllibs
+
+cd ~/trbsoft/hadesdaq/utils && MDC_Powercycle_2PSx.pl -P 2 -S 4
+
+  sleep 1
+"
+'
index bdeb03c35a78d54d9dec4b7695542bfee11d847e..ac7edacaff2a1950e7c6217a40b71ff1a595ff53 100755 (executable)
@@ -1,5 +1,15 @@
-#!/bin/bash
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3A05E5020000007B 2'"
-sleep 5
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3A05E5020000007B 0'"
+#!/bin/bash 
+#set -xv 
 
+xterm  -e bash --login -c  '
+  ssh hadaq@lxhadesdaqp "
+  source /home/hadaq/.bash_profile        
+  #set -xv
+( which epics >/dev/null 2>&1 && . epics -q ) || export EPICS_BASE=/home/hadaq/EPICS/EPICS-3.15.6/base/
+PERLLIB=\${EPICS_BASE}lib/perl:~/trbsoft/hadesdaq/nettools:~/trbsoft/daqtools/perllibs
+
+cd ~/trbsoft/hadesdaq/utils && MDC_Powercycle_2PSx.pl -P 3 -S 4
+
+  sleep 1
+"
+'
index cbdca2af7aa596330455cb1adb589415106dc9af..e457e30c314d1bb2a92cc0a32eaff99005354e74 100755 (executable)
@@ -1,6 +1,15 @@
-#!/bin/bash
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3A53E602000000A9 2'"
-sleep 5
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3A53E602000000A9 0'"
+#!/bin/bash 
+#set -xv 
 
+xterm  -e bash --login -c  '
+  ssh hadaq@lxhadesdaqp "
+  source /home/hadaq/.bash_profile        
+  #set -xv
+( which epics >/dev/null 2>&1 && . epics -q ) || export EPICS_BASE=/home/hadaq/EPICS/EPICS-3.15.6/base/
+PERLLIB=\${EPICS_BASE}lib/perl:~/trbsoft/hadesdaq/nettools:~/trbsoft/daqtools/perllibs
 
+cd ~/trbsoft/hadesdaq/utils && MDC_Powercycle_2PSx.pl -P 4 -S 4
+
+  sleep 1
+"
+'
index b2342bf7ce2a706668e6127626762c60b6f8979b..9a99013a562fd017672c9b40020176646f387c7d 100755 (executable)
@@ -1,4 +1,15 @@
-#!/bin/bash
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3A6EE302000000DC 1'"
-sleep 5
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3A6EE302000000DC 0'"
\ No newline at end of file
+#!/bin/bash 
+#set -xv 
+
+xterm  -e bash --login -c  '
+  ssh hadaq@lxhadesdaqp "
+  source /home/hadaq/.bash_profile        
+  #set -xv
+( which epics >/dev/null 2>&1 && . epics -q ) || export EPICS_BASE=/home/hadaq/EPICS/EPICS-3.15.6/base/
+PERLLIB=\${EPICS_BASE}lib/perl:~/trbsoft/hadesdaq/nettools:~/trbsoft/daqtools/perllibs
+
+cd ~/trbsoft/hadesdaq/utils && MDC_Powercycle_2PSx.pl -P 1 -S 5
+
+  sleep 1
+"
+'
index 912ebf70b2a3472ff25b2219b18cabbbc6734182..dd55771422701a068e93cace8b34a475dd4d15a5 100755 (executable)
@@ -1,4 +1,15 @@
-#!/bin/bash
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3A6FDA020000009C 1'"
-sleep 5
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3A6FDA020000009C 0'"
+#!/bin/bash 
+#set -xv 
+
+xterm  -e bash --login -c  '
+  ssh hadaq@lxhadesdaqp "
+  source /home/hadaq/.bash_profile        
+  #set -xv
+( which epics >/dev/null 2>&1 && . epics -q ) || export EPICS_BASE=/home/hadaq/EPICS/EPICS-3.15.6/base/
+PERLLIB=\${EPICS_BASE}lib/perl:~/trbsoft/hadesdaq/nettools:~/trbsoft/daqtools/perllibs
+
+cd ~/trbsoft/hadesdaq/utils && MDC_Powercycle_2PSx.pl -P 2 -S 5
+
+  sleep 1
+"
+'
index a0d620be0e6b5e0a9fa7897bd293d67a0a075279..6c81e35f0e1ffea9a6019181e92e735f98727710 100755 (executable)
@@ -1,5 +1,15 @@
-#!/bin/bash
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3A1FF4020000005E 1'"
-sleep 5
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3A1FF4020000005E 0'"
+#!/bin/bash 
+#set -xv 
 
+xterm  -e bash --login -c  '
+  ssh hadaq@lxhadesdaqp "
+  source /home/hadaq/.bash_profile        
+  #set -xv
+( which epics >/dev/null 2>&1 && . epics -q ) || export EPICS_BASE=/home/hadaq/EPICS/EPICS-3.15.6/base/
+PERLLIB=\${EPICS_BASE}lib/perl:~/trbsoft/hadesdaq/nettools:~/trbsoft/daqtools/perllibs
+
+cd ~/trbsoft/hadesdaq/utils && MDC_Powercycle_2PSx.pl -P 3 -S 5
+
+  sleep 1
+"
+'
index 06b44fcf6cdf6e61c2b4b628c98e9c2b33e80352..4a6e56ff6167ab8af6f27b5101f1989c0d3763dd 100755 (executable)
@@ -1,6 +1,15 @@
-#!/bin/bash
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3AF6DB0200000076 1'"
-sleep 5
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3AF6DB0200000076 0'"
+#!/bin/bash 
+#set -xv 
 
+xterm  -e bash --login -c  '
+  ssh hadaq@lxhadesdaqp "
+  source /home/hadaq/.bash_profile        
+  #set -xv
+( which epics >/dev/null 2>&1 && . epics -q ) || export EPICS_BASE=/home/hadaq/EPICS/EPICS-3.15.6/base/
+PERLLIB=\${EPICS_BASE}lib/perl:~/trbsoft/hadesdaq/nettools:~/trbsoft/daqtools/perllibs
 
+cd ~/trbsoft/hadesdaq/utils && MDC_Powercycle_2PSx.pl -P 4 -S 5
+
+  sleep 1
+"
+'
index f1b9351c99e6917e41fd81a8e9d08754a478d155..e665a6e2c77349eb01a34e56d5e8a2b1dfcf6fb8 100755 (executable)
@@ -1,4 +1,15 @@
-#!/bin/bash
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3A6EE302000000DC 2'"
-sleep 5
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3A6EE302000000DC 0'"
\ No newline at end of file
+#!/bin/bash 
+#set -xv 
+
+xterm  -e bash --login -c  '
+  ssh hadaq@lxhadesdaqp "
+  source /home/hadaq/.bash_profile        
+  #set -xv
+( which epics >/dev/null 2>&1 && . epics -q ) || export EPICS_BASE=/home/hadaq/EPICS/EPICS-3.15.6/base/
+PERLLIB=\${EPICS_BASE}lib/perl:~/trbsoft/hadesdaq/nettools:~/trbsoft/daqtools/perllibs
+
+cd ~/trbsoft/hadesdaq/utils && MDC_Powercycle_2PSx.pl -P 1 -S 6
+
+  sleep 1
+"
+'
index 79e7b67a046cccf881192862219183feed3468be..0c209338370e5df1dd96025841bbe073e5ed2115 100755 (executable)
@@ -1,4 +1,15 @@
-#!/bin/bash
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3A6FDA020000009C 2'"
-sleep 5
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3A6FDA020000009C 0'"
+#!/bin/bash 
+#set -xv 
+
+xterm  -e bash --login -c  '
+  ssh hadaq@lxhadesdaqp "
+  source /home/hadaq/.bash_profile        
+  #set -xv
+( which epics >/dev/null 2>&1 && . epics -q ) || export EPICS_BASE=/home/hadaq/EPICS/EPICS-3.15.6/base/
+PERLLIB=\${EPICS_BASE}lib/perl:~/trbsoft/hadesdaq/nettools:~/trbsoft/daqtools/perllibs
+
+cd ~/trbsoft/hadesdaq/utils && MDC_Powercycle_2PSx.pl -P 2 -S 6
+
+  sleep 1
+"
+'
index 25b042f5117d7da408e94b41d3c1bc480372f296..426e52f3fe6ea86090a3694e1c99a87a404607c3 100755 (executable)
@@ -1,5 +1,15 @@
-#!/bin/bash
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3A1FF4020000005E 2'"
-sleep 5
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3A1FF4020000005E 0'"
+#!/bin/bash 
+#set -xv 
 
+xterm  -e bash --login -c  '
+  ssh hadaq@lxhadesdaqp "
+  source /home/hadaq/.bash_profile        
+  #set -xv
+( which epics >/dev/null 2>&1 && . epics -q ) || export EPICS_BASE=/home/hadaq/EPICS/EPICS-3.15.6/base/
+PERLLIB=\${EPICS_BASE}lib/perl:~/trbsoft/hadesdaq/nettools:~/trbsoft/daqtools/perllibs
+
+cd ~/trbsoft/hadesdaq/utils && MDC_Powercycle_2PSx.pl -P 3 -S 6
+
+  sleep 1
+"
+'
index 42783d34cc5de58f8a0448670ae6a49928cad1a9..edc893d903188c36886d3edf649d456956ce5a74 100755 (executable)
@@ -1,6 +1,15 @@
-#!/bin/bash
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3AF6DB0200000076 2'"
-sleep 5
-command_client.pl -e etraxp204 -c "/home/hadaq/bin/writetty.sh 'OWDS 3AF6DB0200000076 0'"
+#!/bin/bash 
+#set -xv 
 
+xterm  -e bash --login -c  '
+  ssh hadaq@lxhadesdaqp "
+  source /home/hadaq/.bash_profile        
+  #set -xv
+( which epics >/dev/null 2>&1 && . epics -q ) || export EPICS_BASE=/home/hadaq/EPICS/EPICS-3.15.6/base/
+PERLLIB=\${EPICS_BASE}lib/perl:~/trbsoft/hadesdaq/nettools:~/trbsoft/daqtools/perllibs
 
+cd ~/trbsoft/hadesdaq/utils && MDC_Powercycle_2PSx.pl -P 4 -S 6
+
+  sleep 1
+"
+'