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
9636f64f
Commit
9636f64f
authored
21 years ago
by
rivers
Browse files
Options
Downloads
Patches
Plain Diff
Changes for 3.14.5
parent
07a06cfb
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
iocBoot/iocvxWorks/st.cmd
+17
-10
17 additions, 10 deletions
iocBoot/iocvxWorks/st.cmd
xxxApp/src/Makefile
+2
-0
2 additions, 0 deletions
xxxApp/src/Makefile
xxxApp/src/xxxVXInclude.dbd
+3
-0
3 additions, 0 deletions
xxxApp/src/xxxVXInclude.dbd
with
22 additions
and
10 deletions
iocBoot/iocvxWorks/st.cmd
+
17
−
10
View file @
9636f64f
#
vxWorks
startup
script
#
If
using
a
PowerPC
CPU
with
more
than
32
MB
of
memory
,
and
not
building
with
longjump
,
then
#
allocate
enough
memory
here
to
force
code
to
load
in
lower
32
MB
mem
=
malloc
(
1024
*
1024
*
96
)
#
for
vxStats
#putenv
"engineer=not me"
...
...
@@ -83,8 +87,8 @@ cd startup
################################################################################
#
Tell
EPICS
all
about
the
record
types
,
device
-support
modules
,
drivers
,
#
etc
.
in
the
software
we
just
loaded
(
xxx
.munch
)
dbLoadDatabase
(
"../../dbd/
ioc
xxxVX.dbd"
)
ioc
xxxVX_registerRecordDeviceDriver
(
pdbbase
)
dbLoadDatabase
(
"../../dbd/xxxVX.dbd"
)
xxxVX_registerRecordDeviceDriver
(
pdbbase
)
#
Love
Controllers
#devLoveDebug
=
1
...
...
@@ -92,13 +96,13 @@ iocxxxVX_registerRecordDeviceDriver(pdbbase)
#dbLoadRecords
(
"$(IP)/ipApp/Db/love.db"
,
"P=xxx:,Q=Love_0,C=0,PORT=PORT2,ADDR=1"
);
#
interpolation
dbLoadRecords
(
"$(
STD)/std
App/Db/interp.db"
,
"P=xxx:"
)
dbLoadRecords
(
"$(
CALC)/calc
App/Db/interp.db"
,
"P=xxx:"
)
#
X
-ray
Instrumentation
Associates
Huber
Slit
Controller
#
supported
by
a
customized
version
of
the
SNL
program
written
by
Pete
Jemian
#dbLoadRecords
(
"$(
STD)/std
App/Db/xia_slit.db"
,
"P=xxx:, HSC=hsc1:"
)
#dbLoadRecords
(
"$(
STD)/std
App/Db/xia_slit.db"
,
"P=xxx:, HSC=hsc2:"
)
#dbLoadRecords
(
"$(
OPTICS)/optics
App/Db/xia_slit.db"
,
"P=xxx:, HSC=hsc1:"
)
#dbLoadRecords
(
"$(
OPTICS)/optics
App/Db/xia_slit.db"
,
"P=xxx:, HSC=hsc2:"
)
#dbLoadRecords
(
"$(IP)/ipApp/Db/generic_serial.db"
,
"P=xxx:,C=0,IPSLOT=a,CHAN=6,BAUD=9600,PRTY=None,DBIT=8,SBIT=1"
)
#####
Pico
Motors
(
Ernest
Williams
MHATT
-CAT
)
...
...
@@ -174,7 +178,7 @@ dbLoadTemplate("scanParms.substitutions")
###############################################################################
###
Scalers
:
Joerger
VSC8
/16
dbLoadRecords
(
"$(
STD)/std
App/Db/Jscaler.db"
,
"P=xxx:,S=scaler1,C=0"
)
dbLoadRecords
(
"$(
VME)/vme
App/Db/Jscaler.db"
,
"P=xxx:,S=scaler1,C=0"
)
#
Joerger
VSC
setup
parameters
:
#
(
1
)
cards
,
(
2
)
base
address
(
ext
,
256
-byte
boundary
),
#
(
3
)
interrupt
vector
(
0
=
disable
or
64
-
255
)
...
...
@@ -340,13 +344,13 @@ dbLoadRecords("$(STD)/stdApp/Db/4step.db", "P=xxx:")
###
serial
support
###
#
generic
serial
ports
#dbLoadRecords
(
"$(IP)/ipApp/Db/generic_serial.db"
,
"P=xxx:,C=0,
IPSLOT=a,CHAN=0,BAUD=9600,PRTY=None,DBIT=8,SBIT=
1"
)
#dbLoadRecords
(
"$(IP)/ipApp/Db/generic_serial.db"
,
"P=xxx:,C=0,
SERVER=serial
1"
)
#
serial
O
/I
block
(
generic
serial
record
with
format
and
parse
string
calcs
)
#
on
epics
/mpf
processor
#dbLoadRecords
(
"$(IP)/ipApp/Db/serial_OI_block.db"
,
"P=xxx:,N=0_1,C=0,
IPSLOT=a,CHAN=4
"
)
#dbLoadRecords
(
"$(IP)/ipApp/Db/serial_OI_block.db"
,
"P=xxx:,N=0_1,C=0,
SERVER=serial5
"
)
#
on
stand
-alone
mpf
processor
#dbLoadRecords
(
"$(IP)/ipApp/Db/serial_OI_block.db"
,
"P=xxx:,N=1_1,C=0,
IPSLOT=a,CHAN=4
"
)
#dbLoadRecords
(
"$(IP)/ipApp/Db/serial_OI_block.db"
,
"P=xxx:,N=1_1,C=0,
SERVER=serial5
"
)
#
Stanford
Research
Systems
SR570
Current
Preamplifier
#dbLoadRecords
(
"$(IP)/ipApp/Db/SR570.db"
,
"P=xxx:,A=A1,C=0,IPSLOT=a,CHAN=0"
)
...
...
@@ -466,7 +470,7 @@ dbLoadTemplate("vxStats.substitutions")
###############################################################################
#
Set
shell
prompt
(
otherwise
it
is
left
at
mv167
or
mv162
)
shellPromptSet
"ioc
xxx
> "
shellPromptSet
"ioc
vxWorks
> "
iocLogDisable
=
1
iocInit
...
...
@@ -512,3 +516,6 @@ saveData_MessagePolicy = 2
saveData_SetCptWait_ms
(
100
)
saveData_Init
(
"saveData.req"
,
"P=xxx:"
)
#saveData_PrintScanInfo
(
"xxx:scan1"
)
#
If
memory
allocated
at
beginning
free
it
now
free
(
mem
)
This diff is collapsed.
Click to expand it.
xxxApp/src/Makefile
+
2
−
0
View file @
9636f64f
...
...
@@ -68,6 +68,8 @@ xxx_vxWorks_LIBS += bruker
xxx_vxWorks_LIBS
+=
camac devCamac
xxx_vxWorks_LIBS
+=
dxp xerxes
xxx_vxWorks_LIBS
+=
oms
xxx_vxWorks_LIBS
+=
love
xxx_vxWorks_LIBS
+=
vxStats
xxx_vxWorks_LIBS
+=
TyGSOctal Ipac
#The following adds support from base/src/vxWorks
xxx_OBJS_vxWorks
+=
$(
EPICS_BASE_BIN
)
/vxComLibrary
...
...
This diff is collapsed.
Click to expand it.
xxxApp/src/xxxVXInclude.dbd
+
3
−
0
View file @
9636f64f
...
...
@@ -4,6 +4,8 @@
include "xxxCommonInclude.dbd"
include "mpfSerialVx.dbd"
include "vmeVXSupport.dbd"
include "sscanVXSupport.dbd"
include "stdVXSupport.dbd"
include "ipVXSupport.dbd"
include "mcaSISSupport.dbd"
...
...
@@ -19,6 +21,7 @@ include "devQuadEM.dbd"
# If not defined in iocxxxInclude.dbd
include "mcaCanberraSupport.dbd"
include "devLove.dbd"
include "tyGSOctal.dbd"
include "drvIpac.dbd"
include "vxStats.dbd"
...
...
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