Python, PyTango + QT Designer Operations perspective on automation

Slides:



Advertisements
Similar presentations
Control and IT Systems status and strategy ALBA, Piotr Goryl on behalf of Michał Ostoja-Gajewski, Krzysztof Wawrzyniak, Łukasz Żytniak, Tadeusz.
Advertisements

1 After completing this lesson, you will be able to: Specify options. Customize the appearance of messages. Add a signature to an .
Noadswood Science,  To know how to use Python to produce windows and colours along with specified co-ordinates Sunday, April 12, 2015.
Music Tuned Into Your Fingers May 3,2002 By: Andrew Howard Adesina Bakare Robert Zaretsky Robert Ferreira Ryan Ferster.
Introduction to TouchDevelop
EDDS Error Handling QP & Reliability Team. 2 EDDS Error Handling 1. In case of ‘Error code: -1’ (refer below captured error message ) EDDS system need.
Macros in Excel Intro to lab 1. Macroinstructions Macro is recorded in VBA module sequence of Excel operations Macros can automate tasks in Excel Macro.
LO: Learn how to develop your game further to include interactions with the device.
:56 EasyPreparation without Barcode Reader.
Form Handling, Validation and Functions. Form Handling Forms are a graphical user interfaces (GUIs) that enables the interaction between users and servers.
Learning to program using Minecraft. Learning Objective Know what Minecraft is and to explain some of it’s uses Build a simple house in creative mode.
Without barcode reader :33. without barcode reader :33 2. Select „Easy preparation“. Click OK. 1. Start PrepGilsonST program.
:19 EasyPreparation with Barcode Reader.
9000U Quick Guide Marketing & RMA Department XELTEK 8/28/2015.
Marco Lonza, “The Control System of the ELETTRA Booster Injector” ICALEPCS2005, Geneva October 2005 The Control System of the ELETTRA Booster Injector.
With Barcode Reader :33. with Barcode Reader :33 Selection of barcode reader 1a. Select the button „Configuration“.
Mentor Tools tutorial Bold Browser Design Manager Design Architect Library Components Quicksim Creating and Compiling the VHDL Model.
Dessy, 17 september 2007 Tango Meeting Development of Tango Client Applications in Python Tiago Coutinho and Josep Ribas.
Friday April 27, 2012, Cascina, Pisa Page 1 of 12 Cryotrap Control using Tango Control System Martin Mohan Software Engineer EGO.
Introduction to TouchDevelop
Making Python Pretty!. How to Use This Presentation… Download a copy of this presentation to your ‘Computing’ folder. Follow the code examples, and put.
How is a permanent (reg.) magnet different from an electromagnet?? Describe how an electromagnet shows how magnetism & electricity relate to each other.
How the Session Works Outline Practical on arrival Talk 1 Reflect on practical Clarify concepts Practical exercises at your own pace Talk 2: Further concepts.
Creating Macros in Excel Adding Automated Functionality to Excel & Office Applications.
Petra III Status Teresa Núñez Hasylab-DESY Tango Meeting DESY,
Python Interpreter and Pycharm Community Edition
Facilitating testing and monitoring of number entry systems in medical devices Abigail Cauchi, Christian Colombo, Mark Micallef & Gordon Pace.
Version mismatch functionality UX workflow presentation.
CP3110 – Assignment 2 Bramby’s Bakery Supply chain management software.
Programming Logic and Design Fourth Edition, Comprehensive Chapter 14 Event-Driven Programming with Graphical User Interfaces.
Kappa Workgroup Meeting | Bessy | Nov 28-29, 2011Session 4: Beamline GUIs 1 Beamline GUIs at ALBA Guifre Cuni on behalf of the Controls Group.
Perfecto Mobile Automation
Pen Based User Interface Issues CSE 490RA January 25, 2005.
André Augustinus 18 March 2002 ALICE Detector Controls Requirements.
COMPREHENSIVE Excel Tutorial 12 Expanding Excel with Visual Basic for Applications.
Questions to automatic workshop. 13 BLs financed Another 5 under discussion MAX IV status: Injector linac running since May GeV ring under commissioning.
Operations Machine Simulator.
GC Startup.
VAB™ for INFINITY Tutorial
PYGAME.
KARDEX Drive EWM
Laboratorio per dottorandi 2017 Particle Accelerators Control System
Custom made & Off-the-shelf software
Software testing
Tango Administrative Tools
How to Fi
Testing The JCOP Framework
Tau: PyQT GUI for Tango TANGO Collaboration Meeting April 18, 2008
Tau developers aproach
How to Create Mac OS X Recovery Partition?
AOL Customer Services For Instant Help Give a Ring on: Fix AOL Error 66 Dcvs.
Fix Outlook Error Code 998
Fix Error 550 Connect at Customer Service Number to Fix Error 550 under expertise of tech Support team experts.
Lesson 1: Buttons and Events – 12/18
Aliexpress Clone Script to Empower Your eCommerce Business
Request Management System Update
Fix Bitdefender Antivirus Error 2001 Give a Ring on: Bitdefender Support Number.
Fix Bitdefender Update Error 2019 Give a Ring on: Bitdefender Customer Support Service.
Restaurant Online Ordering Script Restaurant Booking Script | PHP Restaurant Menu Script.
Reaching more customers with accessible Metro style apps using HTML5
Tkinter GUIs Computer Science and Software Engineering
Python Mr. Husch.
Today’s lesson – Python next steps
Creating Macros in Excel
How to add Loopback adapter in windows 7
Python 19 Mr. Husch.
Macro.
High Level applications development status
Tonga Institute of Higher Education
Python 19 Mr. Husch.
Presentation transcript:

Python, PyTango + QT Designer Operations perspective on automation

Python, PyTango Controlling / reading tango devices with Python. Specifying tango devices to be controlled / read in Python scripts: gr00_valve = PyTango.DeviceProxy("i-gr00/vac/vgmb-02") Get device attribute into Python variable: gr00_state = gr00_valve.State() Print(gr00_state) >> CLOSED

Python, PyTango Allows for easy access and control of tango devices. Using functions and lists to handle commands to many devices: Defining a list of valve devices: self.valves = [PyTango.DeviceProxy("i-sp02/vac/vgmb-04"), PyTango.DeviceProxy("i-sp02/vac/vgmb-03"), PyTango.DeviceProxy("i-sp02/vac/vgmb-02")] Defining a function that closes all valves: def closevalves(self): for dev in self.valves: dev.close()

Building the GUI in Qt Designer Drawing the user gui in Qt Designer. Connect signals (=button clicked, checkbox marked etc.) to the python functions. Allows for a custom made, reliable and user friendly tango device control GUI.

Example: Linac commissioning, linac valves

Example: 3GeV ring commissioning, 3GeV valves

Example: Further development => Linac startup / shutdown

Turning this into ’automation’ Bringing these functions and commands into automated processes by conditions => if (’Radiation safety group says OK TO RUN’): then startup() etc.

Operators developing Natural line that operators develop scripts and GUIs When ’in operators-group’-developed scripts are finished and standarized, they should be handed over to the IT-group

Operational point of view on automation Automation and Operation goals Modes of operation, SPF + 3GeV top up + 1.5GeV top up Solving errors by automation? Safety aspects? Control system robust enough? MPS and PSS reliability. Challenges, difficulties => Feedback systems, finding the operation modes

THE END Thank you!