Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Benoit Rousselle
bliss
Commits
1458c163
Commit
1458c163
authored
Dec 02, 2016
by
Jose Tiago Macara Coutinho
Browse files
flowbus: fix error in parameter generation
parent
6ed99602
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
bliss/controllers/flowbus/build_params_csv.py
View file @
1458c163
...
...
@@ -71,9 +71,9 @@ def process(filename):
params
=
OrderedDict
()
with
open
(
filename
)
as
f
:
header
=
f
.
readline
().
split
(
'
\t
'
)
header
=
f
.
readline
().
strip
().
split
(
'
\t
'
)
for
line
in
f
.
readlines
():
pars
=
line
.
split
(
'
\t
'
)
pars
=
line
.
strip
().
split
(
'
\t
'
)
py_pars
=
map
(
to_py
,
pars
)
name
=
py_pars
[
1
]
name_clean
=
''
.
join
(
c
for
c
in
name
.
strip
().
lower
()
if
c
.
isalnum
()
or
c
==
' '
)
...
...
bliss/controllers/flowbus/mapping.py
View file @
1458c163
This diff is collapsed.
Click to expand it.
bliss/controllers/flowbus/parameter_properties.csv
View file @
1458c163
DDE_nb label group0 group1 group2 process parameter type length min max read write poll secured highly_secured default DDE cache
DDE_nb label group0 group1 group2 process parameter type length min max read write poll secured highly_secured default DDE cache
description
1 Identification string 13 0 0 c -2 Yes Yes No No No 7SN999999 identstrng Yes identnr.+softwareversion[+serialnr.]
2 Primary node address 1 0 1 c 0 128 Yes Yes No Yes Yes 0 pna Yes primary node address: network parameter FLOW-BUS
3 Secondary node address 1 0 2 c 0 128 Yes Yes No Yes Yes 0 sna Yes secundary node address: network parameter FLOW-BUS
...
...
@@ -273,7 +273,7 @@ DDE_nb label group0 group1 group2 process parameter type length min max read wri
272 Temperature potmeter 3 116 8 c 0 255 Yes Yes No Yes No 0 TempPotm No Potmeter for sensor temperature compensation
273 Temperature potmeter gain 3 116 9 c 0 255 Yes Yes No Yes No 0 TempGain No Gain for sensor temperature compensation
274 Counter controller overrun correction 16 104 10 f 0 3.40282E+038 Yes Yes No No No 1 CntrCConv No Counter controller overrun correction
275 Counter controller gain 16 104 11 f
275 Counter controller gain 16 104 11 f
0 3.40282E+038 Yes Yes No No No 1 CntrCGain No Counter controller gain
276 Sub fluid number 3 65 1 c 0 255 Yes Yes No No No 0 FluidSub No Sub fluid number
277 Temperature compensation factor 9 116 17 f -3.40282E+038 3.40282E+038 Yes Yes No Yes No 0 FreqTCor No Temperature compensation factor
278 DSP register address 13 116 29 l 0 4294967295 Yes Yes No No No 0 DSPRegI No DSP register address
...
...
Write
Preview
Supports
Markdown
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