.

Average: 0
Rating Count: 0

Development status: New development
Information status: Updated
Repository: http://svn.code.sf.net/p/tango-ds/code/DeviceClasses/Security/Daresbury
Contact:



Class Description


Handle PSS crate hardware

Families: Security

Key words:

Platform: Unix Like

Language: Cpp

License: GPL

Contact:

Hardware


Manufacturer: ESRF

Product:

REL1_0

Bus: Not Applicable

Class interface


Attributes:

Name Description
InterlocksSpectrum: DevShort

Commands:

Name Description
GetSMSInput: DevVarLongArray
argin[0]=Word address argin[1]=Bit address
Output: DevBoolean
true if the SMS alarm is enabled for this interlock, false otherwise.
DisableSMSInput: DevVarLongArray
argin[0]=Word address argin[1]=Bit address
Output: DevVoid
Disable SMS alarm for the specified interlock.
EnableSMSInput: DevVarLongArray
argin[0]=Word address argin[1]=Bit address
Output: DevVoid
Enable SMS alarm for the specified interlock.
SetInterlockDescriptionInput: DevVarStringArray
argin[0]=Word address argin[1]=Bit address argin[2]=Interlock description
Output: DevVoid
Sets the descripton of the specified interlock.
ResetInput: DevVoid
Output: DevVoid
Reset the interlock system.
ReadInterlockHistoryInput: DevLong
Log time , see GetHistoryInfo
Output: DevVarShortArray
Array of interlock
Returns the states of the interlock set of the specified log
GetInterlockStateInput: DevVarLongArray
List of Interlock addresses : [Word address,Bit address]*
Output: DevVarCharArray
List of interlock state
GetInterlockDescriptionInput: DevVarLongArray
List of Interlock addresses : [Word address,Bit address]*
Output: DevVarStringArray
Interlock descrition string array
GetHistoryInfoInput: DevVoid
Output: DevVarLongStringArray
Return a list of interlock logs [date,reason]
Returns a list of known logs.
GetAllDescriptionInput: DevVoid
Output: DevVarStringArray
List of interlock description
DevReadInput: DevVoid
Output: DevString
Serial line response
Returns the response of the PSS hardware.
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.
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.

Pipes:

Properties:

Name Description
MailDestArray of DevString List of mail adress
SMSPhoneNumberDevString
SMSDeviceDevString Name of the SMS device
Init_pscomDevShort Flag to force reinitialisation (This is needed on certain old daresbury board) Default is 0 => no initialisation
Serial_lineDevString Name of the serial line device


Please log in to comment.

Generated

PDF generated from POGO



README

//-============================================================
//
// This class has been generated by POGO
// (Program Obviously used to Generate tango Object)
//
// (c) - Software Engineering Group - ESRF
//=============================================================

Files generated:
===============
Daresbury.cpp: Source code for the Daresbury class and its commands.
This class is derived from DeviceImpl_2 class.
It represents the CORBA servant obbject which
will be accessed from the network.
All commands which can be executed on the
Daresbury are implemented in this file.

Daresbury.h: Include for the Daresbury class.
Server class prototypes and descriptions.

DaresburyClass.cpp: A singleton class derived fromDaresbury.
It implements the command list and all properties
and methods required by the Daresbury once per process

DaresburyClass.h: Include for the DaresburyClass root class.
This class is represents the singleton class for
the Daresbury device class.
It contains all properties and methods which the
Daresbury requires only once e.g. the commands.

main.cpp: C++ source for a TANGO device server main.
The main rule is to initialise (and create) the Tango
system and to create the DServerClass singleton.
The main should be the same for every Tango device server.

ClassFactory.cpp: C++ source for the class_factory method of the DServer
device class. This method is responsible to create
all class singletin for a device server. It is called
at device server startup

6 Oct 2018, DS Admin
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.
Added by:pgoryl2 on:3 Jan 2017, 3:02 p.m.