TANGO
Device Server



Scan
Device Attributes Description

Scan Class

Revision: release_1_12_6 - Author: flanglois

Scalar Attributes
Attribute name
Data Type
R/W Type
Expert
timebase: A Tango device name managing the clock to measure the time to wait between each integration. To get precise timing, a timer board is usually in charge of this function
DEV_STRING
READ_WRITE
No
integration_time: The amount of time to integrate in seconds
DEV_DOUBLE
READ_WRITE
No
integration_time_sleep: Time to sleep between 2 interrogation of the IsCountingCompleted attribute of the Timebase used for count_number timed scans set by the EnableCountNumberMode(time)
DEV_DOUBLE
READ
Yes
data_file: Name of output file in which scan data will be saved See attribut file_format for format definition Default is mydatafile
DEV_STRING
READ_WRITE
No
file_format: string defining the required output file format : maybe �spec� or �column� for column based
DEV_STRING
READ_WRITE
No
n_steps: Read: Current number of steps of the 1st level of scan Write: the total number of steps of the 1st level of scan
DEV_LONG
READ_WRITE
No
dSteps: Delta Steps of a Scan (related with N Steps)
DEV_DOUBLE
READ_WRITE
No
n_steps2: Read: Current number of steps of the 2nd level of scan Write: the total number of steps of the 2nd level of scan
DEV_LONG
READ_WRITE
No
dSteps2: Delta Steps for second level of Scan (related with nSteps 2)
DEV_DOUBLE
READ_WRITE
No
scan_number: Write: Number of scans to execute. This parameter allows to loop and do more than 1 scan with the same actuators, sensors, start & end conditions Read: Current number of scan
DEV_LONG
READ_WRITE
No
path: Path for the scan data files (only the path, not the file name). Default is C temp
DEV_STRING
READ_WRITE
No
file_index: This is the starting index of the file
DEV_LONG
READ_WRITE
No
file_extension: This is the extension of the file Default is .dat
DEV_STRING
READ_WRITE
No
scan_time: time of the scan
DEV_DOUBLE
READ
Yes
step_time: Time of one step
DEV_DOUBLE
READ
Yes
step2_time: Time of one step2
DEV_DOUBLE
READ
Yes
nStepsTemp
DEV_LONG
READ
Yes
nSteps2Temp
DEV_LONG
READ
Yes
measureDate: Date of the current Data (in a long format : number of seconds since 01/01/1970) took at the start of the scan
DEV_LONG
READ
No
errorCounter: Error Counter for the GalilAxis error: cannot write on Moving Motor
DEV_LONG
READ
No
scanType: Type of the scan:
0 -> scan0d (timescan)
1 -> scan1d
2 -> scan2d
DEV_SHORT
READ
No
scanStarted: Flag Telling if scan has effectively started.
DEV_SHORT
READ
No
savingError: Flag saying if the saving is on error:
0 -> OK 1 -> ERROR
DEV_SHORT
READ
Yes
fastScanMode: Fast Scan Mode : ON / OFF
DEV_STRING
READ
Yes
actuatorsAfterScanAction: After Scan Action for the actuators (default 0):
0- Stay
1- Go to Start Position
2- Go to Prior Position
3- Go to Peak Position of the 1st sensor
4- Go to Valley Position of the 1st sensor
5- Go to +EDGE POS � peak of derivative of 1st sensor
6- Go to -EDGE POS - valley of derivative of 1st sensor
DEV_SHORT
WRITE
Yes
currentScanEnded: Flag Saying to clients that the current scan from the current Run is Ended, so that the client can do its stuff and re-write this flag for the Run to continue.
DEV_SHORT
READ_WRITE
Yes
actuatorsDelay: Delay applied after all actuators movements
DEV_DOUBLE
WRITE
Yes





Spectrum Attributes
Attribute name
Data Type
X Data Length
Expert
integrationTimeSpectrum: Spectrum of the integration time of the trajectory
DEV_DOUBLE
100000
Yes
start_positions: The starts positions for the actuators of the 1st level of scan
DEV_DOUBLE
50
No
end_positions: End positions for the actuators of the 1st level of scan
DEV_DOUBLE
50
No
start_positions2: The starts positions for the actuators of the 2nd level of scan
DEV_DOUBLE
50
No
end_positions2: End positions for the actuators of the 2nd level of scan
DEV_DOUBLE
50
No
actuators_data: Acutators data: number of steps of level1 * number of steps of level2 * number of actuators Max size is 10 000 000; eg for a scan 2 d: 1000 * 10000
DEV_DOUBLE
10000000
No
actuators2_data: Acutators 2 data: number of steps of level 2 * number of actuators2 max size is 1 000 000
DEV_DOUBLE
1000000
No
trajectory: Trajectory: X: Number of steps
DEV_DOUBLE
10000000
No
trajectory2: The trajectory of all actuators of level 2
DEV_DOUBLE
1000000
No
actuators: List of Actuators of the 1st level of scan
DEV_STRING
50
No
actuators2: List of Actuators of the 2nd level of scan
DEV_STRING
50
No
sensors: List of Sensors
DEV_STRING
50
No
scanHistory: History of the scan. what happened.
DEV_STRING
100000
No
timebases: List of timebases
DEV_STRING
100
No





Image Attributes
Attribute name
Data Type
X Data Length
Y Data Length
Expert
sensors_data: The sensors data: X: number of total reads (steps) Y: number of sensors max size for X : 10 000 000 eg for a scan2d: 1000 * 10000
DEV_DOUBLE
10000000
50
No


TANGO is an open source project hosted by :
Sourceforge logo small
Core and Tools : CVS repository on tango-cs project
Device Servers : CVS repository on tango-ds project