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
76d51abf
Commit
76d51abf
authored
20 years ago
by
rivers
Browse files
Options
Downloads
Patches
Plain Diff
Renamed from 16element_dxp.*
parent
7b62c890
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
iocBoot/iocvxWorks/dxp_16.cmd
+27
-0
27 additions, 0 deletions
iocBoot/iocvxWorks/dxp_16.cmd
iocBoot/iocvxWorks/dxp_16.substitutions
+44
-0
44 additions, 0 deletions
iocBoot/iocvxWorks/dxp_16.substitutions
with
71 additions
and
0 deletions
iocBoot/iocvxWorks/dxp_16.cmd
0 → 100644
+
27
−
0
View file @
76d51abf
#
Setup
the
DXP
CAMAC
MCA
.
#
Change
the
following
environment
variable
to
point
to
the
desired
#
system
configuration
file
putenv
(
"XIA_CONFIG=xiasystem.cfg"
)
#
Set
environment
variables
for
the
FiPPI
files
.
#
FIPPI0
,
FIPPI1
,
FIPPI2
,
FIPPI3
should
point
to
the
files
for
#
decimation
=
0
,
2
,
4
,
6
respectively
.
FIPPI_DEFAULT
should
point
to
the
#
file
that
will
be
loaded
initially
at
boot
time
.
putenv
(
"FIPPI0=f01x2p0g.fip"
)
putenv
(
"FIPPI1=f01x2p2g.fip"
)
putenv
(
"FIPPI2=f01x2p4g.fip"
)
putenv
(
"FIPPI3=f01x2p6g.fip"
)
putenv
(
"FIPPI_DEFAULT=f01x2p4g.fip"
)
#
Set
logging
level
(
1
=
ERROR
,
2
=
WARNING
,
3
=
XXX
,
4
=
DEBUG
)
dxp_md_set_log_level
(
2
)
dxp_initialize
#
DXPConfig
(
serverName
,
detChan1
,
detChan2
,
detChan3
,
detChan4
,
queueSize
)
DXPConfig
(
"DXP1"
,
0
,
1
,
2
,
3
,
300
)
DXPConfig
(
"DXP2"
,
4
,
5
,
6
,
7
,
300
)
DXPConfig
(
"DXP3"
,
8
,
9
,
10
,
11
,
300
)
DXPConfig
(
"DXP4"
,
12
,
13
,
14
,
15
,
300
)
dbLoadRecords
(
"camacApp/Db/16element_dxp.db"
,
"P=xxx:med:"
,
camac
)
#
Load
all
of
the
MCA
and
DXP
records
dbLoadTemplate
(
"16element_dxp.substitutions"
)
This diff is collapsed.
Click to expand it.
iocBoot/iocvxWorks/dxp_16.substitutions
0 → 100755
+
44
−
0
View file @
76d51abf
file "$(MCA)/mcaApp/Db/simple_mca.db"
{
pattern
{P, M, DTYP, INP PREC, CHANS}
{xxx:med: mca1 "MPF MCA", "#C0 S0 @DXP1", 2, 2048}
{xxx:med: mca2 "MPF MCA", "#C0 S1 @DXP1", 2, 2048}
{xxx:med: mca3 "MPF MCA", "#C0 S2 @DXP1", 2, 2048}
{xxx:med: mca4 "MPF MCA", "#C0 S3 @DXP1", 2, 2048}
{xxx:med: mca5 "MPF MCA", "#C0 S4 @DXP2", 2, 2048}
{xxx:med: mca6 "MPF MCA", "#C0 S5 @DXP2", 2, 2048}
{xxx:med: mca7 "MPF MCA", "#C0 S6 @DXP2", 2, 2048}
{xxx:med: mca8 "MPF MCA", "#C0 S7 @DXP2", 2, 2048}
{xxx:med: mca9 "MPF MCA", "#C0 S8 @DXP3", 2, 2048}
{xxx:med: mca10 "MPF MCA", "#C0 S9 @DXP3", 2, 2048}
{xxx:med: mca11 "MPF MCA", "#C0 S10 @DXP3", 2, 2048}
{xxx:med: mca12 "MPF MCA", "#C0 S11 @DXP3", 2, 2048}
{xxx:med: mca13 "MPF MCA", "#C0 S12 @DXP4", 2, 2048}
{xxx:med: mca14 "MPF MCA", "#C0 S13 @DXP4", 2, 2048}
{xxx:med: mca15 "MPF MCA", "#C0 S14 @DXP4", 2, 2048}
{xxx:med: mca16 "MPF MCA", "#C0 S15 @DXP4", 2, 2048}
}
# DXP records
file "$(DXP)/dxpApp/Db/dxp2x.db"
{
pattern
{P, R, INP }
{xxx:med: dxp1 "#C0 S0 @DXP1"}
{xxx:med: dxp2 "#C0 S1 @DXP1"}
{xxx:med: dxp3 "#C0 S2 @DXP1"}
{xxx:med: dxp4 "#C0 S3 @DXP1"}
{xxx:med: dxp5 "#C0 S4 @DXP2"}
{xxx:med: dxp6 "#C0 S5 @DXP2"}
{xxx:med: dxp7 "#C0 S6 @DXP2"}
{xxx:med: dxp8 "#C0 S7 @DXP2"}
{xxx:med: dxp9 "#C0 S8 @DXP3"}
{xxx:med: dxp10 "#C0 S9 @DXP3"}
{xxx:med: dxp11 "#C0 S10 @DXP3"}
{xxx:med: dxp12 "#C0 S11 @DXP3"}
{xxx:med: dxp13 "#C0 S12 @DXP4"}
{xxx:med: dxp14 "#C0 S13 @DXP4"}
{xxx:med: dxp15 "#C0 S14 @DXP4"}
{xxx:med: dxp16 "#C0 S15 @DXP4"}
}
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