110 likes | 137 Views
ATK. The Tango Application ToolKit. Jean-Luc PONS European Synchrotron Radiation Facility (ESRF). ATK. The TANGO A pplication T ool K it. ATKCore : New event subscription politic. New Attribute. No. Device has event ?. Yes. Subscribe to CHANGE_EVENT. Failed with error : abs_change
E N D
ATK The Tango Application ToolKit Jean-Luc PONS European Synchrotron Radiation Facility (ESRF)
ATK The TANGO Application ToolKit ATKCore : New event subscription politic New Attribute No Device has event ? Yes Subscribe to CHANGE_EVENT Failed with error : abs_change or rel_change not set No No Success ? Yes Yes Subscribe to PERIODIC_EVENT No Success ? Yes Listen to PERIODIC_EVENT ATK Refresher Listen to CHANGE_EVENT
ATK The TANGO Application ToolKit ATKCore : Various change • Added methods to set and get the device timeout within the ATK Device class. (Available from AtkPanel) • Added the DeviceProperty handling developed by SOLEIL. • Added new Tango5 Attribute data types (UChar , UShort, and Float). • The AttributePolledList reads now attributes coming from a same device in one call using DeviceProxy.read_attributes(). • Added refresher “synchronized” period developed by SOLEIL.
ATK The TANGO Application ToolKit ATKCore : Diagnostic Window • Can be displayed by calling the static method (even from a pure core application) fr.esrf.tangoatk.widget.util.ATKDiagnostic.showDiagnostic()
ATK The TANGO Application ToolKit ATKCore : Core structure improvements (Long Term) • All numeric type are converted to double => Memory and performance problem. • Redo the ATK event system and pass the DeviceAttribute structure instead of double array. • Use the attribute format property to describe the image format : RGB24 , RGB16 , Various YUV or B&W and allow the ImageViewer to work with the good data type.
ATK The TANGO Application ToolKit ATKWidget : JDraw/TangoSynopticHandler • Panel launched through the TangoSynopticHandler are now instancied only once. • Added component Library management (JDLibraryViewer)
ATK The TANGO Application ToolKit ATKWidget : JDraw JDSwingObject • NumberScalarWheelEditor : arrowColor, arrowSelColor • SimpleScalarViewer : unitVisible, userFormat, alarmEnabled, validBackground, invalidText • NumberSpectrumViewer: graphSettings • VoidVoidCommandViewer: text • BooleanScalarCheckBoxViewer : text
ATK The TANGO Application ToolKit ATKWidget : JDraw JDSwingObject • NumberImageViewer: toolBarVisible, statusLineVisible, gradientVisible, xAxis, yAxis • NumberScalarComboEditor: valueList • StringScalarComboEditor: valueList
ATK The TANGO Application ToolKit ATKWidget : Trend • Added attribute selector (fr.esrf.tangoatk.widget.util.DeviceFinder). • 4 selection mode : MODE_DEVICE, MODE_ATTRIBUTE, MODE_COMMAND, MODE_ATTRIBUTE_SCALAR
ATK The TANGO Application ToolKit ATKWidget : Soleil Widgets • AttributeMultiChart : Plot several scalar attributes within a bar chart • NumberScalarSpinner : A setpoint spinner editor • NumberScalarCheckBoxViewer : A boolean scalar editor (Using a NumberScalar) • AttributeQualityLightViewer : Display the quality of an attribute
ATK The TANGO Application ToolKit ATKWidget : Soleil Widgets • ScalarInput : A scalar editor • SingalScalarLightViewer : A boolean scalar viewer (Using a NumberScalar or a BooleanScalar) • DeviceStateLightViewer :A device state viewer • DevicePropertyDialog : A property editor panel .