fixups
Change-Id: Ibbae99d1c51edcbf251f43cd75f21e448825139c
This commit is contained in:
parent
3cad613880
commit
b9b2db1763
@ -35,7 +35,7 @@ tangodevice=tango://amagnet.antares.frm2:10000/box/plc/_polarity
|
|||||||
value.datatype=["enum", {'+1':1,'0':0,'-1':-1}]
|
value.datatype=["enum", {'+1':1,'0':0,'-1':-1}]
|
||||||
target.datatype=["enum", {'+1':1,'0':0,'-1':-1}]
|
target.datatype=["enum", {'+1':1,'0':0,'-1':-1}]
|
||||||
.description=polarity (+/-) switch
|
.description=polarity (+/-) switch
|
||||||
|
.
|
||||||
there is an interlock in the plc:
|
there is an interlock in the plc:
|
||||||
if there is current, switching polarity is forbidden
|
if there is current, switching polarity is forbidden
|
||||||
if polarity is short, powersupply is disabled
|
if polarity is short, powersupply is disabled
|
||||||
@ -49,7 +49,7 @@ tangodevice=tango://amagnet.antares.frm2:10000/box/plc/_symmetric
|
|||||||
value.datatype=["enum",{'symmetric':1,'short':0, 'asymmetric':-1}]
|
value.datatype=["enum",{'symmetric':1,'short':0, 'asymmetric':-1}]
|
||||||
target.datatype=["enum",{'symmetric':1,'short':0, 'asymmetric':-1}]
|
target.datatype=["enum",{'symmetric':1,'short':0, 'asymmetric':-1}]
|
||||||
.description=par/ser switch selecting (a)symmetric mode
|
.description=par/ser switch selecting (a)symmetric mode
|
||||||
|
.
|
||||||
symmetric is ser, asymmetric is par
|
symmetric is ser, asymmetric is par
|
||||||
.visibility=advanced
|
.visibility=advanced
|
||||||
|
|
||||||
@ -58,28 +58,28 @@ class=secop_mlz.entangle.AnalogInput
|
|||||||
tangodevice=tango://amagnet.antares.frm2:10000/box/plc/_t1
|
tangodevice=tango://amagnet.antares.frm2:10000/box/plc/_t1
|
||||||
.description=Temperature1 of the coils system
|
.description=Temperature1 of the coils system
|
||||||
#warnlimits=(0, 50)
|
#warnlimits=(0, 50)
|
||||||
#unit=degC
|
value.unit='degC'
|
||||||
|
|
||||||
[device T2]
|
[device T2]
|
||||||
class=secop_mlz.entangle.AnalogInput
|
class=secop_mlz.entangle.AnalogInput
|
||||||
tangodevice=tango://amagnet.antares.frm2:10000/box/plc/_t2
|
tangodevice=tango://amagnet.antares.frm2:10000/box/plc/_t2
|
||||||
.description=Temperature2 of the coils system
|
.description=Temperature2 of the coils system
|
||||||
#warnlimits=(0, 50)
|
#warnlimits=(0, 50)
|
||||||
#unit=degC
|
value.unit='degC'
|
||||||
|
|
||||||
[device T3]
|
[device T3]
|
||||||
class=secop_mlz.entangle.AnalogInput
|
class=secop_mlz.entangle.AnalogInput
|
||||||
tangodevice=tango://amagnet.antares.frm2:10000/box/plc/_t3
|
tangodevice=tango://amagnet.antares.frm2:10000/box/plc/_t3
|
||||||
.description=Temperature3 of the coils system
|
.description=Temperature3 of the coils system
|
||||||
#warnlimits=(0, 50)
|
#warnlimits=(0, 50)
|
||||||
#unit=degC
|
value.unit='degC'
|
||||||
|
|
||||||
[device T4]
|
[device T4]
|
||||||
class=secop_mlz.entangle.AnalogInput
|
class=secop_mlz.entangle.AnalogInput
|
||||||
tangodevice=tango://amagnet.antares.frm2:10000/box/plc/_t4
|
tangodevice=tango://amagnet.antares.frm2:10000/box/plc/_t4
|
||||||
.description=Temperature4 of the coils system
|
.description=Temperature4 of the coils system
|
||||||
#warnlimits=(0, 50)
|
#warnlimits=(0, 50)
|
||||||
#unit=degC
|
value.unit='degC'
|
||||||
|
|
||||||
[device currentsource]
|
[device currentsource]
|
||||||
class=secop_mlz.entangle.PowerSupply
|
class=secop_mlz.entangle.PowerSupply
|
||||||
@ -101,7 +101,8 @@ subdev_currentsource=currentsource
|
|||||||
subdev_enable=enable
|
subdev_enable=enable
|
||||||
subdev_polswitch=polarity
|
subdev_polswitch=polarity
|
||||||
subdev_symmetry=symmetry
|
subdev_symmetry=symmetry
|
||||||
#unit=T
|
target.unit='T'
|
||||||
|
value.unit='T'
|
||||||
userlimits=(-0.35, 0.35)
|
userlimits=(-0.35, 0.35)
|
||||||
calibrationtable={'symmetric':[0.00186517, 0.0431937, -0.185956, 0.0599757, 0.194042],
|
calibrationtable={'symmetric':[0.00186517, 0.0431937, -0.185956, 0.0599757, 0.194042],
|
||||||
'short': [0.0, 0.0, 0.0, 0.0, 0.0],
|
'short': [0.0, 0.0, 0.0, 0.0, 0.0],
|
||||||
@ -110,4 +111,4 @@ calibrationtable={'symmetric':[0.00186517, 0.0431937, -0.185956, 0.0599757, 0.19
|
|||||||
.priority=100
|
.priority=100
|
||||||
.visibility=user
|
.visibility=user
|
||||||
|
|
||||||
abslimits.default=0,0.4
|
abslimits.default=-0.4,0.4
|
||||||
|
@ -47,3 +47,5 @@ p.group='pid'
|
|||||||
i.group='pid'
|
i.group='pid'
|
||||||
d.group='pid'
|
d.group='pid'
|
||||||
|
|
||||||
|
value.unit='K'
|
||||||
|
|
||||||
|
@ -133,7 +133,10 @@ class NodeCtrl(QWidget):
|
|||||||
row = 0
|
row = 0
|
||||||
for modname in sorted(self._node.modules):
|
for modname in sorted(self._node.modules):
|
||||||
modprops = self._node.getModuleProperties(modname)
|
modprops = self._node.getModuleProperties(modname)
|
||||||
interfaces = modprops['interface_class']
|
if 'interface_class' in modprops:
|
||||||
|
interfaces = modprops['interface_class']
|
||||||
|
else:
|
||||||
|
interfaces = modprops['interfaces']
|
||||||
description = modprops['description']
|
description = modprops['description']
|
||||||
unit = self._node.getProperties(modname, 'value').get('unit', '')
|
unit = self._node.getProperties(modname, 'value').get('unit', '')
|
||||||
|
|
||||||
@ -144,7 +147,8 @@ class NodeCtrl(QWidget):
|
|||||||
label = QLabel(labelstr)
|
label = QLabel(labelstr)
|
||||||
label.setFont(labelfont)
|
label.setFont(labelfont)
|
||||||
|
|
||||||
if 'Drivable' in interfaces:
|
# fallback: allow (now) invalid 'Driveable'
|
||||||
|
if 'Drivable' in interfaces or 'Driveable' in interfaces:
|
||||||
widget = DrivableWidget(self._node, modname, self)
|
widget = DrivableWidget(self._node, modname, self)
|
||||||
elif 'Readable' in interfaces:
|
elif 'Readable' in interfaces:
|
||||||
widget = ReadableWidget(self._node, modname, self)
|
widget = ReadableWidget(self._node, modname, self)
|
||||||
|
@ -170,17 +170,32 @@ p, li { white-space: pre-wrap; }
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item row="5" column="0">
|
||||||
|
<spacer name="verticalSpacer">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Vertical</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>20</width>
|
||||||
|
<height>40</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
<item row="4" column="0" colspan="2">
|
<item row="4" column="0" colspan="2">
|
||||||
<widget class="QLabel" name="nodeDescriptionLabel">
|
<widget class="QLabel" name="nodeDescriptionLabel">
|
||||||
|
<property name="enabled">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
<sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
|
||||||
<horstretch>0</horstretch>
|
<horstretch>0</horstretch>
|
||||||
<verstretch>1</verstretch>
|
<verstretch>0</verstretch>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>aaaaaaaaaaa
|
<string>description</string>
|
||||||
aaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaa</string>
|
|
||||||
</property>
|
</property>
|
||||||
<property name="wordWrap">
|
<property name="wordWrap">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
@ -190,9 +205,29 @@ aaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaa</string
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item row="5" column="0" colspan="2">
|
||||||
|
<widget class="QLabel" name="label55">
|
||||||
|
<property name="enabled">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>1</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
|
<zorder>label</zorder>
|
||||||
|
<zorder>contactPointLabel</zorder>
|
||||||
|
<zorder>equipmentIdLabel</zorder>
|
||||||
|
<zorder>label_3</zorder>
|
||||||
|
<zorder>protocolVersionLabel</zorder>
|
||||||
|
<zorder>label_5</zorder>
|
||||||
|
<zorder>nodeDescriptionLabel</zorder>
|
||||||
<zorder>label_2</zorder>
|
<zorder>label_2</zorder>
|
||||||
<zorder>gridLayoutWidget</zorder>
|
<zorder>verticalSpacer</zorder>
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user