initial commit
This commit is contained in:
103
Readme.md
Normal file
103
Readme.md
Normal file
@@ -0,0 +1,103 @@
|
||||
EPICS simulator
|
||||
---------------
|
||||
This provides very dummy images and motor(to be done) records
|
||||
|
||||
cd /home/zamofing_t/Documents/prj/SwissFEL/epics_ioc_modules/ESB_MX/EpicsSim/iocBoot/iocSwissMxSim
|
||||
./st.cmd
|
||||
|
||||
simulate camera (with EPICS simulator)
|
||||
--------------------------------------
|
||||
cd /home/zamofing_t/Documents/prj/SwissFEL/epics_ioc_modules/ESB_MX/python/SwissMX
|
||||
EPICS_CA_ADDR_LIST=localhost
|
||||
./simCam.py
|
||||
|
||||
test camera display
|
||||
-------------------
|
||||
cd /home/zamofing_t/Documents/prj/SwissFEL/epics_ioc_modules/ESB_MX/python/SwissMX
|
||||
EPICS_CA_ADDR_LIST=localhost
|
||||
./camera.py -u -b SwissMxSim
|
||||
|
||||
|
||||
https://git.psi.ch/SwissMX/swissmx_cristallina/-/wikis/Instructions%20on%20how%20to%20use%20software
|
||||
|
||||
|
||||
caQtDM -macro 'P=SAR-EXPMX' /photonics/home/gac-cristall/Documents/swissmx_cristallina/gui/SwissMX_ChipMotion.ui
|
||||
caQtDM -macro 'P=SAR-EXPMX' ESB_MX_exp.ui
|
||||
|
||||
Camera:
|
||||
caget SARES30-CAMS156-SMX-OAV:CAMERASTATUS
|
||||
caget SARES30-CAMS156-SMX-OAV:PICTURE
|
||||
|
||||
Zoom:
|
||||
caget SAR-EXPMX-FETURA:POS_RB
|
||||
|
||||
|
||||
wlp2s0: MAC: 80:38:fb:d6:01:78 wlan-corp 129.129.64.249
|
||||
enx00e04c680519: MAC: 00:e0:4c:68:05:19
|
||||
|
||||
|
||||
import pyqtgraph.examples
|
||||
pyqtgraph.examples.run()
|
||||
Benchmark -> VideoSpeedTest
|
||||
|
||||
rsync -vai /home/zamofing_t/Documents/prj/SwissFEL/epics_ioc_modules/ESB_MX/python/SwissMX/ saresc-cons-02:/tmp/zamofing_t/
|
||||
|
||||
|
||||
/opt/gfa/python-3.5/latest/bin/python camera.py --base-pv SARES30-CAMS156-SMX-OAV
|
||||
|
||||
BASE=~/Documents/prj/SwissFEL/epics_ioc_modules/LakeShore
|
||||
cd $BASE/iocBoot/iocLakeShore1
|
||||
../../bin/UB20-x86_64/LakeShore st.cmd
|
||||
|
||||
|
||||
|
||||
[saresc-cons-02 ~]$ ioc records 'SARES30-CAMS156-SMX-OAV:.*'
|
||||
|
||||
|
||||
SARES30-CAMS156-SMX-OAV:PICTURE waveform CCD Picure Col SARES30-CPCW-CAMS156-SMX-OAV office
|
||||
SARES30-CAMS156-SMX-OAV:FPICTURE waveform CCD Picture SARES30-CPCW-CAMS156-SMX-OAV office
|
||||
SARES30-CAMS156-SMX-OAV:RF_FPICTURE waveform Reduced frequency FPICTURE SARES30-CPCW-CAMS156-SMX-OAV office
|
||||
SARES30-CAMS156-SMX-OAV:WIDTH ai Nr. of Pixel width SARES30-CPCW-CAMS156-SMX-OAV office
|
||||
SARES30-CAMS156-SMX-OAV:HEIGHT ai Nr. of Pixel height SARES30-CPCW-CAMS156-SMX-OAV office
|
||||
SARES30-CAMS156-SMX-OAV:EXPOSURE ao Exposure SARES30-CPCW-CAMS156-SMX-OAV office
|
||||
SARES30-CAMS156-SMX-OAV:CAMROI_X_START ao ROI X Start SARES30-CPCW-CAMS156-SMX-OAV office
|
||||
SARES30-CAMS156-SMX-OAV:CAMROI_X_END ao ROI X End SARES30-CPCW-CAMS156-SMX-OAV office
|
||||
SARES30-CAMS156-SMX-OAV:CAMROI_Y_START ao ROI Y Start SARES30-CPCW-CAMS156-SMX-OAV office
|
||||
SARES30-CAMS156-SMX-OAV:CAMROI_Y_END ao ROI Y End SARES30-CPCW-CAMS156-SMX-OAV office
|
||||
SARES30-CAMS156-SMX-OAV:BINX ao Binning X SARES30-CPCW-CAMS156-SMX-OAV office
|
||||
SARES30-CAMS156-SMX-OAV:BINY ao Binning Y SARES30-CPCW-CAMS156-SMX-OAV office
|
||||
|
||||
waveform:
|
||||
Native DBF type: DBF_SHORT
|
||||
Number of elements: 5000
|
||||
|
||||
SARES30-CAMS156-SMX-OAV:WIDTH 2448
|
||||
SARES30-CAMS156-SMX-OAV:HEIGHT 2048
|
||||
|
||||
caqtdm camsf
|
||||
caqtdm -macro 'NAME=SARES30-CAMS156-SMX-OAV,CAMNAME=SARES30-CAMS156-SMX-OAV' /sf/controls/config/qt/Camera/CameraMiniView_RF.ui
|
||||
caqtdm -macro 'NAME=SARES30-CAMS156-SMX-OAV,CAMNAME=SARES30-CAMS156-SMX-OAV' /sf/controls/config/qt/Camera/CameraExpert_RF.ui
|
||||
|
||||
03 last file: /sf/controls/config/qt/Camera/CameraMiniView_RF.ui, macro: NAME=SARES30-CAMS156-SMX-OAV,CAMNAME=SARES30-CAMS156-SMX-OAV
|
||||
|
||||
|
||||
07-07-2022 12:14:03 last file: /sf/controls/config/qt/Camera/CameraMiniView_RF.ui, macro: NAME=SARES30-CAMS156-SMX-OAV,CAMNAME=SARES30-CAMS156-SMX-OAV
|
||||
mkdir EpicsSim
|
||||
cd EpicsSim
|
||||
makeBaseApp.pl -t ioc SwissMxSim
|
||||
makeBaseApp.pl -a UB20-x86_64 -i -t ioc -p SwissMxSim SwissMxSim
|
||||
|
||||
cd ~/Documents/prj/SwissFEL/epics_ioc_modules/ESB_MX/EpicsSim/iocBoot/iocSwissMxSim
|
||||
./st.cmd
|
||||
|
||||
EPICS_CA_ADDR_LIST=localhost
|
||||
ipython3
|
||||
import epics
|
||||
p = epics.PV('SwissMxSim:PICTURE', auto_monitor=False)
|
||||
print(p.info)
|
||||
import numpy as np
|
||||
a=np.arange(10000,dtype=np.uint16)
|
||||
p.put(a)
|
||||
print(p.get())
|
||||
https://pyepics.github.io/pyepics/arrays.html
|
||||
|
||||
Reference in New Issue
Block a user