Development status:
New development
Information status: Updated
Repository:
http://svn.code.sf.net/p/tango-ds/code/DeviceClasses/Security/AttributeMonitor
Contact:
Class Description
This class monitors a Tango device attribute. A formula is applied on two consecutive attribute readings. If this formula is true, a voice alarm message is sent to the Control Room. The attribute to be monitored, the voice alarm message and the formula are defined as properties. <p> The device attribute <b>IsAlarm</b> has to be polled to force the attribute reading. The polling period is the delta time between the two consecutive attribute readings. In the formula, <b>previous_attr_value</b> has to be used to reference the previous attribute reading while <b>attr_value</b> has to be used to reference the last attribute reading
Families: SoftwareSystem
Key words:
Platform: All Platforms
Language: Python
License: GPL
Contact:
Hardware
Manufacturer: none
Bus: Not Applicable
Class interface
Attributes:
Name | Description |
---|---|
IsAlarmScalar: DevBoolean | This read-only attribute is set to true when the alarm condition evaluated from the alarm formula is met. |
AlarmTriggerScalar: DevString | This read-only attribute is set to the present AlarmTrigger property value which is the alarm formula |
AlarmMessageScalar: DevString | The message sent to the text talker device in case of alarm |
MonitoredAttributeScalar: DevString | The full monitored attribute name (device name/att name) |
EnabledScalar: DevBoolean | This read-write attribute enables, when set to true, the emission of a vocal message alarm |
Commands:
Name | Description |
---|---|
StateInput: DevVoid Output: State Device state |
This command gets the device state (stored in its device_state data member) and returns it to the caller. |
StatusInput: DevVoid Output: ConstDevString Device status |
This command gets the device status (stored in its device_status data member) and returns it to the caller. |
Pipes:
Properties:
Name | Description |
---|---|
VoiceDeviceNameDevString | Device name for the text talker device |
DeviceNameDevString | Device name for which one of the attribute has to be monitored |
AttributeNameDevString | Name of the attribute to be monitored |
AlarmTriggerDevString | Formula to be applied with the two attribute consecutive readings (previous_attr_value and attr_value) |
AlarmMessageDevString | Voice message sent to the talker message in case the alarm formula evaluates to true |
DisableConsecutiveAlarmsDevBoolean | If True only one Alarm is issue when the condition goes from False to True, and stays True |
Please log in to comment.
Generated
Updated:
The device class has been updated.
You can see previous version here .
23 Feb 2017, Piotr Goryl
Updated:
The device class has been updated.
You can see previous version here .
19 Jan 2017, Piotr Goryl
Updated:
The device server has been updated.
You can see previous version here .
3 Jan 2017, Piotr Goryl
Created:
The device server has been added to catalogue.