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
da720f5d
Commit
da720f5d
authored
20 years ago
by
mooney
Browse files
Options
Downloads
Patches
Plain Diff
Changes to agree with ipac 2.8
parent
d3ea6842
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/serial.cmd
+29
-15
29 additions, 15 deletions
iocBoot/iocvxWorks/serial.cmd
with
29 additions
and
15 deletions
iocBoot/iocvxWorks/serial.cmd
+
29
−
15
View file @
da720f5d
...
@@ -2,30 +2,37 @@
...
@@ -2,30 +2,37 @@
#
Initialize
Octal
UART
stuff
#
Initialize
Octal
UART
stuff
#
tyGSOctalDrv
(
int
maxModules
)
#
tyGSOctalDrv
(
int
maxModules
)
tyGSOctalDrv
(
1
)
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
,
#
tyGSOctalModuleInit
(
char
*
name
,
char
*
type
,
int
intVec
,
int
carrier
,
int
slot
)
#
name
-
name
by
which
you
want
to
refer
to
this
IndustryPack
module
#
type
-
one
of
"232"
,
"422"
,
"485"
--
the
serial
hardware
standard
the
module
implements
#
intVec
-
interrupt
vector
#
carrier
-
number
of
IP
carrier
(
Carriers
are
numbered
in
the
order
in
which
they
were
#
defined
in
ipacAddXYZ
()
calls
.
)
#
slot
-
location
of
module
on
carrier
--
0
..3
for
slot
A
..slot
D
tyGSOctalModuleInit
(
"UART_0"
,
"232"
,
0x80
,
0
,
0
)
#
int
tyGSAsynInit
(
char
*
port
,
char
*
moduleName
,
int
channel
,
int
baud
,
char
parity
,
int
sbits
,
#
int
dbits
,
char
handshake
,
char
*
eomstr
)
#
int
dbits
,
char
handshake
,
char
*
eomstr
)
tyGSAsynInit
(
"serial1"
,
0
,
0
,
9600
,
'N'
,
2
,
8
,
'N'
,
""
)
/
*
SRS570
*
/
tyGSAsynInit
(
"serial1"
,
"UART_0"
,
0
,
9600
,
'N'
,
2
,
8
,
'N'
,
""
)
/
*
SRS570
*
/
tyGSAsynInit
(
"serial2"
,
0
,
1
,
19200
,
'E'
,
1
,
8
,
'N'
,
""
)
/
*
MKS
*
/
tyGSAsynInit
(
"serial2"
,
"UART_0"
,
1
,
19200
,
'E'
,
1
,
8
,
'N'
,
""
)
/
*
MKS
*
/
tyGSAsynInit
(
"serial3"
,
0
,
2
,
9600
,
'E'
,
1
,
7
,
'N'
,
""
)
/
*
Digitel
*
/
tyGSAsynInit
(
"serial3"
,
"UART_0"
,
2
,
9600
,
'E'
,
1
,
7
,
'N'
,
""
)
/
*
Digitel
*
/
tyGSAsynInit
(
"serial4"
,
0
,
3
,
9600
,
'N'
,
1
,
8
,
'N'
,
""
)
/
*
MPC
*
/
tyGSAsynInit
(
"serial4"
,
"UART_0"
,
3
,
9600
,
'N'
,
1
,
8
,
'N'
,
""
)
/
*
MPC
*
/
tyGSAsynInit
(
"serial5"
,
0
,
4
,
9600
,
'E'
,
1
,
7
,
'N'
,
""
)
/
*
McClennan
PM304
*
/
tyGSAsynInit
(
"serial5"
,
"UART_0"
,
4
,
9600
,
'E'
,
1
,
7
,
'N'
,
""
)
/
*
McClennan
PM304
*
/
tyGSAsynInit
(
"serial6"
,
0
,
5
,
19200
,
'N'
,
1
,
8
,
'N'
,
""
)
/
*
Keithley
2000
*
/
tyGSAsynInit
(
"serial6"
,
"UART_0"
,
5
,
19200
,
'N'
,
1
,
8
,
'N'
,
""
)
/
*
Keithley
2000
*
/
tyGSAsynInit
(
"serial7"
,
0
,
6
,
9600
,
'N'
,
1
,
8
,
'N'
,
""
)
/
*
Oxford
ILM
cryometer
*
/
tyGSAsynInit
(
"serial7"
,
"UART_0"
,
6
,
9600
,
'N'
,
1
,
8
,
'N'
,
""
)
/
*
Oxford
ILM
cryometer
*
/
tyGSAsynInit
(
"serial8"
,
0
,
7
,
19200
,
'N'
,
1
,
8
,
'N'
,
""
)
/
*
Love
controllers
*
/
tyGSAsynInit
(
"serial8"
,
"UART_0"
,
7
,
19200
,
'N'
,
1
,
8
,
'N'
,
""
)
/
*
Love
controllers
*
/
#
Newport
MM4000
driver
setup
parameters
:
#
Newport
MM4000
driver
setup
parameters
:
#
(
1
)
maximum
#
of
controllers
,
#
(
1
)
maximum
#
of
controllers
,
#
(
2
)
motor
task
polling
rate
(
min
=
1
Hz
,
max
=
60
Hz
)
#
(
2
)
motor
task
polling
rate
(
min
=
1
Hz
,
max
=
60
Hz
)
MM4000Setup
(
1
,
10
)
#
MM4000Setup
(
1
,
10
)
#
Newport
MM4000
driver
configuration
parameters
:
#
Newport
MM4000
driver
configuration
parameters
:
#
(
1
)
controller
#
(
1
)
controller
#
(
2
)
asyn
port
name
(
e
.g.
serial1
or
gpib1
)
#
(
2
)
asyn
port
name
(
e
.g.
serial1
or
gpib1
)
#
(
3
)
GPIB
address
(
0
for
serial
)
#
(
3
)
GPIB
address
(
0
for
serial
)
MM4000Config
(
0
,
"serial7"
,
0
)
#
MM4000Config
(
0
,
"serial7"
,
0
)
#
Newport
PM500
driver
setup
parameters
:
#
Newport
PM500
driver
setup
parameters
:
#
(
1
)
maximum
number
of
controllers
in
system
#
(
1
)
maximum
number
of
controllers
in
system
...
@@ -67,10 +74,17 @@ dbLoadTemplate("asynRecord.template")
...
@@ -67,10 +74,17 @@ dbLoadTemplate("asynRecord.template")
#
send
impromptu
message
to
serial
device
,
parse
reply
#
send
impromptu
message
to
serial
device
,
parse
reply
#
(
was
serial_OI_block
)
#
(
was
serial_OI_block
)
#dbLoadRecords
(
"$(IP)/ipApp/Db/deviceCmdReply.db"
,
"P=xxx:,N=1,PORT=serial5,ADDR=0,OMAX=100,IMAX=100"
)
dbLoadRecords
(
"$(IP)/ipApp/Db/deviceCmdReply.db"
,
"P=xxx:,N=1,PORT=serial1,ADDR=0,OMAX=100,IMAX=100"
)
dbLoadRecords
(
"$(IP)/ipApp/Db/deviceCmdReply.db"
,
"P=xxx:,N=2,PORT=serial2,ADDR=0,OMAX=100,IMAX=100"
)
dbLoadRecords
(
"$(IP)/ipApp/Db/deviceCmdReply.db"
,
"P=xxx:,N=3,PORT=serial3,ADDR=0,OMAX=100,IMAX=100"
)
dbLoadRecords
(
"$(IP)/ipApp/Db/deviceCmdReply.db"
,
"P=xxx:,N=4,PORT=serial4,ADDR=0,OMAX=100,IMAX=100"
)
dbLoadRecords
(
"$(IP)/ipApp/Db/deviceCmdReply.db"
,
"P=xxx:,N=5,PORT=serial5,ADDR=0,OMAX=100,IMAX=100"
)
dbLoadRecords
(
"$(IP)/ipApp/Db/deviceCmdReply.db"
,
"P=xxx:,N=6,PORT=serial6,ADDR=0,OMAX=100,IMAX=100"
)
dbLoadRecords
(
"$(IP)/ipApp/Db/deviceCmdReply.db"
,
"P=xxx:,N=7,PORT=serial7,ADDR=0,OMAX=100,IMAX=100"
)
dbLoadRecords
(
"$(IP)/ipApp/Db/deviceCmdReply.db"
,
"P=xxx:,N=8,PORT=serial8,ADDR=0,OMAX=100,IMAX=100"
)
#
Stanford
Research
Systems
SR570
Current
Preamplifier
#
Stanford
Research
Systems
SR570
Current
Preamplifier
#
dbLoadRecords
(
"$(IP)/ipApp/Db/SR570.db"
,
"P=xxx:,A=A1,PORT=serial1"
)
dbLoadRecords
(
"$(IP)/ipApp/Db/SR570.db"
,
"P=xxx:,A=A1,PORT=serial1"
)
#
Lakeshore
DRC
-
93
CA
Temperature
Controller
#
Lakeshore
DRC
-
93
CA
Temperature
Controller
#dbLoadRecords
(
"$(IP)/ipApp/Db/LakeShoreDRC-93CA.db"
,
"P=xxx:,Q=TC1,PORT=serial4"
)
#dbLoadRecords
(
"$(IP)/ipApp/Db/LakeShoreDRC-93CA.db"
,
"P=xxx:,Q=TC1,PORT=serial4"
)
...
...
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