Commit ca0b95b1 authored by Claudio Scafuri's avatar Claudio Scafuri 💬
Browse files

first working version

parent 6097805f
#
# Resource backup , created Tue Mar 16 09:05:05 CET 2021
#
#---------------------------------------------------------
# SERVER PBPM071/s71, PBPM071 device declaration
#---------------------------------------------------------
pbpm071-srv/s71/DEVICE/PBPM071: "sr/diagnostics/phbpm_s7.1"
# --- sr/diagnostics/phbpm_s7.1 properties
sr/diagnostics/phbpm_s7.1->CalibCoeff1: 1408.4507042253522
sr/diagnostics/phbpm_s7.1->CalibCoeff2: 1795.3321364452422
sr/diagnostics/phbpm_s7.1->IP_addres: 192.168.203.91
sr/diagnostics/phbpm_s7.1->MinVoltageThreshold: 1
sr/diagnostics/phbpm_s7.1->polled_attr: verticalposition1,\
1000,\
verticalposition2,\
1000,\
voltage2,\
3000,\
voltage3,\
3000,\
voltage0,\
3000,\
voltage1,\
3000,\
voltages,\
1000
sr/diagnostics/phbpm_s7.1->PORT: 30002
# --- sr/diagnostics/phbpm_s7.1 attribute properties
sr/diagnostics/phbpm_s7.1/VerticalPosition1->archive_abs_change: 0.1
sr/diagnostics/phbpm_s7.1/VerticalPosition1->archive_period: 60000
sr/diagnostics/phbpm_s7.1/VerticalPosition2->archive_abs_change: 0.1
sr/diagnostics/phbpm_s7.1/VerticalPosition2->archive_period: 60000
sr/diagnostics/phbpm_s7.1/Voltage0->archive_abs_change: 0.05
sr/diagnostics/phbpm_s7.1/Voltage0->archive_period: 60000
sr/diagnostics/phbpm_s7.1/Voltage1->archive_abs_change: 0.05
sr/diagnostics/phbpm_s7.1/Voltage1->archive_period: 60000
sr/diagnostics/phbpm_s7.1/Voltage2->archive_abs_change: 0.05
sr/diagnostics/phbpm_s7.1/Voltage2->archive_period: 60000
sr/diagnostics/phbpm_s7.1/Voltage3->archive_abs_change: 0.05
sr/diagnostics/phbpm_s7.1/Voltage3->archive_period: 60000
#---------------------------------------------------------
# CLASS PBPM071 properties
#---------------------------------------------------------
# CLASS PBPM071 attribute properties
# --- dserver/PBPM071/s71 properties
dserver/PBPM071/s71->polling_threads_pool_conf: "sr/diagnostics/phbpm_s7.1"
This diff is collapsed.
<?xml version="1.0" encoding="ASCII"?>
<pogoDsl:PogoSystem xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pogoDsl="http://www.esrf.fr/tango/pogo/PogoDsl">
<classes name="PBPM071" pogoRevision="9.6">
<description description="FE PBPM 071 Tango device" title="TANGO Device Server" sourcePath="/home/claudio/src/gitlab/cs/ds/pbpm071/src" language="Python" filestogenerate="XMI file,Code files,Protected Regions" license="GPL" copyright="" hasMandatoryProperty="false" hasConcreteProperty="true" hasAbstractCommand="false" hasAbstractAttribute="false">
<inheritances classname="Device_4Impl" sourcePath=""/>
<identification contact="at elettra.eu - roberto.broghes" author="roberto.broghes" emailDomain="elettra.eu" classFamily="BeamDiagnostics" siteSpecific="" platform="Unix Like" bus="Ethernet" manufacturer="" reference="">
<keyWords>photon BPM</keyWords>
</identification>
</description>
<deviceProperties name="IP_addres" description="IP address of the PBPM comedi server">
<type xsi:type="pogoDsl:StringType"/>
<status abstract="false" inherited="false" concrete="true" concreteHere="true"/>
<DefaultPropValue>192.168.203.91</DefaultPropValue>
</deviceProperties>
<deviceProperties name="PORT" description="">
<type xsi:type="pogoDsl:IntType"/>
<status abstract="false" inherited="false" concrete="true" concreteHere="true"/>
<DefaultPropValue>30002</DefaultPropValue>
</deviceProperties>
<deviceProperties name="CalibCoeff1" description="Calibration coefficient of PBPM1">
<type xsi:type="pogoDsl:FloatType"/>
<status abstract="false" inherited="false" concrete="true" concreteHere="true"/>
<DefaultPropValue>1408.4507042253522</DefaultPropValue>
</deviceProperties>
<deviceProperties name="CalibCoeff2" description="Calibration coefficient of PBPM2">
<type xsi:type="pogoDsl:FloatType"/>
<status abstract="false" inherited="false" concrete="true" concreteHere="true"/>
<DefaultPropValue>1795.3321364452422</DefaultPropValue>
</deviceProperties>
<deviceProperties name="MinVoltageThreshold" description="Minimum voltage threshold for each PBPM blade readout">
<type xsi:type="pogoDsl:FloatType"/>
<status abstract="false" inherited="false" concrete="true" concreteHere="true"/>
<DefaultPropValue>0.5</DefaultPropValue>
</deviceProperties>
<commands name="State" description="This command gets the device state (stored in its &lt;i>device_state&lt;/i> data member) and returns it to the caller." execMethod="dev_state" displayLevel="OPERATOR" polledPeriod="0">
<argin description="none.">
<type xsi:type="pogoDsl:VoidType"/>
</argin>
<argout description="State Code">
<type xsi:type="pogoDsl:StateType"/>
</argout>
<status abstract="true" inherited="true" concrete="true" concreteHere="false"/>
</commands>
<commands name="Status" description="This command gets the device status (stored in its &lt;i>device_status&lt;/i> data member) and returns it to the caller." execMethod="dev_status" displayLevel="OPERATOR" polledPeriod="0">
<argin description="none.">
<type xsi:type="pogoDsl:VoidType"/>
</argin>
<argout description="Status description">
<type xsi:type="pogoDsl:ConstStringType"/>
</argout>
<status abstract="true" inherited="true" concrete="true" concreteHere="false"/>
</commands>
<attributes name="Voltage0" attType="Scalar" rwType="READ" displayLevel="OPERATOR" polledPeriod="0" maxX="1" maxY="1">
<dataType xsi:type="pogoDsl:FloatType"/>
<changeEvent fire="false" libCheckCriteria="false"/>
<archiveEvent fire="false" libCheckCriteria="false"/>
<status abstract="false" inherited="false" concrete="true" concreteHere="true"/>
<properties description="" label="" unit="" standardUnit="" displayUnit="" format="" maxValue="" minValue="" maxAlarm="" minAlarm="" maxWarning="" minWarning="" deltaTime="" deltaValue=""/>
</attributes>
<attributes name="Voltage1" attType="Scalar" rwType="READ" displayLevel="OPERATOR" polledPeriod="0" maxX="1" maxY="1">
<dataType xsi:type="pogoDsl:FloatType"/>
<changeEvent fire="false" libCheckCriteria="false"/>
<archiveEvent fire="false" libCheckCriteria="false"/>
<status abstract="false" inherited="false" concrete="true" concreteHere="true"/>
<properties description="" label="" unit="" standardUnit="" displayUnit="" format="" maxValue="" minValue="" maxAlarm="" minAlarm="" maxWarning="" minWarning="" deltaTime="" deltaValue=""/>
</attributes>
<attributes name="Voltage2" attType="Scalar" rwType="READ" displayLevel="OPERATOR" polledPeriod="0" maxX="1" maxY="1">
<dataType xsi:type="pogoDsl:FloatType"/>
<changeEvent fire="false" libCheckCriteria="false"/>
<archiveEvent fire="false" libCheckCriteria="false"/>
<status abstract="false" inherited="false" concrete="true" concreteHere="true"/>
<properties description="" label="" unit="" standardUnit="" displayUnit="" format="" maxValue="" minValue="" maxAlarm="" minAlarm="" maxWarning="" minWarning="" deltaTime="" deltaValue=""/>
</attributes>
<attributes name="Voltage3" attType="Scalar" rwType="READ" displayLevel="OPERATOR" polledPeriod="0" maxX="1" maxY="1">
<dataType xsi:type="pogoDsl:FloatType"/>
<changeEvent fire="false" libCheckCriteria="false"/>
<archiveEvent fire="false" libCheckCriteria="false"/>
<status abstract="false" inherited="false" concrete="true" concreteHere="true"/>
<properties description="" label="" unit="" standardUnit="" displayUnit="" format="" maxValue="" minValue="" maxAlarm="" minAlarm="" maxWarning="" minWarning="" deltaTime="" deltaValue=""/>
</attributes>
<attributes name="VerticalPosition1" attType="Scalar" rwType="READ" displayLevel="OPERATOR" polledPeriod="0" maxX="1" maxY="1">
<dataType xsi:type="pogoDsl:FloatType"/>
<changeEvent fire="false" libCheckCriteria="false"/>
<archiveEvent fire="false" libCheckCriteria="false"/>
<status abstract="false" inherited="false" concrete="true" concreteHere="true"/>
<properties description="" label="" unit="" standardUnit="" displayUnit="" format="" maxValue="" minValue="" maxAlarm="" minAlarm="" maxWarning="" minWarning="" deltaTime="" deltaValue=""/>
</attributes>
<attributes name="VerticalPosition2" attType="Scalar" rwType="READ" displayLevel="OPERATOR" polledPeriod="0" maxX="1" maxY="1">
<dataType xsi:type="pogoDsl:FloatType"/>
<changeEvent fire="false" libCheckCriteria="false"/>
<archiveEvent fire="false" libCheckCriteria="false"/>
<status abstract="false" inherited="false" concrete="true" concreteHere="true"/>
<properties description="" label="" unit="" standardUnit="" displayUnit="" format="" maxValue="" minValue="" maxAlarm="" minAlarm="" maxWarning="" minWarning="" deltaTime="" deltaValue=""/>
</attributes>
<attributes name="Voltages" attType="Spectrum" rwType="READ" displayLevel="OPERATOR" polledPeriod="0" maxX="4" maxY="1" allocReadMember="false" isDynamic="false">
<dataType xsi:type="pogoDsl:FloatType"/>
<changeEvent fire="false" libCheckCriteria="false"/>
<archiveEvent fire="false" libCheckCriteria="false"/>
<dataReadyEvent fire="false" libCheckCriteria="true"/>
<status abstract="false" inherited="false" concrete="true" concreteHere="true"/>
<properties description="" label="voltages" unit="" standardUnit="" displayUnit="" format="" maxValue="" minValue="" maxAlarm="" minAlarm="" maxWarning="" minWarning="" deltaTime="" deltaValue=""/>
</attributes>
<preferences docHome="./doc_html" makefileHome="/usr/local/tango-9.3.4/share/pogo/preferences"/>
</classes>
</pogoDsl:PogoSystem>
Markdown is supported
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