cleanup
This commit is contained in:
101
Readme.md
101
Readme.md
@@ -81,10 +81,11 @@ Deploy stuff (22.8.22) quick and dirty (21.9.22 rewworked)
|
||||
```
|
||||
DST=/sf/cristallina/applications/mx/zamofing_t/
|
||||
|
||||
ssh saresc-cons-03 mkdir /tmp/zamofing_t/
|
||||
ssh saresc-cons-03 mkdir $DST
|
||||
# add '--delete' if needed
|
||||
rsync -vai ~/Documents/prj/SwissFEL/epics_ioc_modules/ESB_MX saresc-cons-03:$DST
|
||||
rsync -vai ~/Documents/prj/SwissFEL/PBTools saresc-cons-03:$DST
|
||||
rsync -vai ~/Documents/prj/SwissFEL/epics_ioc_modules/ESB_MX saresc-cons-03:$DST -n
|
||||
rsync -vai ~/Documents/prj/SwissFEL/PBTools saresc-cons-03:$DST -n
|
||||
ssh saresc-cons-03 saresc-cons-03 chmod -R go+w $DST/ESB_MX/python/SwissMX
|
||||
|
||||
cd /sf/cristallina/applications/mx/zamofing_t/ESB_MX/python/SwissMX/
|
||||
/opt/gfa/python-3.8/latest/bin/pip install qtawesome --user
|
||||
@@ -125,6 +126,18 @@ zamofing_t@ganymede:~$ ssh gac-cristall@saresc-cons-03
|
||||
cd /sf/cristallina/applications/mx/zamofing_t/ESB_MX/python/SwissMX/
|
||||
conda activate /sf/cristallina/applications/conda/envs/crmx38
|
||||
python swissmx.py
|
||||
|
||||
|
||||
ssh gac-cristall@saresc-cons-03 ls /sf/cristallina/applications/mx/zamofing_t/ESB_MX/python/SwissMX
|
||||
|
||||
|
||||
git@git.psi.ch:epics_ioc_modules/ESB_MX.git
|
||||
|
||||
|
||||
git remote add sf-cristallina gac-cristall@saresc-cons-03:/sf/cristallina/applications/mx/zamofing_t/ESB_MX/python/SwissMX
|
||||
|
||||
git fetch sf-cristallina
|
||||
|
||||
```
|
||||
|
||||
----------------------------------- SCRATCH -----------------------------------
|
||||
@@ -194,4 +207,86 @@ sync task ends when Gather.Enable==0
|
||||
78x78 points =6084pts a 10ms =60 sec. -> 70 sec.
|
||||
-> we are at 100 Hz !!!
|
||||
|
||||
remote ssh tunnel + start gather_server
|
||||
---------------------------------------
|
||||
```
|
||||
PPMAC=SAR-CPPM-EXPMX1
|
||||
rsync -va ~/Documents/prj/SwissFEL/PBTools/pbtools/gather/gather_server root@$PPMAC:/tmp/
|
||||
lsof -i -n | grep '127.0.0.1:1000'
|
||||
ssh -L 10001:localhost:22 root@$PPMAC 'uname -a'
|
||||
ssh -L 10002:localhost:2332 root@$PPMAC 'uname -a'
|
||||
ssh root@$PPMAC
|
||||
LD_LIBRARY_PATH=/opt/ppmac/libppmac/ /tmp/gather_server
|
||||
```
|
||||
cleanup /tmp/
|
||||
-------------
|
||||
```
|
||||
PPMAC=SAR-CPPM-EXPMX1
|
||||
ssh root@$PPMAC rm /tmp/gather_server /tmp/triggerSync
|
||||
ssh root@$PPMAC ls -l /tmp
|
||||
```
|
||||
start debug tools
|
||||
-----------------
|
||||
```
|
||||
PPMAC=SAR-CPPM-EXPMX1
|
||||
PBInspect --host=$PPMAC&
|
||||
gpasciiCommander --host $PPMAC -i
|
||||
ssh root@$PPMAC
|
||||
ssh root@$PPMAC rm /tmp/gather_server /tmp/triggerSync
|
||||
ssh root@$PPMAC ls -l /tmp
|
||||
```
|
||||
restart IOC
|
||||
-----------
|
||||
```
|
||||
ssh saresc-cons-03
|
||||
PPMAC=SAR-CPPM-EXPMX1
|
||||
telnet $PPMAC 50001
|
||||
Ctrl-X
|
||||
dbgf SAR-CPPM-EXPMX1:MOD_VER
|
||||
caget SAR-CPPM-EXPMX1:MOD_VER
|
||||
```
|
||||
checking versions
|
||||
-----------------
|
||||
```
|
||||
git: 7a968aac967
|
||||
asyn 427.0.2
|
||||
motorBase alpha_220518
|
||||
asynMotor alpha_220518
|
||||
powerPmac alpha_220518
|
||||
PB_COMMON 2.0.1
|
||||
gpasciiCommander 0.9.0
|
||||
ESB_MX 0.0.2
|
||||
```
|
||||
zamofing_t@ganymede:~/Documents/prj/SwissFEL/epics_ioc_modules/ESB_MX$
|
||||
git loggraph -10
|
||||
* 7a968aa 2022-09-20 (HEAD -> master, tag: latest, tag: 0.0.2, psigithub/master) change speeds and directions [Thierry Zamofing]
|
||||
* 00588f8 2022-09-16 minor changes [Thierry Zamofing]
|
||||
* d52a6ce 2022-08-30 minor changes [Thierry Zamofing]
|
||||
* f47e111 2022-05-20 (tag: 0.0.1) add DET_Z motor [Thierry Zamofing]
|
||||
* 8e5b15e 2022-05-20 wip [Thierry Zamofing]
|
||||
* 399282c 2019-03-20 enhance triggering [Thierry Zamofing]
|
||||
* eda8caf 2019-03-19 wip [Thierry Zamofing]
|
||||
* 0c45705 2019-03-08 optimize [Thierry Zamofing]
|
||||
* c962ebd 2019-03-06 documentation [Thierry Zamofing]
|
||||
git reset --hard 399282c
|
||||
rmake -e LIBVERSION=42.42.42 uninstall install
|
||||
-> restart IOC
|
||||
ssh root@$PPMAC rm /tmp/triggerSync
|
||||
cd python
|
||||
git dt latest -- shapepath.py
|
||||
./shapepath.py --host=localhost:10001:10002
|
||||
removing test verion
|
||||
ssh sf-lc7 ls -l /ioc/modules/ESB_MX/
|
||||
ssh sf-lc7 rm -rf /ioc/modules/ESB_MX/42.42.42
|
||||
IOC locations
|
||||
-------------
|
||||
```
|
||||
~/Documents/prj/SwissFEL/epics_ioc_boot_sf/ESC_all/ESB_MX_PowerBrick
|
||||
They are just using the new alphy driver. That should have no impact on the motion config.
|
||||
```
|
||||
test shapepath
|
||||
--------------
|
||||
```
|
||||
cd ~/Documents/prj/SwissFEL/epics_ioc_modules/ESB_MX
|
||||
./shapepath.py --host=localhost:10001:10002
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user