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
387419f6
Commit
387419f6
authored
18 years ago
by
mooney
Browse files
Options
Downloads
Patches
Plain Diff
Added channels 2,3,4 of quadEM. Deleted CARD parameter to quadEM.db
parent
09764b29
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/quadEM.cmd
+11
-2
11 additions, 2 deletions
iocBoot/iocvxWorks/quadEM.cmd
with
11 additions
and
2 deletions
iocBoot/iocvxWorks/quadEM.cmd
+
11
−
2
View file @
387419f6
...
...
@@ -13,9 +13,15 @@
#
case
the
quadEM
will
be
read
at
60
Hz
.
#
unidigChan
=
IP
-Unidig
channel
connected
to
quadEM
pulse
output
initQuadEM
(
"quadEM1"
,
0xf000
,
0
,
1000
,
"Unidig1"
,
2
)
initQuadEM
(
"quadEM2"
,
0xf000
,
1
,
1000
,
"Unidig1"
,
2
)
initQuadEM
(
"quadEM3"
,
0xf000
,
2
,
1000
,
"Unidig1"
,
2
)
initQuadEM
(
"quadEM4"
,
0xf000
,
3
,
1000
,
"Unidig1"
,
2
)
#
Use
the
following
if
an
IpUnidig
is
not
being
used
for
interrupts
#
It
will
use
60
Hz
system
clock
instead
#initQuadEM
(
"quadEM1"
,
0xf000
,
0
,
1000
,
0
,
0
)
#initQuadEM
(
"quadEM2"
,
0xf000
,
1
,
1000
,
0
,
0
)
#initQuadEM
(
"quadEM3"
,
0xf000
,
2
,
1000
,
0
,
0
)
#initQuadEM
(
"quadEM4"
,
0xf000
,
3
,
1000
,
0
,
0
)
#
initFastSweep
(
portName
,
inputName
,
maxSignals
,
maxPoints
)
#
portName
=
asyn
port
name
for
this
new
port
(
string
)
...
...
@@ -24,8 +30,11 @@ initQuadEM("quadEM1", 0xf000, 0, 1000, "Unidig1", 2)
#
maxPoints
=
maximum
number
of
channels
per
spectrum
initFastSweep
(
"quadEMSweep"
,
"quadEM1"
,
10
,
2048
)
#
Database
for
ai
records
that
give
average
readings
of
current
,
positions
,
etc
.
dbLoadRecords
(
"$(QUADEM)/quadEMApp/Db/quadEM.db"
,
"P=xxx:, EM=EM1, CARD=0, PORT=quadEM1"
)
#
Databases
for
ai
records
that
give
average
readings
of
current
,
positions
,
etc
.
dbLoadRecords
(
"$(QUADEM)/quadEMApp/Db/quadEM.db"
,
"P=xxx:, EM=EM1, PORT=quadEM1"
)
dbLoadRecords
(
"$(QUADEM)/quadEMApp/Db/quadEM.db"
,
"P=xxx:, EM=EM2, PORT=quadEM2"
)
dbLoadRecords
(
"$(QUADEM)/quadEMApp/Db/quadEM.db"
,
"P=xxx:, EM=EM3, PORT=quadEM3"
)
dbLoadRecords
(
"$(QUADEM)/quadEMApp/Db/quadEM.db"
,
"P=xxx:, EM=EM4, PORT=quadEM4"
)
#
Database
for
FastSweep
(
mca
records
),
i
.e.
quadEM
digital
scope
dbLoadRecords
(
"$(QUADEM)/quadEMApp/Db/quadEM_med.db"
,
"P=xxx:quadEM:,NCHAN=2048,PORT=quadEMSweep"
)
...
...
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