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
c2009ba2
Commit
c2009ba2
authored
20 years ago
by
mooney
Browse files
Options
Downloads
Patches
Plain Diff
Changed GPIB_OI_block to deviceCmdReply
parent
1d621a09
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
iocBoot/iocvxWorks/st.cmd
+11
-7
11 additions, 7 deletions
iocBoot/iocvxWorks/st.cmd
with
11 additions
and
7 deletions
iocBoot/iocvxWorks/st.cmd
+
11
−
7
View file @
c2009ba2
...
@@ -53,10 +53,13 @@ iocxxxVX_registerRecordDeviceDriver(pdbbase)
...
@@ -53,10 +53,13 @@ iocxxxVX_registerRecordDeviceDriver(pdbbase)
< save_restore.cmd
< save_restore.cmd
# Industry Pack support
# Industry Pack support
#< industryPack.cmd
< industryPack.cmd
# serial support
< serial.cmd
# VME devices
# VME devices
#
< vme.cmd
< vme.cmd
# CAMAC hardware
# CAMAC hardware
#<camac.cmd
#<camac.cmd
...
@@ -71,12 +74,12 @@ dbLoadTemplate("motor.substitutions")
...
@@ -71,12 +74,12 @@ dbLoadTemplate("motor.substitutions")
dbLoadRecords
(
"$(STD)/stdApp/Db/all_com_16.db"
,
"P=xxx:"
)
dbLoadRecords
(
"$(STD)/stdApp/Db/all_com_16.db"
,
"P=xxx:"
)
###
Insertion
-device
control
###
Insertion
-device
control
dbLoadRecords
(
"$(STD)/stdApp/Db/IDctrl.db"
,
"P=xxx:,xx=02us"
)
#
dbLoadRecords
(
"$(STD)/stdApp/Db/IDctrl.db"
,
"P=xxx:,xx=02us"
)
###
Scan
-support
software
###
Scan
-support
software
#
crate
-resident
scan
.
This
executes
1
D
,
2
D
,
3
D
,
and
4
D
scans
,
and
caches
#
crate
-resident
scan
.
This
executes
1
D
,
2
D
,
3
D
,
and
4
D
scans
,
and
caches
#
1
D
data
,
but
it
doesn
't store anything to disk. (See '
saveData
' below for that.)
#
1
D
data
,
but
it
doesn
't store anything to disk. (See '
saveData
' below for that.)
dbLoadRecords("$(SSCAN)/sscanApp/Db/scan.db","P=xxx:,MAXPTS1=8000,MAXPTS2=
2
00,MAXPTS3=10,MAXPTS4=10,MAXPTSH=8000")
dbLoadRecords("$(SSCAN)/sscanApp/Db/scan.db","P=xxx:,MAXPTS1=8000,MAXPTS2=
10
00,MAXPTS3=10,MAXPTS4=10,MAXPTSH=8000")
# A set of scan parameters for each positioner. This is a convenience
# 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
# for the user. It can contain an entry for each scannable thing in the
...
@@ -152,8 +155,9 @@ dbLoadRecords("$(CALC)/calcApp/Db/interp.db", "P=xxx:,N=2000")
...
@@ -152,8 +155,9 @@ dbLoadRecords("$(CALC)/calcApp/Db/interp.db", "P=xxx:,N=2000")
dbLoadRecords("$(CALC)/calcApp/Db/arrayTest.db", "P=xxx:,N=2000")
dbLoadRecords("$(CALC)/calcApp/Db/arrayTest.db", "P=xxx:,N=2000")
### GPIB support ###
### GPIB support ###
# GPIB O/I block (generic gpib record with format and parse string calcs)
# send impromptu message to gpib device, parse reply
#dbLoadRecords("$(IP)/ipApp/Db/GPIB_OI_block.db","P=xxx:,N=1,L=10")
# (was GPIB_OI_block)
#dbLoadRecords("$(IP)/ipApp/Db/deviceCmdReply.db","P=xxx:,N=1,PORT=gpib1,ADDR=1,OMAX=100,IMAX=100")
# Heidenhain AWE1024 at GPIB address $(A)
# Heidenhain AWE1024 at GPIB address $(A)
#dbLoadRecords("$(IP)/ipApp/Db/HeidAWE1024.db", "P=xxx:,L=10,A=6")
#dbLoadRecords("$(IP)/ipApp/Db/HeidAWE1024.db", "P=xxx:,L=10,A=6")
...
@@ -209,13 +213,13 @@ seq &hrCtl, "P=xxx:, N=1, M_PHI1=m9, M_PHI2=m10, logfile=hrCtl1.log"
...
@@ -209,13 +213,13 @@ seq &hrCtl, "P=xxx:, N=1, M_PHI1=m9, M_PHI2=m10, logfile=hrCtl1.log"
#
The
task
is
actually
named
"save_restore"
.
#
The
task
is
actually
named
"save_restore"
.
#
Note
that
you
can
reload
these
sets
after
creating
them
:
e
.g.
,
#
Note
that
you
can
reload
these
sets
after
creating
them
:
e
.g.
,
#
reload_monitor_set
(
"auto_settings.req"
,
30
,
"P=xxx:"
)
#
reload_monitor_set
(
"auto_settings.req"
,
30
,
"P=xxx:"
)
#save_restoreDebug
=
20
#
#
#
save
positions
every
five
seconds
#
save
positions
every
five
seconds
create_monitor_set
(
"auto_positions.req"
,
5
,
"P=xxx:"
)
create_monitor_set
(
"auto_positions.req"
,
5
,
"P=xxx:"
)
#
save
other
things
every
thirty
seconds
#
save
other
things
every
thirty
seconds
create_monitor_set
(
"auto_settings.req"
,
30
,
"P=xxx:"
)
create_monitor_set
(
"auto_settings.req"
,
30
,
"P=xxx:"
)
###
Start
the
saveData
task
.
###
Start
the
saveData
task
.
#
saveData_MessagePolicy
#
saveData_MessagePolicy
#
0
:
wait
forever
for
space
in
message
queue
,
then
send
message
#
0
:
wait
forever
for
space
in
message
queue
,
then
send
message
...
...
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