Commit 1458c163 authored by Jose Tiago Macara Coutinho's avatar Jose Tiago Macara Coutinho
Browse files

flowbus: fix error in parameter generation

parent 6ed99602
...@@ -71,9 +71,9 @@ def process(filename): ...@@ -71,9 +71,9 @@ def process(filename):
params = OrderedDict() params = OrderedDict()
with open(filename) as f: with open(filename) as f:
header = f.readline().split('\t') header = f.readline().strip().split('\t')
for line in f.readlines(): for line in f.readlines():
pars = line.split('\t') pars = line.strip().split('\t')
py_pars = map(to_py, pars) py_pars = map(to_py, pars)
name = py_pars[1] name = py_pars[1]
name_clean = ''.join(c for c in name.strip().lower() if c.isalnum() or c == ' ') name_clean = ''.join(c for c in name.strip().lower() if c.isalnum() or c == ' ')
......
This diff is collapsed.
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.] 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 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 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 ...@@ -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 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 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 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 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 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 278 DSP register address 13 116 29 l 0 4294967295 Yes Yes No No No 0 DSPRegI No DSP register address
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment