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
ba0c4abe
Commit
ba0c4abe
authored
20 years ago
by
rivers
Browse files
Options
Downloads
Patches
Plain Diff
New file for APS quad electrometer
parent
5c43ce86
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
iocBoot/iocvxWorks/quadEM.cmd
+33
-0
33 additions, 0 deletions
iocBoot/iocvxWorks/quadEM.cmd
iocBoot/iocvxWorks/quadEM_pid.substitutions
+8
-0
8 additions, 0 deletions
iocBoot/iocvxWorks/quadEM_pid.substitutions
with
41 additions
and
0 deletions
iocBoot/iocvxWorks/quadEM.cmd
0 → 100644
+
33
−
0
View file @
ba0c4abe
#
initQuadEM
(
quadEMName
,
baseAddress
,
fiberChannel
,
microSecondsPerScan
,
#
maxClients
,
unidigName
,
unidigChan
)
#
quadEMName
=
name
of
quadEM
object
created
#
baseAddress
=
base
address
of
VME
card
#
channel
=
0
-
3
,
fiber
channel
number
#
microSecondsPerScan
=
microseconds
to
integrate
.
When
used
with
ipUnidig
#
interrupts
the
unit
is
also
read
at
this
rate
.
#
unidigName
=
name
of
ipInidig
server
if
it
is
used
for
interrupts
.
#
Set
to
0
if
there
is
no
IP
-Unidig
being
used
,
in
which
#
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
)
#
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
)
#
initFastSweep
(
portName
,
inputName
,
maxSignals
,
maxPoints
)
#
portName
=
asyn
port
name
for
this
new
port
(
string
)
#
inputName
=
name
of
asynPort
providing
data
#
maxSignals
=
maximum
number
of
signals
(
spectra
)
#
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"
)
#
Database
for
FastSweep
(
mca
records
),
i
.e.
quadEM
digital
scope
dbLoadRecords
(
"$(QUADEM)/quadEMApp/Db/quadEM_med.db"
,
"P=xxx:quadEM:,NCHAN=2048,PORT=quadEMSweep"
)
dbLoadRecords
(
"$(QUADEM)/quadEMApp/Db/quadEM_med_FFT.db"
,
"P=xxx:quadEM_FFT:,NCHAN=1024"
)
#
Database
for
fast
feedback
using
quadEM
and
dac128V
dbLoadTemplate
(
"quadEM_pid.substitutions"
)
This diff is collapsed.
Click to expand it.
iocBoot/iocvxWorks/quadEM_pid.substitutions
0 → 100644
+
8
−
0
View file @
ba0c4abe
file "$(STD)/stdApp/Db/fast_pid_control.db"
{
pattern
{P, PID, INPUT, ICHAN, OUTPUT, OCHAN, LOPR, HOPR, DRVL, DRVH, PREC, KP, KI, KD, DT, SCAN}
{xxx:, quadEMVertical, quadEM1, 8, DAC1, 2, -32767, 32767, 0, 4095, 3, .02, 100., 0., .001, ".1 second"}
{xxx:, quadEMHorizontal, quadEM1, 9, DAC1, 3, -32767, 32767, 2048, 3072, 3, .02, 100., 0., .001, ".1 second"}
}
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