Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lebt-alisson-scanner
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
icshwi
lebt-alisson-scanner
Commits
c0871de8
Commit
c0871de8
authored
8 years ago
by
vagrant
Browse files
Options
Downloads
Patches
Plain Diff
update startup for catania
parent
f15bcbcc
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
startup/EMU.cmd
+18
-19
18 additions, 19 deletions
startup/EMU.cmd
with
18 additions
and
19 deletions
startup/EMU.cmd
+
18
−
19
View file @
c0871de8
...
...
@@ -4,10 +4,11 @@ require singlemotion,1.4.6
require
mrfioc2
,
2
.7.13
require
pev
,
0
.1.1
require
ecat2db
,
0
.3.1
require
FastAcquisition
,
1
.1.0
require
DataAcquisition
,
1
.0.1
require
emu
,
jfdenis
require
fastacquisition
,
1
.1.0
require
dataacquisition
,
1
.0.1
require
emu
,
catane
require
emu
-motor-test
,
catane
require
tpmac
,
3
.11.2
###
MACROS
###
...
...
@@ -49,7 +50,7 @@ epicsEnvSet("MOTOR_ERROR4", "0" )
#
EVG
Macros
epicsEnvSet
(
"SYS"
"SYS0"
)
epicsEnvSet
(
"EVG"
"EVG0"
)
#####NOT
NEEDED
AT
CATANIA
epicsEnvSet
(
"EVG"
"EVG0"
)
epicsEnvSet
(
"EVG_VMESLOT"
"8"
)
#
EVR
Macros
...
...
@@ -77,12 +78,12 @@ epicsEnvSet("SCAN_POINTS_SLIT", "100" )
epicsEnvSet
(
EPICS_CA_MAX_ARRAY_BYTES
,
4000000
)
#
Connection
to
PMAC
and
setup
for
$
(
NUM_MOTORS
)
motors
pmacAsynIPConfigure
(
$
(
PMACPORT
),
"10.
2.139.237
:1025"
)
pmacAsynIPConfigure
(
$
(
PMACPORT
),
"10.
10.3.43
:1025"
)
pmacCreateController
(
$
(
MOTOR_PORT
),
$
(
PMACPORT
),
0
,
$
(
NB_AXES
),
50
,
300
)
pmacCreateAxis
(
$
(
MOTOR_PORT
),
$
(
AXIS_NO1
))
#
Initialize
EVG
mrmEvgSetupVME
(
$
(
EVG
),
$
(
EVG_VMESLOT
),
0x100000
,
1
,
0x01
)
#####NOT
NEEDED
AT
CATANIA
mrmEvgSetupVME
(
$
(
EVG
),
$
(
EVG_VMESLOT
),
0x100000
,
1
,
0x01
)
#
Initialize
EVR
mrmEvrSetupPCI
(
$
(
EVR
),
$
(
EVR_PCIDOMAIN
),
$
(
EVR_PCIBUS
),
$
(
EVR_PCIDEVICE
),
$
(
EVR_PCIFUNCTION
))
...
...
@@ -93,13 +94,13 @@ ndsCreateDevice(ifcdaq, CARD0, card=0, fmc=2)
###
LOAD
RECORDS
###
#Load
EVG
records
dbLoadRecords
(
"evg-vme-230.db"
,
"DEVICE=$(EVG), SYS=$(SYS)"
)
#####NOT
NEEDED
AT
CATANIA
dbLoadRecords
(
"evg-vme-230.db"
,
"DEVICE=$(EVG), SYS=$(SYS)"
)
#Load
EVR
records
dbLoadRecords
(
"evr-pmc-230.db"
,
"DEVICE=$(EVR), SYS=$(SYS)"
)
dbLoadRecords
(
"evr-softEvent.template"
,
"DEVICE=$(EVR), SYS=$(SYS), EVT=$(EVR_PUL0_EVENT), CODE=$(EVR_PUL0_EVENT)"
)
dbLoadRecords
(
"evr-pulserMap.template"
,
"DEVICE=$(EVR), SYS=$(SYS), EVT=$(EVR_PUL0_EVENT), PID=0, F=Trig, ID=0"
)
dbLoadRecords
(
"evr-pulserMap.template"
,
"DEVICE=$(EVR), SYS=$(SYS), EVT=$(EVR_PUL0_EVENT), PID=1, F=Trig, ID=1"
)
#####NOT
NEEDED
AT
CATANIA
dbLoadRecords
(
"evr-pulserMap.template"
,
"DEVICE=$(EVR), SYS=$(SYS), EVT=$(EVR_PUL0_EVENT), PID=1, F=Trig, ID=1"
)
#
#
Load
Single
motions
records
...
...
@@ -168,11 +169,9 @@ dbpf $(DAQPREFIX):PBI-EM-HV2:VoltR_Y.TSEL $(SYS)-$(EVR):Event-$(EVR_PUL0_EVENT)-
##########
TIMING
GENERATOR
:
setup
TrgSrc0
to
EVENT
14
######
##
Internal
trigger
from
Mxc1
-
TrgSrc0
dbpf
$
(
SYS
)-
$
(
EVG
)
:TrigEvt
0
-EvtCode-SP
$
(
EVR_PUL0_EVENT
)
dbpf
$
(
SYS
)-
$
(
EVG
)
:Mxc
1
-Frequency-SP
14
dbpf
$
(
SYS
)-
$
(
EVG
)
:Mxc
1
-TrigSrc
0
-SP
"Set"
#dbpf $
(
SYS
)-
$
(
EVG
)
:ResetMxc
-Cmd
1
#dbpf $
(
SYS
)-
$
(
EVG
)
:SoftEvt
-Enable-Sel
1
#####NOT
NEEDED
AT
CATANIA
dbpf
$
(
SYS
)-
$
(
EVG
)
:TrigEvt
0
-EvtCode-SP
$
(
EVR_PUL0_EVENT
)
#####NOT
NEEDED
AT
CATANIA
dbpf
$
(
SYS
)-
$
(
EVG
)
:Mxc
1
-Frequency-SP
14
#####NOT
NEEDED
AT
CATANIA
dbpf
$
(
SYS
)-
$
(
EVG
)
:Mxc
1
-TrigSrc
0
-SP
"Set"
###
Setup
EVR
##set
the
pulser
0
to
trigger
on
output
0
...
...
@@ -186,11 +185,11 @@ dbpf $(SYS)-$(EVR):FrontOut0-Ena-SP "Enabled"
###
Setup
EVR
##set
the
pulser
1
to
trigger
on
output
1
for
BETSI
##########
TIMING
RECEIVER
:
setup
OUT0
##############
dbpf
$
(
SYS
)-
$
(
EVR
)
:FrontOut
1
-Src-SP
1
dbpf
$
(
SYS
)-
$
(
EVR
)
:Pul
1
-Evt-Trig
1
-SP
$
(
EVR_PUL0_EVENT
)
dbpf
$
(
SYS
)-
$
(
EVR
)
:Pul
1
-Width-SP
20000
dbpf
$
(
SYS
)-
$
(
EVR
)
:Pul
1
-Delay-SP
0
dbpf
$
(
SYS
)-
$
(
EVR
)
:FrontOut
1
-Ena-SP
"Enabled"
#####NOT
NEEDED
AT
CATANIA
dbpf
$
(
SYS
)-
$
(
EVR
)
:FrontOut
1
-Src-SP
1
#####NOT
NEEDED
AT
CATANIA
dbpf
$
(
SYS
)-
$
(
EVR
)
:Pul
1
-Evt-Trig
1
-SP
$
(
EVR_PUL0_EVENT
)
#####NOT
NEEDED
AT
CATANIA
dbpf
$
(
SYS
)-
$
(
EVR
)
:Pul
1
-Width-SP
20000
#####NOT
NEEDED
AT
CATANIA
dbpf
$
(
SYS
)-
$
(
EVR
)
:Pul
1
-Delay-SP
0
#####NOT
NEEDED
AT
CATANIA
dbpf
$
(
SYS
)-
$
(
EVR
)
:FrontOut
1
-Ena-SP
"Enabled"
#dbpf $
(
SYS
)-
$
(
EVR
)
:Time
-I
.TSE
-
2
...
...
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