Average: 0
Rating Count: 0

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

Class Description

This device faciltates sample management allowing to defined a set of predefined sample positions corresponding to N motors positions. or example, it allows to define :
samplePositionA which corresponds to (motor1_positionA1,motor2_positionA2,..., motorN_positionAN)
samplePositionB which corresponds to (motor1_positionB1,motor2_positionB2,..., motorN_positionBN)

Families: BeamlineComponents

Key words: Miscellaneous

Platform: All Platforms

Language: Cpp




Manufacturer: none

Bus: Not Applicable

Class interface


Name Description
positionListUpdateTimeStampScalar: DevString
isSavedScalar: DevBoolean
subsidiaryInfosScalar: DevString
sampleNameScalar: DevString


Name Description
RenamePositionInput: DevVarStringArray
Output: DevVoid
Rename a sample name
RemoveAllPositionInput: DevVoid
Output: DevVoid
This command clears all the positions of the current list.
GetMotorListInput: DevVoid
Output: DevVarStringArray
Returns the motor list defined in the MotorList property.
SetPositionsInput: DevVarDoubleArray
Output: DevVoid
Adds a list of unnamed motor positions. Should be a multiple of the number of motors defined: For n motors if nb positions is m then the size of tuple should be m*n. double[0] .. ... double[m*n-1]
AddPositionInput: DevVarDoubleStringArray
Output: DevString
adds a single postion as specified in argin : string[0] the position name string[1] the subsidiary info if any double [0] ... double[n] the n motor positions
ShowCurrentPositionsInput: DevVoid
Output: DevVarStringArray
order (=i+1)} \n\n Ex : smpl_0, 12.6,4.5,-3.6,10.02:1,1,1\n smpl_1, 2.5,10,-6.2,1.0:1,2,2
StopInput: DevVoid
Output: DevVoid
Stops all motors
SavePositionsListInput: DevVoid
Output: DevVoid
Saves the positions to properties PositionList and SubsidiaryPositionList
RemovePositionFromListInput: DevString
Output: DevVoid
removes the position (name in argin) from the list
AddThisPositionToListInput: DevVarStringArray
Output: DevVoid
Adds the current position to the list position_name in argin[0] (mandatory) SubsidiaryPositionList in argin[1] (optional) If position_name already exists, this commands replaces previous motors positions which where stored for this position_name value
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
MotorListString[]Type list of motors device names de la forme nom_device_moteur_1 nom_device_moteur_2 ... nom_device_moteur_n

Please log in to comment.

22 Feb 2018, DS Admin
The device class has been updated.
You can see previous version here .

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, 10:37 a.m.