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
c52a09b2
Commit
c52a09b2
authored
18 years ago
by
mooney
Browse files
Options
Downloads
Patches
Plain Diff
comments
parent
3ec8e8f3
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/gpib.cmd
+16
-0
16 additions, 0 deletions
iocBoot/iocvxWorks/gpib.cmd
with
16 additions
and
0 deletions
iocBoot/iocvxWorks/gpib.cmd
+
16
−
0
View file @
c52a09b2
...
...
@@ -4,6 +4,18 @@
#
SBS
IP488
GPIB
#
gsIP488Configure
(
char
*
portName
,
int
carrier
,
int
module
,
int
vector
,
#
unsigned
int
priority
,
int
noAutoConnect
)
#
portName
-
An
ascii
string
specifying
the
port
name
that
will
be
#
registered
with
asynDriver
.
#
carrier
-
An
integer
identifying
the
Industry
Pack
Carrier
(
numbered
#
from
0
)
#
module
-
An
integer
identifying
the
module
on
the
carrier
(
numbered
#
from
0
)
#
intVec
-
An
integer
specifying
the
interrupt
vector
#
priority
-
An
integer
specifying
the
priority
of
the
portThread
.
A
value
#
of
0
will
result
in
a
defalt
value
being
assigned
#
noAutoConnect
-
Zero
or
missing
indicates
that
portThread
should
automatically
#
connect
.
Non
-zero
if
explicit
connect
command
must
be
issued
.
gsIP488Configure
(
"gpib1"
,
1
,
1
,
0x69
,
0
,
0
)
#
GPIB
addresses
:
1
=
Tektronix
scope
,
2
=
Keithley
2000
,
3
=
Fluke
meter
...
...
@@ -30,6 +42,10 @@ dbLoadRecords("$(IP)/ipApp/Db/Keithley2kDMM_mf.db","P=xxx:,Dmm=D2,PORT=gpib1 2")
#
(
was
GPIB_OI_block
)
#dbLoadRecords
(
"$(IP)/ipApp/Db/deviceCmdReply.db"
,
"P=xxx:,N=1,PORT=gpib1,ADDR=1,OMAX=100,IMAX=100"
)
#
Second
gpib
module
dedicated
to
devSkeletonGpib
Link
-
10
devices
#
gsIP488Configure
(
char
*
portName
,
int
carrier
,
int
module
,
int
vector
,
#
unsigned
int
priority
,
int
noAutoConnect
)
#gsIP488Configure
(
"L10"
,
1
,
2
,
0x6A
,
0
,
0
)
#
Heidenhain
AWE1024
at
GPIB
address
$
(
A
)
#dbLoadRecords
(
"$(IP)/ipApp/Db/HeidAWE1024.db"
,
"P=xxx:,L=10,A=6"
)
...
...
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