Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
e1ccf218
Commit
e1ccf218
authored
Jun 17, 2004
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some additional changes for Io and Ii
parent
f46e20e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
14 deletions
+23
-14
src/lib/rt/src/rt_io_base.c
src/lib/rt/src/rt_io_base.c
+23
-14
No files found.
src/lib/rt/src/rt_io_base.c
View file @
e1ccf218
...
...
@@ -54,18 +54,14 @@ pwr_dImport pwr_BindIoMethods(Ao_HVAO4);
pwr_dImport
pwr_BindIoMethods
(
Ai_HVAI32
);
pwr_dImport
pwr_BindIoMethods
(
Ai_AI32uP
);
pwr_dImport
pwr_BindIoMethods
(
Co_PI24BO
);
#if defined(OS_LYNX)
pwr_dImport
pwr_BindIoMethods
(
Pb_Profiboard
);
pwr_dImport
pwr_BindIoMethods
(
Pb_DP_Slave
);
pwr_dImport
pwr_BindIoMethods
(
Pb_ET200M
);
pwr_dImport
pwr_BindIoMethods
(
Pb_NPBA12
);
pwr_dImport
pwr_BindIoMethods
(
Pb_Euro2500
);
pwr_dImport
pwr_BindIoMethods
(
Pb_Di
);
pwr_dImport
pwr_BindIoMethods
(
Pb_Do
);
pwr_dImport
pwr_BindIoMethods
(
Pb_Ai
);
pwr_dImport
pwr_BindIoMethods
(
Pb_Ao
);
#endif
pwr_dImport
pwr_BindIoMethods
(
Pb_Ii
);
pwr_dImport
pwr_BindIoMethods
(
Pb_Io
);
pwr_BindIoClasses
(
Base
)
=
{
pwr_BindIoClass
(
Node
),
...
...
@@ -76,17 +72,14 @@ pwr_BindIoClasses(Base) = {
pwr_BindIoClass
(
Ai_HVAI32
),
pwr_BindIoClass
(
Ai_AI32uP
),
pwr_BindIoClass
(
Co_PI24BO
),
#if defined(OS_LYNX)
pwr_BindIoClass
(
Pb_Profiboard
),
pwr_BindIoClass
(
Pb_DP_Slave
),
pwr_BindIoClass
(
Pb_ET200M
),
pwr_BindIoClass
(
Pb_NPBA12
),
pwr_BindIoClass
(
Pb_Euro2500
),
pwr_BindIoClass
(
Pb_Di
),
pwr_BindIoClass
(
Pb_Do
),
pwr_BindIoClass
(
Pb_Ai
),
pwr_BindIoClass
(
Pb_Ao
),
#endif
pwr_BindIoClass
(
Pb_Ii
),
pwr_BindIoClass
(
Pb_Io
),
pwr_NullClass
};
...
...
@@ -1218,7 +1211,7 @@ static pwr_tStatus io_init_card(
pwr_tStatus
(
*
CardWrite
)
();
char
cname
[
140
];
char
attrname
[
140
];
pwr_tUInt32
process
;
pwr_tUInt32
process
=
0
;
io_sCard
*
cp
;
io_sCard
*
clp
;
pwr_sAttrRef
attrref
;
...
...
@@ -1359,6 +1352,14 @@ static pwr_tStatus io_init_card(
sigchancon
=
((
pwr_sClass_ChanDi
*
)
chan_op
)
->
SigChanCon
;
number
=
((
pwr_sClass_ChanDi
*
)
chan_op
)
->
Number
;
break
;
case
pwr_cClass_ChanIi
:
sigchancon
=
((
pwr_sClass_ChanIi
*
)
chan_op
)
->
SigChanCon
;
number
=
((
pwr_sClass_ChanIi
*
)
chan_op
)
->
Number
;
break
;
case
pwr_cClass_ChanIo
:
sigchancon
=
((
pwr_sClass_ChanIo
*
)
chan_op
)
->
SigChanCon
;
number
=
((
pwr_sClass_ChanIo
*
)
chan_op
)
->
Number
;
break
;
case
pwr_cClass_ChanCo
:
sigchancon
=
((
pwr_sClass_ChanCo
*
)
chan_op
)
->
SigChanCon
;
number
=
((
pwr_sClass_ChanCo
*
)
chan_op
)
->
Number
;
...
...
@@ -1438,6 +1439,14 @@ static pwr_tStatus io_init_card(
chanp
->
vbp
=
gdh_TranslateRtdbPointer
(
(
pwr_tUInt32
)
((
pwr_sClass_Ao
*
)
sig_op
)
->
ActualValue
);
break
;
case
pwr_cClass_Ii
:
chanp
->
vbp
=
gdh_TranslateRtdbPointer
(
(
pwr_tUInt32
)
((
pwr_sClass_Ii
*
)
sig_op
)
->
ActualValue
);
break
;
case
pwr_cClass_Io
:
chanp
->
vbp
=
gdh_TranslateRtdbPointer
(
(
pwr_tUInt32
)
((
pwr_sClass_Io
*
)
sig_op
)
->
ActualValue
);
break
;
case
pwr_cClass_Co
:
chanp
->
vbp
=
gdh_TranslateRtdbPointer
(
(
pwr_tUInt32
)
((
pwr_sClass_Co
*
)
sig_op
)
->
RawValue
);
...
...
@@ -1488,7 +1497,7 @@ static pwr_tStatus io_init_rack(
pwr_tStatus
(
*
AgentWrite
)
();
char
rname
[
140
];
char
attrname
[
140
];
pwr_tUInt32
process
;
pwr_tUInt32
process
=
0
;
io_sRack
*
rp
;
io_sRack
*
rlp
;
pwr_sAttrRef
attrref
;
...
...
@@ -1613,7 +1622,7 @@ static pwr_tStatus io_init_agent(
pwr_tStatus
(
*
AgentWrite
)
();
char
aname
[
140
];
char
attrname
[
140
];
pwr_tUInt32
process
;
pwr_tUInt32
process
=
0
;
io_sAgent
*
ap
;
io_sAgent
*
alp
;
pwr_sAttrRef
attrref
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment