- custom properties: to be declared at startup calling the classmethods Parameter.add_property or Command.add_property Probably the call should be placed in secop_<facility>/__init__.py - valid properties are listed in Parameter.valid_properties / Command.valid_properties. New properties without relation to code in the SECnode like fmtstr, group, visibility can be added at one place in code only Change-Id: I8c550eba955473665d246ddef3815b23c68be4f7 Reviewed-on: https://forge.frm2.tum.de/review/19611 Tested-by: JenkinsCodeReview <bjoern_pedersen@frm2.tum.de> Reviewed-by: Enrico Faulhaber <enrico.faulhaber@frm2.tum.de> Reviewed-by: Markus Zolliker <markus.zolliker@psi.ch>
52 lines
901 B
INI
52 lines
901 B
INI
[node cryo_7]
|
|
# set SEC-node properties
|
|
description = short description
|
|
.
|
|
This is a very long description providing all the glory details in all the glory details about the stuff we are describing
|
|
|
|
|
|
[interface tcp]
|
|
type=tcp
|
|
bindto=0.0.0.0
|
|
bindport=10769
|
|
|
|
|
|
[module cryo]
|
|
# some (non-defaut) module properties
|
|
.group=very important/stuff
|
|
.description=A simulated cc cryostat with heat-load, specific heat for the sample
|
|
and a temperature dependend heat-link between sample and regulation.
|
|
|
|
# class of module:
|
|
class=secop_demo.cryo.Cryostat
|
|
|
|
# some parameters
|
|
jitter=0.1
|
|
T_start=10.0
|
|
target=10.0
|
|
looptime=1
|
|
ramp=6
|
|
maxpower=20.0
|
|
heater=4.1
|
|
p=40
|
|
i=10
|
|
d=2
|
|
mode=pid
|
|
tolerance=0.1
|
|
window=30
|
|
timeout=900
|
|
|
|
# some (non-default) parameter properties
|
|
pollinterval.export=False
|
|
|
|
# some parameter grouping
|
|
p.group=pid
|
|
i.group=pid
|
|
d.group=pid
|
|
|
|
value.unit=K
|
|
|
|
# test custom properties
|
|
value.test=customized value
|
|
|