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
9d1b9fba
Commit
9d1b9fba
authored
Jun 09, 2017
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ge action AnalogValue, refrence added
parent
95db152a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
xtt/lib/ge/src/ge_dyn.cpp
xtt/lib/ge/src/ge_dyn.cpp
+6
-2
No files found.
xtt/lib/ge/src/ge_dyn.cpp
View file @
9d1b9fba
...
...
@@ -5205,7 +5205,7 @@ void GeAnalogColor::get_attributes( attr_sItem *attrinfo, int *item_count)
attrinfo
[
i
].
type
=
glow_eType_ToneOrColor
;
attrinfo
[
i
++
].
size
=
sizeof
(
limit_type
);
sprintf
(
attrinfo
[
i
].
name
,
"AnalogTone%d.LimitType"
,
inst
);
sprintf
(
attrinfo
[
i
].
name
,
"AnalogTone%d.LimitType"
,
inst
);
attrinfo
[
i
].
value
=
&
limit_type
;
attrinfo
[
i
].
type
=
ge_eAttrType_LimitType
;
attrinfo
[
i
++
].
size
=
sizeof
(
limit_type
);
...
...
@@ -18655,7 +18655,11 @@ int GeSetValue::action( grow_tObject object, glow_tEvent event)
break
;
db
=
dyn
->
parse_attr_name
(
attribute
,
parsed_name
,
&
inverted
,
&
attr_type
,
&
attr_size
);
&
attr_size
);
if
(
parsed_name
[
0
]
==
'&'
)
// Attribute starting with '&' indicates reference
dyn
->
graph
->
get_reference_name
(
parsed_name
,
parsed_name
);
sts
=
graph_attr_string_to_value
(
attr_type
,
value
,
(
void
*
)
&
buf
,
sizeof
(
buf
),
sizeof
(
buf
));
if
(
EVEN
(
sts
))
{
...
...
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