Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xxx-R6-1
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
synApps_6_1_Working
xxx-R6-1
Commits
45c7ec4b
Commit
45c7ec4b
authored
10 years ago
by
mooney
Browse files
Options
Downloads
Patches
Plain Diff
for areaDetector-2-0
parent
d2c890c8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
iocBoot/iocLinux/areaDetector.cmd
+12
-14
12 additions, 14 deletions
iocBoot/iocLinux/areaDetector.cmd
with
12 additions
and
14 deletions
iocBoot/iocLinux/areaDetector.cmd
+
12
−
14
View file @
45c7ec4b
...
...
@@ -2,32 +2,30 @@
#
Create
a
simDetector
driver
simDetectorConfig
(
"SIM1"
,
640
,
480
,
1
,
50
,
50000000
)
dbLoadRecords
(
"$(A
REA_DETECT
OR)/ADApp/Db/ADBase.template"
,
"P=xxx:,R=SIM1:cam1:,PORT=SIM1,ADDR=0,TIMEOUT=1"
)
dbLoadRecords
(
"$(A
REA_DETECT
OR)/ADApp/Db/simDetector.template"
,
"P=xxx:,R=SIM1:cam1:,PORT=SIM1,ADDR=0,TIMEOUT=1"
)
dbLoadRecords
(
"$(A
DC
OR
E
)/ADApp/Db/ADBase.template"
,
"P=xxx:,R=SIM1:cam1:,PORT=SIM1,ADDR=0,TIMEOUT=1"
)
dbLoadRecords
(
"$(A
DC
OR
E
)/ADApp/Db/simDetector.template"
,
"P=xxx:,R=SIM1:cam1:,PORT=SIM1,ADDR=0,TIMEOUT=1"
)
#
Create
a
second
simDetector
driver
simDetectorConfig
(
"SIM2"
,
300
,
200
,
1
,
50
,
50000000
)
dbLoadRecords
(
"$(A
REA_DETECT
OR)/ADApp/Db/ADBase.template"
,
"P=xxx:,R=SIM1:cam2:,PORT=SIM2,ADDR=0,TIMEOUT=1"
)
dbLoadRecords
(
"$(A
REA_DETECT
OR)/ADApp/Db/simDetector.template"
,
"P=xxx:,R=SIM1:cam2:,PORT=SIM2,ADDR=0,TIMEOUT=1"
)
dbLoadRecords
(
"$(A
DC
OR
E
)/ADApp/Db/ADBase.template"
,
"P=xxx:,R=SIM1:cam2:,PORT=SIM2,ADDR=0,TIMEOUT=1"
)
dbLoadRecords
(
"$(A
DC
OR
E
)/ADApp/Db/simDetector.template"
,
"P=xxx:,R=SIM1:cam2:,PORT=SIM2,ADDR=0,TIMEOUT=1"
)
#
Create
a
standard
arrays
plugin
,
set
it
to
get
data
from
first
simDetector
driver
.
NDStdArraysConfigure
(
"SIM1Image"
,
3
,
0
,
"SIM1"
,
0
,
2000000
)
dbLoadRecords
(
"$(A
REA_DETECT
OR)/ADApp/Db/NDPluginBase.template"
,
"P=xxx:,R=image1:,PORT=SIM1Image,ADDR=0,TIMEOUT=1,NDARRAY_PORT=SIM1,NDARRAY_ADDR=0"
)
dbLoadRecords
(
"$(A
REA_DETECT
OR)/ADApp/Db/NDStdArrays.template"
,
"P=xxx:,R=image1:,PORT=SIM1Image,ADDR=0,TIMEOUT=1,TYPE=Int8,FTVL=UCHAR,NELEMENTS=1392640"
)
dbLoadRecords
(
"$(A
DC
OR
E
)/ADApp/Db/NDPluginBase.template"
,
"P=xxx:,R=image1:,PORT=SIM1Image,ADDR=0,TIMEOUT=1,NDARRAY_PORT=SIM1,NDARRAY_ADDR=0"
)
dbLoadRecords
(
"$(A
DC
OR
E
)/ADApp/Db/NDStdArrays.template"
,
"P=xxx:,R=image1:,PORT=SIM1Image,ADDR=0,TIMEOUT=1,TYPE=Int8,FTVL=UCHAR,NELEMENTS=1392640"
)
#
Create
a
standard
arrays
plugin
,
set
it
to
get
data
from
second
simDetector
driver
.
NDStdArraysConfigure
(
"SIM2Image"
,
1
,
0
,
"SIM2"
,
0
,
2000000
)
dbLoadRecords
(
"$(AREA_DETECTOR)/ADApp/Db/NDPluginBase.template"
,
"P=xxx:,R=image2:,PORT=SIM2Image,ADDR=0,TIMEOUT=1,NDARRAY_PORT=SIM1,NDARRAY_ADDR=0"
)
dbLoadRecords
(
"$(AREA_DETECTOR)/ADApp/Db/NDStdArrays.template"
,
"P=xxx:,R=image2:,PORT=SIM2Image,ADDR=0,TIMEOUT=1,TYPE=Int8,FTVL=UCHAR,NELEMENTS=1392640"
)
#
Load
the
database
to
use
with
Stephen
Mudie
's IDL code
#dbLoadRecords("$(AREA_DETECTOR)/ADApp/Db/EPICS_AD_Viewer.template", "P=xxx:, R=image1:")
dbLoadRecords
(
"$(ADCORE)/ADApp/Db/NDPluginBase.template"
,
"P=xxx:,R=image2:,PORT=SIM2Image,ADDR=0,TIMEOUT=1,NDARRAY_PORT=SIM1,NDARRAY_ADDR=0"
)
dbLoadRecords
(
"$(ADCORE)/ADApp/Db/NDStdArrays.template"
,
"P=xxx:,R=image2:,PORT=SIM2Image,ADDR=0,TIMEOUT=1,TYPE=Int8,FTVL=UCHAR,NELEMENTS=1392640"
)
#
Create
a
file
saving
plugin
NDFileNetCDFConfigure
(
"SIM1File"
,
20
,
0
,
"SIM1"
,
0
)
dbLoadRecords("$(A
REA_DETECT
OR)/ADApp/Db/NDPluginBase.template", "P=xxx:,R=netCDF1:,PORT=SIM1File,ADDR=0,TIMEOUT=1,NDARRAY_PORT=SIM1,NDARRAY_ADDR=0")
dbLoadRecords("$(A
REA_DETECT
OR)/ADApp/Db/NDFile.template", "P=xxx:,R=netCDF1:,PORT=SIM1File,ADDR=0,TIMEOUT=1")
dbLoadRecords
(
"$(A
DC
OR
E
)/ADApp/Db/NDPluginBase.template"
,
"P=xxx:,R=netCDF1:,PORT=SIM1File,ADDR=0,TIMEOUT=1,NDARRAY_PORT=SIM1,NDARRAY_ADDR=0"
)
dbLoadRecords
(
"$(A
DC
OR
E
)/ADApp/Db/NDFile.template"
,
"P=xxx:,R=netCDF1:,PORT=SIM1File,ADDR=0,TIMEOUT=1"
)
#
Create
an
ROI
plugin
NDROIConfigure
(
"SIM1ROI"
,
20
,
0
,
"SIM1"
,
0
,
8
,
20
,
20000000
)
dbLoadRecords("$(A
REA_DETECT
OR)/ADApp/Db/NDPluginBase.template", "P=xxx:,R=ROI1:, PORT=SIM1ROI,ADDR=0,TIMEOUT=1,NDARRAY_PORT=SIM1,NDARRAY_ADDR=0")
dbLoadRecords("$(A
REA_DETECT
OR)/ADApp/Db/NDROI.template", "P=xxx:,R=ROI1:, PORT=SIM1ROI,ADDR=0,TIMEOUT=1")
dbLoadRecords
(
"$(A
DC
OR
E
)/ADApp/Db/NDPluginBase.template"
,
"P=xxx:,R=ROI1:, PORT=SIM1ROI,ADDR=0,TIMEOUT=1,NDARRAY_PORT=SIM1,NDARRAY_ADDR=0"
)
dbLoadRecords
(
"$(A
DC
OR
E
)/ADApp/Db/NDROI.template"
,
"P=xxx:,R=ROI1:, PORT=SIM1ROI,ADDR=0,TIMEOUT=1"
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment