Creation
This commit is contained in:
30
config/config.properties
Normal file
30
config/config.properties
Normal file
@@ -0,0 +1,30 @@
|
||||
#Wed Mar 28 13:15:38 CEST 2018
|
||||
autoSaveScanData=true
|
||||
createSessionFiles=false
|
||||
dataLayout=default
|
||||
dataPath={data}/{year}_{month}/{date}/{date}_{time}_{name}
|
||||
dataProvider=h5
|
||||
dataScanFlushRecords=false
|
||||
dataScanPreserveTypes=false
|
||||
dataScanReleaseRecords=false
|
||||
dataServerPort=-1
|
||||
depthDimension=0
|
||||
hostName=null
|
||||
instanceName=X01DC
|
||||
logDaysToLive=30
|
||||
logLevel=Info
|
||||
logLevelConsole=Off
|
||||
logPath={logs}/{date}_{time}
|
||||
notificationLevel=Off
|
||||
scanStreamerPort=-1
|
||||
serverEnabled=false
|
||||
serverPort=8080
|
||||
simulation=false
|
||||
terminalEnabled=false
|
||||
terminalPort=3579
|
||||
userAuthenticator=
|
||||
userManagement=false
|
||||
versionTrackingEnabled=true
|
||||
versionTrackingLogin={context}/svcusr-hlapp_robot
|
||||
versionTrackingManual=false
|
||||
versionTrackingRemote=git@git.psi.ch\:pshell_config/x01dc.git
|
||||
2
config/devices.properties
Normal file
2
config/devices.properties
Normal file
@@ -0,0 +1,2 @@
|
||||
dks=ch.psi.pshell.epics.Motor|X01DC-MPI-DKS2:MOT|||true
|
||||
sensor=ch.psi.pshell.epics.ChannelDouble|X01DC-MPI-DKS2:MOT.RBV 1|Read||true
|
||||
9
config/mail.properties
Normal file
9
config/mail.properties
Normal file
@@ -0,0 +1,9 @@
|
||||
#Wed Mar 28 09:04:10 CEST 2018
|
||||
auth=None
|
||||
from=
|
||||
host=
|
||||
port=0
|
||||
pwd=
|
||||
smsSuffix=@sms.switch.ch
|
||||
to=
|
||||
usr=
|
||||
18
config/setup.properties
Normal file
18
config/setup.properties
Normal file
@@ -0,0 +1,18 @@
|
||||
#Wed Mar 28 09:04:08 CEST 2018
|
||||
configFile={config}/config.properties
|
||||
configFileDevices={config}/devices.properties
|
||||
configFilePlugins={config}/plugins.properties
|
||||
configFileTasks={config}/tasks.properties
|
||||
configPath={home}/config
|
||||
contextPath={outp}/context
|
||||
dataPath={outp}/data
|
||||
devicesPath={home}/devices
|
||||
extensionsPath={home}/extensions
|
||||
imagesPath={outp}/images
|
||||
libraryPath={script}; {script}/Lib
|
||||
logPath={outp}/log
|
||||
pluginsPath={home}/plugins
|
||||
scriptPath={home}/script
|
||||
scriptType=py
|
||||
sessionsPath={outp}/sessions
|
||||
wwwPath={home}/www
|
||||
9
devices/Time.properties
Normal file
9
devices/Time.properties
Normal file
@@ -0,0 +1,9 @@
|
||||
#Wed Mar 28 10:35:08 CEST 2018
|
||||
maxValue=NaN
|
||||
minValue=NaN
|
||||
offset=0.0
|
||||
precision=-1
|
||||
resolution=NaN
|
||||
rotation=false
|
||||
scale=1.0
|
||||
unit=null
|
||||
16
devices/dks.properties
Normal file
16
devices/dks.properties
Normal file
@@ -0,0 +1,16 @@
|
||||
#Wed Mar 28 10:15:41 CEST 2018
|
||||
defaultSpeed=5.0
|
||||
estbilizationDelay=0
|
||||
hasEnable=false
|
||||
homingType=None
|
||||
maxSpeed=10.0
|
||||
maxValue=60.1
|
||||
minSpeed=0.1
|
||||
minValue=-0.1
|
||||
offset=0.0
|
||||
precision=5
|
||||
resolution=0.0025
|
||||
rotation=false
|
||||
scale=1.0
|
||||
startRetries=1
|
||||
unit=mm
|
||||
11
devices/dp1.properties
Normal file
11
devices/dp1.properties
Normal file
@@ -0,0 +1,11 @@
|
||||
#Wed Mar 28 09:14:04 CEST 2018
|
||||
motor1=0.0|4.0|8.0|0.0
|
||||
motor2=0.0|5.0|3.0|NaN
|
||||
motor3=null
|
||||
motor4=null
|
||||
motor5=null
|
||||
motor6=null
|
||||
motor7=null
|
||||
motor8=null
|
||||
positions=Park|Ready|Out|Clear
|
||||
precision=-1
|
||||
14
devices/m1.properties
Normal file
14
devices/m1.properties
Normal file
@@ -0,0 +1,14 @@
|
||||
#Wed Mar 28 09:14:04 CEST 2018
|
||||
defaultSpeed=1.0
|
||||
estbilizationDelay=0
|
||||
maxSpeed=10.0
|
||||
maxValue=10.0
|
||||
minSpeed=0.1
|
||||
minValue=-10.0
|
||||
offset=0.0
|
||||
precision=2
|
||||
resolution=NaN
|
||||
rotation=false
|
||||
scale=1.0
|
||||
startRetries=1
|
||||
unit=mm
|
||||
14
devices/m2.properties
Normal file
14
devices/m2.properties
Normal file
@@ -0,0 +1,14 @@
|
||||
#Wed Mar 28 09:14:04 CEST 2018
|
||||
defaultSpeed=1.0
|
||||
estbilizationDelay=0
|
||||
maxSpeed=10.0
|
||||
maxValue=10.0
|
||||
minSpeed=0.1
|
||||
minValue=-10.0
|
||||
offset=0.0
|
||||
precision=2
|
||||
resolution=NaN
|
||||
rotation=false
|
||||
scale=1.0
|
||||
startRetries=1
|
||||
unit=mm
|
||||
9
devices/p1.properties
Normal file
9
devices/p1.properties
Normal file
@@ -0,0 +1,9 @@
|
||||
#Wed Mar 28 09:14:04 CEST 2018
|
||||
maxValue=1000.0
|
||||
minValue=0.0
|
||||
offset=0.0
|
||||
precision=-1
|
||||
resolution=NaN
|
||||
rotation=false
|
||||
scale=1.0
|
||||
unit=mm
|
||||
24
devices/src1.properties
Normal file
24
devices/src1.properties
Normal file
@@ -0,0 +1,24 @@
|
||||
#Wed Mar 28 09:28:43 CEST 2018
|
||||
colormap=Temperature
|
||||
colormapAutomatic=true
|
||||
colormapMax=NaN
|
||||
colormapMin=NaN
|
||||
flipHorizontally=false
|
||||
flipVertically=false
|
||||
grayscale=false
|
||||
invert=false
|
||||
rescaleFactor=1.0
|
||||
rescaleOffset=0.0
|
||||
roiHeight=-1
|
||||
roiWidth=-1
|
||||
roiX=0
|
||||
roiY=0
|
||||
rotation=0.0
|
||||
rotationCrop=false
|
||||
scale=1.0
|
||||
spatialCalOffsetX=NaN
|
||||
spatialCalOffsetY=NaN
|
||||
spatialCalScaleX=NaN
|
||||
spatialCalScaleY=NaN
|
||||
spatialCalUnits=mm
|
||||
transpose=false
|
||||
24
devices/src2.properties
Normal file
24
devices/src2.properties
Normal file
@@ -0,0 +1,24 @@
|
||||
#Wed Mar 28 09:28:43 CEST 2018
|
||||
colormap=Grayscale
|
||||
colormapAutomatic=true
|
||||
colormapMax=NaN
|
||||
colormapMin=NaN
|
||||
flipHorizontally=false
|
||||
flipVertically=false
|
||||
grayscale=false
|
||||
invert=false
|
||||
rescaleFactor=1.0
|
||||
rescaleOffset=0.0
|
||||
roiHeight=-1
|
||||
roiWidth=-1
|
||||
roiX=0
|
||||
roiY=0
|
||||
rotation=0.0
|
||||
rotationCrop=false
|
||||
scale=1.0
|
||||
spatialCalOffsetX=NaN
|
||||
spatialCalOffsetY=NaN
|
||||
spatialCalScaleX=NaN
|
||||
spatialCalScaleY=NaN
|
||||
spatialCalUnits=mm
|
||||
transpose=false
|
||||
3
script/MPI.py
Normal file
3
script/MPI.py
Normal file
@@ -0,0 +1,3 @@
|
||||
DKS='X01DC-MPI-DKS2:MOT'
|
||||
|
||||
caput(DKS,16)
|
||||
3
script/local.groovy
Normal file
3
script/local.groovy
Normal file
@@ -0,0 +1,3 @@
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Deployment specific global definitions - executed after startup.groovy
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
4
script/local.js
Normal file
4
script/local.js
Normal file
@@ -0,0 +1,4 @@
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Deployment specific global definitions - executed after startup.js
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
4
script/local.py
Normal file
4
script/local.py
Normal file
@@ -0,0 +1,4 @@
|
||||
###################################################################################################
|
||||
# Deployment specific global definitions - executed after startup.py
|
||||
###################################################################################################
|
||||
|
||||
1
script/test.scan
Normal file
1
script/test.scan
Normal file
@@ -0,0 +1 @@
|
||||
[ "Continuous", [ [ "Device", "dks", 15.0, 16.0, 0.1 ] ], [ [ "Device", "sensor", 1, 0.0, "Enabled" ] ], false, [ ], "", 2, 5.0, 0.0, false, false, true, true, "", "", "", "", 0, null, null, "Positioner", false ]
|
||||
10
script/test/TestContinuous.py
Normal file
10
script/test/TestContinuous.py
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
|
||||
def before_pass(pass_no, scan):
|
||||
print pass_no
|
||||
if pass_no == scan.numberOfPasses:
|
||||
pass
|
||||
#sensor.setTrustedMonitor(False)
|
||||
#sensor.setForcedRead(True)
|
||||
cscan([dks], [dks.readback], [15.0], [17.0], [0.1], latency=0.0, time=3.0, relative=False, passes=2, zigzag=True, name='test', \
|
||||
before_pass = before_pass )
|
||||
1
script/test/test.scan
Normal file
1
script/test/test.scan
Normal file
@@ -0,0 +1 @@
|
||||
[ "Linear", [ [ "Device", "dks", 15.0, 17.0, 0.1 ] ], [ [ "Device", "sensor", 1, 0.0, "Enabled" ] ], false, [ ], "", 1, 1.0, 0.0, false, false, true, true, "", "", " ", " ", 0, null, null, "Positioner", false ]
|
||||
Reference in New Issue
Block a user