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
03b1d95d
Commit
03b1d95d
authored
20 years ago
by
rivers
Browse files
Options
Downloads
Patches
Plain Diff
Fixed comments; added necessary AIMConfig for DSA2000
parent
6cde0b91
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/iocvxWorks/canberra_1.cmd
+16
-14
16 additions, 14 deletions
iocBoot/iocvxWorks/canberra_1.cmd
with
16 additions
and
14 deletions
iocBoot/iocvxWorks/canberra_1.cmd
+
16
−
14
View file @
03b1d95d
...
...
@@ -15,16 +15,18 @@
#
maxSignals
,
#
Maximum
signals
for
this
input
(>
1
for
MCS
or
multiplexor
)
#
maxSequences
,
#
Maximum
sequences
for
time
resolved
applications
#
ethernetDevice
)
#
Ethernet
device
name
on
IOC
# #
Typically
ei0
for
Motorola
68
K
,
dc0
for
ppc
,
fei0
for
5100
,
eth0
for
Linux
AIMConfig
(
"AIM1/1"
,
0x9aa
,
1
,
2048
,
1
,
1
,
"dc0"
)
AIMConfig
(
"AIM1/2"
,
0x9aa
,
2
,
2048
,
8
,
1
,
"dc0"
)
# #
Typically
ei0
for
Motorola
68
K
,
dc0
for
ppc
,
eth0
for
Linux
AIMConfig
(
"AIM1/1"
,
0x59e
,
1
,
2048
,
1
,
1
,
"dc0"
)
AIMConfig
(
"AIM1/2"
,
0x59e
,
2
,
2048
,
8
,
1
,
"dc0"
)
AIMConfig
(
"DSA2000"
,
0x8058
,
1
,
2048
,
1
,
1
,
"dc0"
)
dbLoadRecords
(
"$(MCA)/mcaApp/Db/mca.db"
,
"P=xxx:,M=aim_adc1,DTYP=asynMCA,INP=@asyn(AIM1/1 0),NCHAN=2048"
)
dbLoadRecords
(
"$(MCA)/mcaApp/Db/mca.db"
,
"P=xxx:,M=aim_adc2,DTYP=asynMCA,INP=@asyn(AIM1/2 0),NCHAN=2048"
)
dbLoadRecords
(
"$(MCA)/mcaApp/Db/mca.db"
,
"P=xxx:,M=aim_adc3,DTYP=asynMCA,INP=@asyn(AIM1/2 2),NCHAN=2048"
)
dbLoadRecords
(
"$(MCA)/mcaApp/Db/mca.db"
,
"P=xxx:,M=aim_adc4,DTYP=asynMCA,INP=@asyn(AIM1/2 4),NCHAN=2048"
)
dbLoadRecords
(
"$(MCA)/mcaApp/Db/mca.db"
,
"P=xxx:,M=aim_adc5,DTYP=asynMCA,INP=@asyn(AIM1/2 6),NCHAN=2048"
)
dbLoadRecords
(
"$(MCA)/mcaApp/Db/mca.db"
,
"P=xxx:,M=aim_adc6,DTYP=asynMCA,INP=@asyn(DSA2000 0),NCHAN=2048"
)
#
icbConfig
(
portName
,
module
,
ethernetAddress
,
icbAddress
,
moduleType
)
#
icbConfig
(
portName
,
ethernetAddress
,
icbAddress
,
moduleType
)
#
portName
to
give
to
this
asyn
port
#
ethernetAddress
-
Ethernet
address
of
module
,
low
order
16
bits
#
icbAddress
-
rotary
switch
setting
inside
ICB
module
...
...
@@ -34,15 +36,15 @@ dbLoadRecords("$(MCA)/mcaApp/Db/mca.db", "P=xxx:,M=aim_adc5,DTYP=asynMCA,INP=@as
#
2
=
HVPS
#
3
=
TCA
#
4
=
DSP
#
icbConfig
(
"icbAdc1"
,
0x
9aa
,
5
,
0
)
#
dbLoadRecords
(
"$(MCA)/mcaApp/Db/icb_adc.db"
,
"P=xxx:,ADC=adc1,PORT=icbAdc1"
)
#
icbConfig
(
"icbAmp1"
,
0x
9aa
,
3
,
1
)
#
dbLoadRecords
(
"$(MCA)/mcaApp/Db/icb_amp.db"
,
"P=xxx:,AMP=amp1,PORT=icbAmp1"
)
#
icbConfig
(
"icbHvps1"
,
0x
9aa
,
2
,
2
)
#
dbLoadRecords
(
"$(MCA)/mcaApp/Db/icb_hvps.db"
,
"P=xxx:,HVPS=hvps1,PORT=icbHvps1,LIMIT=1000"
)
#
icbConfig
(
"icbTca1"
,
0x
9aa
,
8
,
3
)
#
dbLoadRecords
(
"$(MCA)/mcaApp/Db/icb_tca.db"
,
"P=xxx:,TCA=tca1,MCA=aim_adc2,PORT=icbTca1"
)
#
icbConfig
(
"icbDsp1"
,
0x8058
,
0
,
4
)
#
dbLoadRecords
(
"$(MCA)/mcaApp/Db/icbDsp.db"
,
"P=xxx:,DSP=dsp1,PORT=icbDsp1"
)
icbConfig
(
"icbAdc1"
,
0x
59e
,
5
,
0
)
dbLoadRecords
(
"$(MCA)/mcaApp/Db/icb_adc.db"
,
"P=xxx:,ADC=adc1,PORT=icbAdc1"
)
icbConfig
(
"icbAmp1"
,
0x
59e
,
3
,
1
)
dbLoadRecords
(
"$(MCA)/mcaApp/Db/icb_amp.db"
,
"P=xxx:,AMP=amp1,PORT=icbAmp1"
)
icbConfig
(
"icbHvps1"
,
0x
59e
,
2
,
2
)
dbLoadRecords
(
"$(MCA)/mcaApp/Db/icb_hvps.db"
,
"P=xxx:,HVPS=hvps1,PORT=icbHvps1,LIMIT=1000"
)
icbConfig
(
"icbTca1"
,
0x
59e
,
8
,
3
)
dbLoadRecords
(
"$(MCA)/mcaApp/Db/icb_tca.db"
,
"P=xxx:,TCA=tca1,MCA=aim_adc2,PORT=icbTca1"
)
icbConfig
(
"icbDsp1"
,
0x8058
,
0
,
4
)
dbLoadRecords
(
"$(MCA)/mcaApp/Db/icbDsp.db"
,
"P=xxx:,DSP=dsp1,PORT=icbDsp1"
)
#
END
canberra_1
.cmd
----------------------------------------------------------
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