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
b423aa2f
Commit
b423aa2f
authored
20 years ago
by
rivers
Browse files
Options
Downloads
Patches
Plain Diff
New file with CAMAC commands and databases
parent
f873b77e
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/camac.cmd
+47
-0
47 additions, 0 deletions
iocBoot/iocvxWorks/camac.cmd
with
47 additions
and
0 deletions
iocBoot/iocvxWorks/camac.cmd
0 → 100644
+
47
−
0
View file @
b423aa2f
#
CAMAC
hardware
#
Setup
the
ksc2917
hardware
definitions
#
These
are
all
actually
the
defaults
,
so
this
is
not
really
necessary
#
num_cards
,
addrs
,
ivec
,
irq_level
ksc2917_setup
(
1
,
0xFF00
,
0x00A0
,
2
)
#
Initialize
the
CAMAC
library
.
Note
that
this
is
normally
done
automatically
#
in
iocInit
,
but
we
need
to
get
the
CAMAC
routines
working
before
iocInit
#
because
we
need
to
initialize
the
DXP
hardware
.
camacLibInit
###
E500
Motors
#
E500
driver
setup
parameters
:
#
(
1
)
maximum
#
of
controllers
,
#
(
2
)
maximum
#
axis
per
card
#
(
3
)
motor
task
polling
rate
(
min
=
1
Hz
,
max
=
60
Hz
)
E500Setup
(
2
,
8
,
10
)
#
E500
driver
configuration
parameters
:
#
(
1
)
controller
#
(
2
)
branch
#
(
3
)
crate
#
(
4
)
slot
E500Config
(
0
,
0
,
0
,
13
)
E500Config
(
1
,
0
,
0
,
14
)
###
Scalers
:
CAMAC
scaler
#
CAMACScalerSetup
(
int
max_cards
)
/
*
maximum
number
of
logical
cards
*
/
CAMACScalerSetup
(
1
)
#
CAMACScalerConfig
(
int
card
,
/
*
logical
card
*
/
#
int
branch
,
/
*
CAMAC
branch
*
/
#
int
crate
,
/
*
CAMAC
crate
*
/
#
int
timer_type
,
/
*
0
=
RTC
-
018
*
/
#
int
timer_slot
,
/
*
Timer
N
*
/
#
int
counter_type
,
/
*
0
=
QS
-
450
*
/
#
int
counter_slot
)
/
*
Counter
N
*
/
CAMACScalerConfig
(
0
,
0
,
0
,
0
,
20
,
0
,
21
)
dbLoadRecords
(
"$(CAMAC)/camacApp/Db/CamacScaler.db"
,
"P=xxx:,S=scaler1,C=0"
)
dbLoadRecords
(
"$(STD)/stdApp/Db/scaler.db"
,
"P=xxx:,S=scaler1,C=0,DTYP=CAMAC scaler,FREQ=10000000"
)
#
Load
the
DXP
stuff
<
16
element_dxp
.cmd
#
Generic
CAMAC
record
dbLoadRecords
(
"$(CAMAC)/camacApp/Db/generic_camac.db"
,
"P=xxx:,R=camac1,SIZE=2048"
)
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