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
03f3c226
Commit
03f3c226
authored
20 years ago
by
rivers
Browse files
Options
Downloads
Patches
Plain Diff
New file with serial commands and databases
parent
ba0c4abe
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/serial.cmd
+117
-0
117 additions, 0 deletions
iocBoot/iocvxWorks/serial.cmd
with
117 additions
and
0 deletions
iocBoot/iocvxWorks/serial.cmd
0 → 100644
+
117
−
0
View file @
03f3c226
###############################################################################
#
Initialize
Octal
UART
stuff
#
tyGSOctalDrv
(
int
maxModules
)
tyGSOctalDrv
(
1
)
#tyGSOctalModuleInit
(
char
*
name
,
int
interruptVector
,
int
carrier
,
int
slot
)
tyGSOctalModuleInit
(
"GSIP_OCTAL232"
,
0x80
,
0
,
0
)
#
int
tyGSAsynInit
(
char
*
port
,
int
uart
,
int
channel
,
int
baud
,
char
parity
,
int
sbits
,
#
int
dbits
,
char
handshake
,
char
*
eomstr
)
tyGSAsynInit
(
"serial1"
,
0
,
0
,
9600
,
'N'
,
2
,
8
,
'N'
,
""
)
/
*
SRS570
*
/
tyGSAsynInit
(
"serial2"
,
0
,
1
,
19200
,
'E'
,
1
,
8
,
'N'
,
""
)
/
*
MKS
*
/
tyGSAsynInit
(
"serial3"
,
0
,
2
,
9600
,
'E'
,
1
,
7
,
'N'
,
""
)
/
*
Digitel
*
/
tyGSAsynInit
(
"serial4"
,
0
,
3
,
9600
,
'N'
,
1
,
8
,
'N'
,
""
)
/
*
MPC
*
/
tyGSAsynInit
(
"serial5"
,
0
,
4
,
9600
,
'E'
,
1
,
7
,
'N'
,
""
)
/
*
McClennan
PM304
*
/
tyGSAsynInit
(
"serial6"
,
0
,
5
,
19200
,
'N'
,
1
,
8
,
'N'
,
""
)
/
*
Keithley
2000
*
/
tyGSAsynInit
(
"serial7"
,
0
,
6
,
9600
,
'N'
,
1
,
8
,
'N'
,
""
)
/
*
Oxford
ILM
cryometer
*
/
tyGSAsynInit
(
"serial8"
,
0
,
7
,
19200
,
'N'
,
1
,
8
,
'N'
,
""
)
/
*
Love
controllers
*
/
#
Newport
MM4000
driver
setup
parameters
:
#
(
1
)
maximum
#
of
controllers
,
#
(
2
)
motor
task
polling
rate
(
min
=
1
Hz
,
max
=
60
Hz
)
MM4000Setup
(
1
,
10
)
#
Newport
MM4000
driver
configuration
parameters
:
#
(
1
)
controller
#
(
2
)
asyn
port
name
(
e
.g.
serial1
or
gpib1
)
#
(
3
)
GPIB
address
(
0
for
serial
)
MM4000Config
(
0
,
"serial7"
,
0
)
#
Newport
PM500
driver
setup
parameters
:
#
(
1
)
maximum
number
of
controllers
in
system
#
(
2
)
motor
task
polling
rate
(
min
=
1
Hz
,
max
=
60
Hz
)
#PM500Setup
(
1
,
10
)
#
Newport
PM500
configuration
parameters
:
#
(
1
)
controller
#
(
2
)
asyn
port
name
(
e
.g.
serial1
or
gpib1
)
#PM500Config
(
0
,
"serial3"
)
#
McClennan
PM304
driver
setup
parameters
:
#
(
1
)
maximum
number
of
controllers
in
system
#
(
2
)
motor
task
polling
rate
(
min
=
1
Hz
,
max
=
60
Hz
)
#PM304Setup
(
1
,
10
)
#
McClennan
PM304
driver
configuration
parameters
:
#
(
1
)
controller
being
configured
#
(
2
)
MPF
serial
server
name
(
string
)
#
(
3
)
Number
of
axes
on
this
controller
#PM304Config
(
0
,
"serial4"
,
1
)
#
ACS
MCB
-
4
B
driver
setup
parameters
:
#
(
1
)
maximum
number
of
controllers
in
system
#
(
2
)
motor
task
polling
rate
(
min
=
1
Hz
,
max
=
60
Hz
)
#MCB4BSetup
(
1
,
10
)
#
ACS
MCB
-
4
B
driver
configuration
parameters
:
#
(
1
)
controller
being
configured
#
(
2
)
asyn
port
name
(
string
)
#MCB4BConfig
(
0
,
"serial5"
)
#####
Pico
Motors
(
Ernest
Williams
MHATT
-CAT
)
#####
Motors
(
see
picMot
.substitutions
in
same
directory
as
this
file
)
####
#dbLoadTemplate
(
"picMot.substitutions"
)
#
Load
asynRecord
records
on
all
ports
dbLoadTemplate
(
"asynRecord.template"
)
#
serial
O
/I
block
(
asyn
record
with
format
and
parse
string
calcs
)
#dbLoadRecords
(
"$(IP)/ipApp/Db/serial_OI_block.db"
,
"P=xxx:,N=0_1,PORT=serial5"
)
#
Stanford
Research
Systems
SR570
Current
Preamplifier
#dbLoadRecords
(
"$(IP)/ipApp/Db/SR570.db"
,
"P=xxx:,A=A1,PORT=serial1"
)
#
Lakeshore
DRC
-
93
CA
Temperature
Controller
#dbLoadRecords
(
"$(IP)/ipApp/Db/LakeShoreDRC-93CA.db"
,
"P=xxx:,Q=TC1,PORT=serial4"
)
#
Huber
DMC9200
DC
Motor
Controller
#dbLoadRecords
(
"$(IP)/ipApp/Db/HuberDMC9200.db"
,
"P=xxx:,Q=DMC1:,PORT=serial5"
)
#
Oriel
18011
Encoder
Mike
#dbLoadRecords
(
"$(IP)/ipApp/Db/eMike.db"
,
"P=xxx:,M=em1,PORT=serial3"
)
#
Keithley
2000
DMM
#dbLoadRecords
(
"$(IP)/ipApp/Db/Keithley2kDMM_mf.db"
,
"P=xxx:,Dmm=D1,PORT=serial1"
)
#
Oxford
Cyberstar
X1000
Scintillation
detector
and
pulse
processing
unit
#dbLoadRecords
(
"$(IP)/ipApp/Db/Oxford_X1k.db"
,
"P=xxx:,S=s1,PORT=serial4"
)
#
Oxford
ILM202
Cryogen
Level
Meter
(
Serial
)
#dbLoadRecords
(
"$(IP)/ipApp/Db/Oxford_ILM202.db"
,
"P=xxx:,S=s1,PORT=serial5"
)
#
Elcomat
autocollimator
#dbLoadRecords
(
"$(IP)/ipApp/Db/Elcomat.db"
,
"P=xxx:,PORT=serial8"
)
#
Eurotherm
temp
controller
#dbLoadRecords
(
"$(IP)/ipApp/Db/Eurotherm.db"
,
"P=xxx:,PORT=serial7"
)
#
MKS
vacuum
gauges
#dbLoadRecords
(
"$(IP)/ipApp/Db/MKS.db"
,
"P=xxx:,PORT=serial2,CC1=cc1,CC2=cc3,PR1=pr1,PR2=pr3"
)
#
PI
Digitel
500
/1500
pump
#dbLoadRecords
(
"$(IP)/ipApp/Db/Digitel.db"
,
"xxx:,PUMP=ip1,PORT=serial3"
)
#
PI
MPC
ion
pump
#dbLoadRecords
(
"$(IP)/ipApp/Db/MPC.db"
,
"P=xxx:,PUMP=ip2,PORT=serial4,PA=0,PN=1"
)
#
PI
MPC
TSP
(
titanium
sublimation
pump
)
#dbLoadRecords
(
"$(IP)/ipApp/Db/TSP.db"
,
"P=xxx:,TSP=tsp1,PORT=serial4,PA=0"
)
#
Heidenhain
ND261
encoder
(
for
PSL
monochromator
)
#dbLoadRecords
(
"$(IP)/ipApp/Db/heidND261.db"
,
"P=xxx:,PORT=serial1"
)
#
Love
Controllers
#devLoveDebug
=
1
#loveServerDebug
=
1
#dbLoadRecords
(
"$(IP)/ipApp/Db/love.db"
,
"P=xxx:,Q=Love_0,C=0,PORT=PORT2,ADDR=1"
)
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