Top Banner
Laboratoire Interdisciplinaire sur l’Organisation Nanométrique et Supramoléculaire DIRECTION DES SCIENCES DE LA MATIERE IRAMIS TANGO at LIONS Olivier Taché
12

Laboratoire Interdisciplinaire sur l’Organisation Nanométrique et Supramoléculaire DIRECTION DES SCIENCES DE LA MATIERE IRAMIS TANGO at LIONS Olivier Taché.

Dec 29, 2015

Download

Documents

Kathlyn Brooks
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Laboratoire Interdisciplinaire sur l’Organisation Nanométrique et Supramoléculaire DIRECTION DES SCIENCES DE LA MATIERE IRAMIS TANGO at LIONS Olivier Taché.

Laboratoire Interdisciplinaire sur l’Organisation Nanométrique et Supramoléculaire

DIRECTION DES SCIENCES DE LA MATIERE

IRAMIS

TANGO at LIONS

Olivier Taché

Page 2: Laboratoire Interdisciplinaire sur l’Organisation Nanométrique et Supramoléculaire DIRECTION DES SCIENCES DE LA MATIERE IRAMIS TANGO at LIONS Olivier Taché.

2Olivier Taché / TANGO meeting / 13-05-2009

Plan

• CEA / LIONS Description• How we start to use Tango• Device Servers• The Python interface• The Graphic User Interface using Jdraw• In the Future• Conclusion

Page 3: Laboratoire Interdisciplinaire sur l’Organisation Nanométrique et Supramoléculaire DIRECTION DES SCIENCES DE LA MATIERE IRAMIS TANGO at LIONS Olivier Taché.

3Olivier Taché / TANGO meeting / 13-05-2009

CEA / LIONS• CEA : French nuclear and technological research institute• LIONS (Laboratoire Interdisciplinaire sur l’Organisation Nanométrique et

Supramoléculaire) : fundamental research on nanochemistry and nanoscience– Interdisciplinary group with chemists, physicists, theorists,…– Knowledge of the “nano object”– Home made experiments– Use of synchrotron– 40 researchers– 1 computer scientist

– Need of a standard in control command software– Need of flexibility in GUI

Page 4: Laboratoire Interdisciplinaire sur l’Organisation Nanométrique et Supramoléculaire DIRECTION DES SCIENCES DE LA MATIERE IRAMIS TANGO at LIONS Olivier Taché.

4Olivier Taché / TANGO meeting / 13-05-2009

Ultra Small AngleX-ray scattering

How we start to use TANGO

2006

2007

2008

2009

Small AngleX-ray scattering

Reflectivity diffractometer

Brewster angle microscope

Light scattering

Experimental samples systemson synchrotrons :

ESRF (ID2, BM2, ID10…) SOLEIL (Swing, Ode)

Laboratory experiments Microfluidic

systems

0injection

t

UV

CCD

Page 5: Laboratoire Interdisciplinaire sur l’Organisation Nanométrique et Supramoléculaire DIRECTION DES SCIENCES DE LA MATIERE IRAMIS TANGO at LIONS Olivier Taché.

5Olivier Taché / TANGO meeting / 13-05-2009

Device Servers50 Devices Servers home made and 1 (GPIB) from SoleilCommandment n°1 for a good DS : « Choose the appropiate langage » C++ for servers using dll or where performance are needed Python for servers using serial protocol or data treatment

Some devices servers :• Stepper motor driver

– a versatile stepper motor controller from Trinamics– Low cost– RS232 port – Python

• C++ Mar 300 detector device server– One month spend to adapt the (damn) c code– A fully fonctionnable device server on linux– Not really redistributable

Not on CVS …

Page 6: Laboratoire Interdisciplinaire sur l’Organisation Nanométrique et Supramoléculaire DIRECTION DES SCIENCES DE LA MATIERE IRAMIS TANGO at LIONS Olivier Taché.

6Olivier Taché / TANGO meeting / 13-05-2009

Interface• Command line with Python (spec like)• Synoptic with JDraw

Page 7: Laboratoire Interdisciplinaire sur l’Organisation Nanométrique et Supramoléculaire DIRECTION DES SCIENCES DE LA MATIERE IRAMIS TANGO at LIONS Olivier Taché.

7Olivier Taché / TANGO meeting / 13-05-2009

The Python interface

Python object generated fromDevices servers attributes and commands

Researchers needs a command line interface :- logic is not fixed in an experiment- Users can write and change sequences themselves- Many experiments with different logic

TANGO

pyTangoDevice

Generic tools for easy access to devices

pyTangoBeamline

Experiment.py

Myscript.py Made by users

Page 8: Laboratoire Interdisciplinaire sur l’Organisation Nanométrique et Supramoléculaire DIRECTION DES SCIENCES DE LA MATIERE IRAMIS TANGO at LIONS Olivier Taché.

8Olivier Taché / TANGO meeting / 13-05-2009

The Python interface : scans

Page 9: Laboratoire Interdisciplinaire sur l’Organisation Nanométrique et Supramoléculaire DIRECTION DES SCIENCES DE LA MATIERE IRAMIS TANGO at LIONS Olivier Taché.

9Olivier Taché / TANGO meeting / 13-05-2009

The GUI using JdrawWe just want to draw !

Page 10: Laboratoire Interdisciplinaire sur l’Organisation Nanométrique et Supramoléculaire DIRECTION DES SCIENCES DE LA MATIERE IRAMIS TANGO at LIONS Olivier Taché.

10Olivier Taché / TANGO meeting / 13-05-2009

The GUI using JdrawA progress bar withMaximum value from device attribute

A custom x scale (not array index)

And also for non linear scale (a pairof x,y values)

Page 11: Laboratoire Interdisciplinaire sur l’Organisation Nanométrique et Supramoléculaire DIRECTION DES SCIENCES DE LA MATIERE IRAMIS TANGO at LIONS Olivier Taché.

11Olivier Taché / TANGO meeting / 13-05-2009

Future developments•10 new devices servers•1 ccd camera (basler camera ?)•Users from other labs •Automatic data treatments•Remote access (web interface ?)

WAXS projectA collaboration with Orsay university (LPS)

Mar 345 detector•Used at Soleil, LLB, Orsay university, other laboratories•A fully fonctionnable C++ Device server•On linux ? windows ?

Page 12: Laboratoire Interdisciplinaire sur l’Organisation Nanométrique et Supramoléculaire DIRECTION DES SCIENCES DE LA MATIERE IRAMIS TANGO at LIONS Olivier Taché.

12Olivier Taché / TANGO meeting / 13-05-2009

Questions / ConclusionsRelationship with hardware suppliers :• if we spend one month to develop a Device Server for a detector that is used everywhere … • 400 € to get the drivers for Ocean Optics spectrometers (that cost 17k€ !!)• How to share the device server for a such hardware

Is it possible to use TANGO on small laboratories ? • Yes, a powerful and versatile system • but one computer scientist is needed• Experiments suppliers not convinced • Colleagues not fully convinced (some preferred spec …)• At Orsay university (LPS) : Eric Jourdanneau

Some disillusions :• Sharing devices servers• not yet possible to connect our Tango system on synchrotron beamlines (not enough time, or security

reasons, and is it a good solution ?)