.

Average: 0
Rating Count: 0

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



Class Description


Tune measurement device.
This device computes tune measurement by getting its data from another device attribute (currently BPM or RF), computing a Fast Fourier Transform (FFT) on it with possible averaging, and extracting the maximal value of this FFT inside a predefined interval.

Families: BeamDiagnostics

Key words:

Language: Cpp

License:

Contact:

Class interface


Attributes:

Name Description
NuPeakSearchStartScalar: DevDouble
NuPeakSearchEndScalar: DevDouble
NuScalar: DevDouble
NuInHigherIntervalScalar: DevBoolean
NuRawScalar: DevDouble
FFTNbPointsScalar: DevLong
SkippedFirstSamplesScalar: DevUShort
FFTAveragingScalar: DevUShort
EstimComputTimeScalar: DevLong
ComputationPeriodScalar: DevLong
FFTWindowSizeScalar: DevLong
NuRawMagnitudeScalar: DevDouble
FFTabsSpectrum: DevDouble
FFTordSpectrum: DevDouble
FFTphaseSpectrum: DevDouble

Commands:

Name Description
StateInput: DevVoid
Output: State
This command gets the device state (stored in its device_state data member) and returns it to the caller.
StatusInput: DevVoid
Output: DevString
This command gets the device status (stored in its device_status data member) and returns it to the caller.
StartInput: DevVoid
Output: DevVoid
Start the computation of the tune measure
StopInput: DevVoid
Output: DevVoid
Stops the computation of the tune measure

Pipes:

Properties:

Name Description
SrcDeviceDevString Device name where the data are read
SrcDataAttrNameDevString Attribute name read on SrcDevice for the data
SrcSizeAttrNameDevString Attribute name to configure the number of samples in SrcDataAttrName
SrcSizeWriteEnabledDevBoolean Tells if this device is allowed to control the SrcSizeAttrName, or if it can only read it
SkippedFirstSamplesDevShort The number of samples that are dropped in the beginning of the data src buffer, before computing the FFT
WindowTypeDevString The type of window applied to the input signal. Must be one of the following : RECTANGULAR, BLACKMAN, EXACT_BLACKMAN, HAMMING, HANN, FLATTOP, BLACKMAN_HARRIS_3, BLACKMAN_HARRIS_4, BLACKMAN_HARRIS_7, LOW_SIDELOBE
FFTMinimalNbPointsDevLong The minimal number of bins in the FFT. Must be a power of 2 (otherwise, rounded to the next power of 2
ComputationPeriodDevLong The initial internal period in millisecond at which new tune measures are produced
AutoStartDevBoolean if set to `true`, the computation of the tune measure starts automatically when the device is launched
FFTWindowSizeDevLong The number of points in the src buffer that are used to compute the FFT


Please log in to comment.

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



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



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



23 Feb 2017, Piotr Goryl
Created:
The device class has been added to catalogue.
Added by:pgoryl2 on:23 Feb 2017, 9:26 a.m.