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
f806ea10
Commit
f806ea10
authored
17 years ago
by
mooney
Browse files
Options
Downloads
Patches
Plain Diff
Commented some stuff out; use motorUtil; specify aCalcArraySize
parent
c0d4121f
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/iocLinux/st.cmd
+14
-10
14 additions, 10 deletions
iocBoot/iocLinux/st.cmd
with
14 additions
and
10 deletions
iocBoot/iocLinux/st.cmd
+
14
−
10
View file @
f806ea10
...
...
@@ -32,18 +32,18 @@ iocxxxLinux_registerRecordDeviceDriver(pdbbase)
#dbLoadTemplate("basic_motor.substitutions")
dbLoadTemplate("motor.substitutions")
dbLoadTemplate("softMotor.substitutions")
dbLoadTemplate("pseudoMotor.substitutions")
#
dbLoadTemplate("pseudoMotor.substitutions")
### Allstop, alldone
# This database must agree with the motors and other positioners you'
ve
actually
loaded
.
#
Several
versions
(
e
.g.
,
all_com_32
.db
)
are
in
stdApp
/Db
dbLoadRecords
(
"$(
STD)/stdApp/Db/all_com_16
.db"
,
"P=xxx:"
)
dbLoadRecords
(
"$(
MOTOR)/db/motorUtil
.db"
,
"P=xxx:"
)
###
Insertion
-device
control
#dbLoadRecords
(
"$(STD)/stdApp/Db/IDctrl.db"
,
"P=xxx:,xx=02us"
)
#
sample
-wheel
dbLoadRecords
(
"$(STD)/stdApp/Db/sampleWheel.db"
,
"P=xxx:,ROWMOTOR=xxx:m7,ANGLEMOTOR=xxx:m8"
)
#
dbLoadRecords
(
"$(STD)/stdApp/Db/sampleWheel.db"
,
"P=xxx:,ROWMOTOR=xxx:m7,ANGLEMOTOR=xxx:m8"
)
###
Scan
-support
software
#
crate
-resident
scan
.
This
executes
1
D
,
2
D
,
3
D
,
and
4
D
scans
,
and
caches
...
...
@@ -53,11 +53,11 @@ dbLoadRecords("$(SSCAN)/sscanApp/Db/scan.db","P=xxx:,MAXPTS1=8000,MAXPTS2=1000,M
# A set of scan parameters for each positioner. This is a convenience
# for the user. It can contain an entry for each scannable thing in the
# crate.
dbLoadTemplate("scanParms.substitutions")
#
dbLoadTemplate("scanParms.substitutions")
### Slits
dbLoadRecords("$(OPTICS)/opticsApp/Db/2slit.db","P=xxx:,SLIT=Slit1V,mXp=m3,mXn=m4")
dbLoadRecords("$(OPTICS)/opticsApp/Db/2slit.db","P=xxx:,SLIT=Slit1H,mXp=m5,mXn=m6")
#
dbLoadRecords("$(OPTICS)/opticsApp/Db/2slit.db","P=xxx:,SLIT=Slit1V,mXp=m3,mXn=m4")
#
dbLoadRecords("$(OPTICS)/opticsApp/Db/2slit.db","P=xxx:,SLIT=Slit1H,mXp=m5,mXn=m6")
# under development...
#dbLoadRecords("$(OPTICS)/opticsApp/Db/2slit_soft.db","P=xxx:,SLIT=Slit2V,mXp=m13,mXn=m14")
...
...
@@ -80,7 +80,7 @@ dbLoadRecords("$(OPTICS)/opticsApp/Db/2slit.db","P=xxx:,SLIT=Slit1H,mXp=m5,mXn=m
### Optical tables
#tableRecordDebug=1
dbLoadRecords("$(OPTICS)/opticsApp/Db/table.db","P=xxx:,Q=Table1,T=table1,M0X=m1,M0Y=m2,M1Y=m3,M2X=m4,M2Y=m5,M2Z=m6,GEOM=SRI")
#
dbLoadRecords("$(OPTICS)/opticsApp/Db/table.db","P=xxx:,Q=Table1,T=table1,M0X=m1,M0Y=m2,M1Y=m3,M2X=m4,M2Y=m5,M2Z=m6,GEOM=SRI")
### Monochromator support ###
# Kohzu and PSL monochromators: Bragg and theta/Y/Z motors
...
...
@@ -113,8 +113,9 @@ dbLoadRecords("$(OPTICS)/opticsApp/Db/table.db","P=xxx:,Q=Table1,T=table1,M0X=m1
dbLoadRecords("$(CALC)/calcApp/Db/userCalcs10.db","P=xxx:")
dbLoadRecords("$(CALC)/calcApp/Db/userCalcOuts10.db","P=xxx:")
dbLoadRecords("$(CALC)/calcApp/Db/userStringCalcs10.db","P=xxx:")
aCalcArraySize=2000
dbLoadRecords("$(CALC)/calcApp/Db/userArrayCalcs10.db","P=xxx:,N=2000")
dbLoadRecords("$(CALC)/calcApp/Db/userTransforms10.db","P=xxx:")
dbLoadRecords("$(CALC)/calcApp/Db/userArrayCalcs10.db","P=xxx:,N=8000")
# extra userCalcs (must also load userCalcs10.db for the enable switch)
dbLoadRecords("$(CALC)/calcApp/Db/userCalcN.db","P=xxx:,N=I_Detector")
dbLoadRecords("$(CALC)/calcApp/Db/userAve10.db","P=xxx:")
...
...
@@ -130,7 +131,7 @@ dbLoadRecords("$(CALC)/calcApp/Db/interp.db", "P=xxx:,N=2000")
dbLoadRecords("$(CALC)/calcApp/Db/arrayTest.db", "P=xxx:,N=2000")
# Slow feedback
dbLoadTemplate "pid_slow.substitutions"
#
dbLoadTemplate "pid_slow.substitutions"
# Miscellaneous PV'
s
,
such
as
burtResult
dbLoadRecords
(
"$(STD)/stdApp/Db/misc.db"
,
"P=xxx:"
)
...
...
@@ -158,7 +159,7 @@ iocInit
#
Keithley
2000
series
DMM
#
channels
:
10
,
20
,
or
22
;
model
:
2000
or
2700
seq
&
Keithley2kDMM
,(
"P=xxx:, Dmm=D1, channels=22, model=2700"
)
#
seq
&
Keithley2kDMM
,(
"P=xxx:, Dmm=D1, channels=22, model=2700"
)
#
X
-ray
Instrumentation
Associates
Huber
Slit
Controller
#
supported
by
a
SNL
program
written
by
Pete
Jemian
and
modified
(
TMM
)
for
use
with
the
...
...
@@ -190,3 +191,6 @@ saveData_Init("saveData.req", "P=xxx:")
dbcar
(
0
,
1
)
#
motorUtil
(
allstop
&
alldone
)
motorUtilInit
(
"xxx:"
)
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