Average: 0
Rating Count: 0

Development status: Released, Release: release_2_0_8
Information status: Updated
Repository: http://svn.code.sf.net/p/tango-ds/code/DeviceClasses/SoftwareSystem/AttributeSequenceWriter

Class Description

Generates a user`s sequence on a attribute of a specified device. The sequence
generated is gave by a command. It can be generated once, n times or indefinitly (until stop by user). Be aware that the timings for the generation are software (so not very precise).

Families: SoftwareSystem

Key words: Miscellaneous

Platform: All Platforms

Language: Cpp




Manufacturer: none

Bus: Not Applicable

Class interface


Name Description
waitingTimesSpectrum: DevDouble
sequenceValuesSpectrum: DevDouble
sequenceNameScalar: DevString
currentIterationScalar: DevDouble
currentIterationProgressionScalar: DevShort
totalProgressionScalar: DevShort
currentSequenceValueScalar: DevDouble


Name Description
LoadWaitingTimesInput: DevVarDoubleArray
Output: DevVoid
Give the device the waiting times of the sequence.
LoadSequenceValuesInput: DevVarDoubleArray
Output: DevVoid
Give the device one sequence to generate.
ResumeInput: DevVoid
Output: DevVoid
Restart the sequence generation previoulsy paused (with Pause command).
PauseInput: DevVoid
Output: DevVoid
Pause the sequence generation.
StopInput: DevVoid
Output: DevVoid
Stop the sequence generation.
StartInput: DevVoid
Output: DevVoid
Start the sequence generation.
StatusInput: DevVoid
Output: DevString
This command gets the device status (stored in its device_status data member) and returns it to the caller.
StateInput: DevVoid
Output: State
This command gets the device state (stored in its device_state data member) and returns it to the caller.



Name Description
FilePathDevString Path where the sequence files can be saved or loaded. Files` name, for a device named A/B/C, are: - A#B#C_SequenceValues.dat for sequence values, - A#B#C_WaitingTimes.dat for waiting times.
SequenceSizeDevLong The number of elements in a sequence.
IterationsDevLong The number of times the given sequence that will be generated once Start command is called. It can be 1..n or 0 to generate it indefinilty (until Stop command is called).
PollingPeriodDevDouble The period in seconds at which AttributeProxyRead is read to check that it has reached the written value.
TimeoutDevDouble The time in seconds to wait for AttributeProxyRead has reached AttributeProxyWrite.
DeltaDevDouble The minimum acceptable difference between the value AttributeProxyWrite and AttributeProxyRead.
AttributeProxyReadDevString The name of the attribute used to verify that the written value of AttributeProxyWrite has been reached.
AttributeProxyWriteDevString The name of the attribute on which to generate the sequence.

Please log in to comment.


PDF generated from POGO


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

Files generated:

AttributeSequenceWriter.cpp: Source code for the AttributeSequenceWriter 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 AttributeSequenceWriter are implemented in this file.

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

AttributeSequenceWriterClass.cpp: A singleton class derived fromAttributeSequenceWriter. It implements the command list and all properties and methods required by the AttributeSequenceWriter once per process

AttributeSequenceWriterClass.h: Include for the AttributeSequenceWriterClass root class. This class is represents the singleton class for the AttributeSequenceWriter device class. It contains all properties and methods which the AttributeSequenceWriter 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

20 Apr 2017, Piotr Goryl
The device class has been updated.
You can see previous version here .

23 Feb 2017, Piotr Goryl
The device class has been added to catalogue.
Added by:pgoryl2 on:23 Feb 2017, 12:18 p.m.