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
83e0ba51
Commit
83e0ba51
authored
13 years ago
by
mooney
Browse files
Options
Downloads
Patches
Plain Diff
R5-6
parent
7b6c9b95
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
iocBoot/iocvxWorks/vme.cmd
+36
-33
36 additions, 33 deletions
iocBoot/iocvxWorks/vme.cmd
with
36 additions
and
33 deletions
iocBoot/iocvxWorks/vme.cmd
+
36
−
33
View file @
83e0ba51
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
#
(
1
)
cards
,
(
2
)
base
address
(
short
,
16
-byte
boundary
),
#
(
1
)
cards
,
(
2
)
base
address
(
short
,
16
-byte
boundary
),
#
(
3
)
interrupt
vector
(
0
=
disable
or
64
-
255
),
(
4
)
interrupt
level
(
1
-
6
),
#
(
3
)
interrupt
vector
(
0
=
disable
or
64
-
255
),
(
4
)
interrupt
level
(
1
-
6
),
#
(
5
)
motor
task
polling
rate
(
min
=
1
Hz
,
max
=
60
Hz
)
#
(
5
)
motor
task
polling
rate
(
min
=
1
Hz
,
max
=
60
Hz
)
omsSetup
(
2
,
0xFC00
,
180
,
5
,
10
)
#
omsSetup
(
2
,
0xFC00
,
180
,
5
,
10
)
#
OMS
VME58
driver
setup
parameters
:
#
OMS
VME58
driver
setup
parameters
:
#
(
1
)
cards
,
(
2
)
base
address
(
short
,
4
k
boundary
),
#
(
1
)
cards
,
(
2
)
base
address
(
short
,
4
k
boundary
),
...
@@ -22,10 +22,10 @@ oms58Setup(2, 0x4000, 190, 5, 10)
...
@@ -22,10 +22,10 @@ oms58Setup(2, 0x4000, 190, 5, 10)
#
(
4
)
interrupt
vector
(
0
=
disable
or
64
-
255
)
.
#
(
4
)
interrupt
vector
(
0
=
disable
or
64
-
255
)
.
#
(
5
)
interrupt
level
(
1
-
6
)
.
#
(
5
)
interrupt
level
(
1
-
6
)
.
#
(
6
)
motor
task
polling
rate
(
min
=
1
Hz
,
max
=
60
Hz
)
.
#
(
6
)
motor
task
polling
rate
(
min
=
1
Hz
,
max
=
60
Hz
)
.
#
!
MAXvSetup
(
1
,
16
,
0xF000
,
190
,
5
,
10
)
#drvMAXvdebug
=
4
#
!
MAXvSetup
(
1
,
24
,
0xF00000
,
190
,
5
,
10
)
MAXvSetup
(
1
,
16
,
0xF000
,
180
,
5
,
10
)
#
!
MAXvSetup
(
1
,
24
,
0xF00000
,
180
,
5
,
10
)
#
!
MAXvSetup
(
1
,
32
,
0xB0000000
,
190
,
5
,
10
)
#
!
MAXvSetup
(
1
,
32
,
0xB0000000
,
190
,
5
,
10
)
#
!
drvMAXvdebug
=
4
#
OMS
MAXv
configuration
string
:
#
OMS
MAXv
configuration
string
:
#
(
1
)
number
of
card
being
configured
(
0
-
14
)
.
#
(
1
)
number
of
card
being
configured
(
0
-
14
)
.
...
@@ -36,8 +36,8 @@ oms58Setup(2, 0x4000, 190, 5, 10)
...
@@ -36,8 +36,8 @@ oms58Setup(2, 0x4000, 190, 5, 10)
#
User
's Manual for LL/LH and PSO/PSE/PSM commands.
#
User
's Manual for LL/LH and PSO/PSE/PSM commands.
#config0="AX LL PSO; AY LL PSO; AZ LL PSO; AT LL PSO; AU LH PSO; AV LH PSO; AR LH PSO; AS LH PSO;"
#config0="AX LL PSO; AY LL PSO; AZ LL PSO; AT LL PSO; AU LH PSO; AV LH PSO; AR LH PSO; AS LH PSO;"
#
!
config0="AX L
H
PS
M
; AY LL PSO; AZ LL PSO; AT LL PSO; AU L
H
PSO; AV L
H
PSO; AR L
H
PSO; AS L
H
PSO;"
config0="AX L
L
PS
O
; AY LL PSO; AZ LL PSO; AT LL PSO; AU L
L
PSO; AV L
L
PSO; AR L
L
PSO; AS L
L
PSO;"
#
!
MAXvConfig(0, config0)
MAXvConfig(0, config0)
### Scalers: Joerger VSC8/16
### Scalers: Joerger VSC8/16
#dbLoadRecords("$(STD)/stdApp/Db/scaler.db","P=xxx:,S=scaler1,OUT=#C1 S0 @,DTYP=Joerger VSC8/16,FREQ=10000000")
#dbLoadRecords("$(STD)/stdApp/Db/scaler.db","P=xxx:,S=scaler1,OUT=#C1 S0 @,DTYP=Joerger VSC8/16,FREQ=10000000")
...
@@ -62,32 +62,35 @@ VSCSetup(2, 0xB0000000, 200)
...
@@ -62,32 +62,35 @@ VSCSetup(2, 0xB0000000, 200)
#dbLoadRecords("$(VME)/vmeApp/Db/IK320card.db","P=xxx:,sw2=card0:,axis=2,switches=41344,irq=3")
#dbLoadRecords("$(VME)/vmeApp/Db/IK320card.db","P=xxx:,sw2=card0:,axis=2,switches=41344,irq=3")
#dbLoadRecords("$(VME)/vmeApp/Db/IK320group.db","P=xxx:,group=5")
#dbLoadRecords("$(VME)/vmeApp/Db/IK320group.db","P=xxx:,group=5")
### Struck 7201 multichannel scaler (same as SIS 3806 multichannel scaler)
# Struck 3820 MCS setup
#mcaRecordDebug = 10
epicsEnvSet("PREFIX", "xxx:3820:")
#devSTR7201Debug = 10
epicsEnvSet("RNAME", "mca")
#drvSTR7201Debug = 10
epicsEnvSet("MAX_SIGNALS", "2")
epicsEnvSet("MAX_CHANS", "2000")
#dbLoadRecords("$(MCA)/mcaApp/Db/Struck8.db","P=xxx:mcs:")
epicsEnvSet("PORT", "SIS3820/1")
#dbLoadRecords("$(MCA)/mcaApp/Db/simple_mca.db","P=xxx:mcs:,M=mca1,DTYP=Struck STR7201 MCS,PREC=3,INP=#C0 S0 @,CHANS=1000")
# For MCA records FIELD=READ, for waveform records FIELD=PROC
#dbLoadRecords("$(MCA)/mcaApp/Db/simple_mca.db","P=xxx:mcs:,M=mca2,DTYP=Struck STR7201 MCS,PREC=3,INP=#C0 S1 @,CHANS=1000")
epicsEnvSet("FIELD", "READ")
#dbLoadRecords("$(MCA)/mcaApp/Db/simple_mca.db","P=xxx:mcs:,M=mca3,DTYP=Struck STR7201 MCS,PREC=3,INP=#C0 S2 @,CHANS=1000")
epicsEnvSet("MODEL", "SIS3820")
#dbLoadRecords("$(MCA)/mcaApp/Db/simple_mca.db","P=xxx:mcs:,M=mca4,DTYP=Struck STR7201 MCS,PREC=3,INP=#C0 S3 @,CHANS=1000")
#dbLoadRecords("$(MCA)/mcaApp/Db/simple_mca.db","P=xxx:mcs:,M=mca5,DTYP=Struck STR7201 MCS,PREC=3,INP=#C0 S4 @,CHANS=1000")
#drvSIS3820Config("Port name", baseAddress, interruptVector, interruptLevel, channels,
#dbLoadRecords("$(MCA)/mcaApp/Db/simple_mca.db","P=xxx:mcs:,M=mca6,DTYP=Struck STR7201 MCS,PREC=3,INP=#C0 S5 @,CHANS=1000")
# signals, use DMA, fifoBufferWords)
#dbLoadRecords("$(MCA)/mcaApp/Db/simple_mca.db","P=xxx:mcs:,M=mca7,DTYP=Struck STR7201 MCS,PREC=3,INP=#C0 S6 @,CHANS=1000")
drvSIS3820Config("$(PORT)", 0xA8000000, 224, 6, $(MAX_CHANS), $(MAX_SIGNALS), 1, 0x2000)
#dbLoadRecords("$(MCA)/mcaApp/Db/simple_mca.db","P=xxx:mcs:,M=mca8,DTYP=Struck STR7201 MCS,PREC=3,INP=#C0 S7 @,CHANS=1000")
# This loads the scaler record and supporting records
# Note the address 0x9000000 does not work on an MVME5100; try 0xA0000000
dbLoadRecords("$(STD)/stdApp/Db/scaler32.db", "P=$(PREFIX), S=scaler1, DTYP=Asyn Scaler, OUT=@asyn($(PORT)), FREQ=50000000")
# STR7201Setup(int numCards, int baseAddress, int interruptVector, int interruptLevel)
#STR7201Setup(2, 0xA0000000, 220, 6)
# This database provides the support for the MCS functions
# STR7201Config(int card, int maxSignals, int maxChans,
dbLoadRecords("$(MCA)/mcaApp/Db/SIS38XX.template", "P=$(PREFIX), PORT=$(PORT), SCALER=$(PREFIX)scaler1")
# int 1=enable internal 25MHZ clock,
# int 1=enable initial software channel advance in MCS external advance mode)
# Load either MCA or waveform records below
#STR7201Config(0, 8, 1000, 1, 1)
# The number of records loaded must be the same as MAX_SIGNALS defined above
# Struck as EPICS scaler
# Load the MCA records
#dbLoadRecords("$(STD)/stdApp/Db/scaler.db","P=xxx:,S=scaler2,OUT=#C0 S0 @,DTYP=Struck STR7201 Scaler,FREQ=25000000")
dbLoadRecords("$(MCA)/mcaApp/Db/simple_mca.db", "P=$(PREFIX), M=$(RNAME)1, DTYP=asynMCA, INP=@asyn($(PORT) 0), PREC=3, CHANS=$(MAX_CHANS)")
dbLoadRecords("$(MCA)/mcaApp/Db/simple_mca.db", "P=$(PREFIX), M=$(RNAME)2, DTYP=asynMCA, INP=@asyn($(PORT) 1), PREC=3, CHANS=$(MAX_CHANS)")
# End Struck 3820 MCS setup
# VMI4116 setup parameters:
# VMI4116 setup parameters:
# (1)cards, (2)base address(short, 36-byte boundary),
# (1)cards, (2)base address(short, 36-byte boundary),
...
@@ -115,7 +118,7 @@ dbLoadRecords("$(VME)/vmeApp/Db/vme.db", "P=xxx:,Q=vme1")
...
@@ -115,7 +118,7 @@ dbLoadRecords("$(VME)/vmeApp/Db/vme.db", "P=xxx:,Q=vme1")
#dbLoadRecords("$(VME)/vmeApp/Db/Acromag_16IO.db", "P=xxx:, A=1, C=0")
#dbLoadRecords("$(VME)/vmeApp/Db/Acromag_16IO.db", "P=xxx:, A=1, C=0")
# Acromag AVME9440 setup parameters:
# Acromag AVME9440 setup parameters:
# devAv
m
e9440Config (ncards,a16base,intvecbase)
# devAve
m
9440Config (ncards,a16base,intvecbase)
#devAvme9440Config(1,0x0400,0x78)
#devAvme9440Config(1,0x0400,0x78)
# Bunch-clock generator
# Bunch-clock generator
...
...
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