(changed) interaction between gui and daq narval

17
(Changed) Interaction (Changed) Interaction between GUI and DAQ Narval between GUI and DAQ Narval Jurek Grębosz Jurek Grębosz IFJ PAN Kraków IFJ PAN Kraków

Upload: rafael-duke

Post on 03-Jan-2016

28 views

Category:

Documents


0 download

DESCRIPTION

(Changed) Interaction between GUI and DAQ Narval. Jurek Grębosz IFJ PAN Kraków. Agata detector. Ch d’1. Act 1. FE. FE. FE. FE. x180. Ch d’2. Act 2. PSA. PSA. PSA. PSA. x180. Maestro. Intermediary. Intermediary. Intermediary. Ch d’4. Act 3. EB. EB. EB. EB. Ch d’n. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: (Changed) Interaction  between GUI and DAQ Narval

(Changed) Interaction (Changed) Interaction between GUI and DAQ Narvalbetween GUI and DAQ Narval

(Changed) Interaction (Changed) Interaction between GUI and DAQ Narvalbetween GUI and DAQ Narval

Jurek GręboszJurek GręboszIFJ PAN KrakówIFJ PAN Kraków

Page 2: (Changed) Interaction  between GUI and DAQ Narval
Page 3: (Changed) Interaction  between GUI and DAQ Narval

x180Chd’1

Act 1

Maestro

PSA PSA PSA PSAx180Chd’2

Act 2

Intermediary Intermediary

Chd’4

Act 3

Intermediary

consumer

Agata detector

TR TR TR TRChd’n

Act n

FEFE FE FE

EB EB EB

consumer consumer

EB

Chd’n

This is very naive view of DAQFor details – see documentsmade by Xavier Grave

Page 4: (Changed) Interaction  between GUI and DAQ Narval

GUI and DAQGUI and DAQare two different programs running on different computers

GUIGUI NarvalMaestr

o

Starting GUI with parameter – name of the computer where the DAQ is running (for weeks)

(defaults)

SOAP

Page 5: (Changed) Interaction  between GUI and DAQ Narval

GUI and DAQGUI and DAQare two different programs running on different computers

SOAP SOAP

GUI InstrumentManager

(Run Controll)

Maestro

„Super Maestro”

NARVAL DAQ

Page 6: (Changed) Interaction  between GUI and DAQ Narval

New object – Instrument Manager (IM)

Some advantages:- Security. All components of NARVAL can be hidden behind some firewall. The only contact can be just IM.

SOAPSOAP

SOAP

GUI

InstrumentManager

(Run Controll)

Maestro of Narval

SOAPSOAP

SOAPSOAP

- Many GUIs can talk with one IM. They can be registered by username and password.

Page 7: (Changed) Interaction  between GUI and DAQ Narval

- One more level of complication.

- GUI can not talk directly to NARVAL components

New object – Instrument Manager (IM)Some disadvantages

Page 8: (Changed) Interaction  between GUI and DAQ Narval

Does it complicate the modelling idea?Does it complicate the modelling idea?

x180

Chd’1

Act 1

Maestro

PSA PSA PSA PSA

x180

Chd’2

Act 2

Entracte Entracte

Chd’4

Act 3

Entracte

consumer

TR TR TR TRChd’n

Act n

FEFE FE FE

EB EB EB

consumer consumer

EB

Chd’n

Narval (real or fake)

J

GUI

x180

Chd’1

Act 1

Maestro

PSA PSA PSA PSA

x180

Chd’2

Act 2

Entracte Entracte

Chd’4

Act 3

Entracte

consumer

TR TR TR TRChd’n

Act n

FEFE FE FE

EB EB EB

consumer consumer

EB

Chd’n

Modelling the reality

We can easily „reconstruct” the structure (and display it as a diagram)

Page 9: (Changed) Interaction  between GUI and DAQ Narval

It was never directly anyway…

x180

Chd’1

Act 1

Maestro

PSA PSA PSA PSAx180

Chd’2

Act 2

Entracte Entracte

Chd’4

Act 3

Entracte

consumer

TR TR TR TRChd’n

Act n

FEFE FE FE

EB EB EB

consumer consumer

EB

Chd’n

Narval (real or fake)GUI

x180

Chd’1

Act 1

Maestro

PSA PSA PSA PSA

x180

Chd’2

Act 2

Entracte Entracte

Chd’4

Act 3

Entracte

consumer

TR TR TR TRChd’n

Act n

FEFE FE FE

EB EB EB

consumer consumer

EB

Chd’n

gSOAPcontroll

gSOAPcontroll

Page 10: (Changed) Interaction  between GUI and DAQ Narval

anyway - it is only one „pipe”

gSOAPcontroll

gSOAPcontroll

IMIM

All components of Narval

GUI’smodel

of Narval

x180

Chd’1

Act 1

Maestro

PSA PSA PSA PSAx180

Chd’2

Act 2Entracte Entracte

Chd’4

Act 3

Entracte

consumer

TR TR TR TRChd’n

Act n

FEFE FE FE

EB EB EB

consumer consumer

EB

Chd’n

x180

Chd’1

Act 1

Maestro

PSA PSA PSA PSAx180

Chd’2

Act 2Entracte Entracte

Chd’4

Act 3

Entracte

consumer

TR TR TR TRChd’n

Act n

FEFE FE FE

EB EB EB

consumer consumer

EB

Chd’n

Page 11: (Changed) Interaction  between GUI and DAQ Narval

First tests of GUI Instrument Manager successfully passed

Lucky the wsdl files given to me by Francesco are fully compatibile with my gSOAP standard

It works!

December 2006 Padova-Legnaro

Page 12: (Changed) Interaction  between GUI and DAQ Narval

Flexibility of IM has its costFlexibility of IM has its cost

IM does not want to care about the number of the parameters given by some actor andor about the meaning of them…

By this any new parameters introduced by XAVIER will not demand any change of IM.

However, the GUI must care about this - to produce the logical and convincing GUI

Page 13: (Changed) Interaction  between GUI and DAQ Narval

Modes of Interaction

GUIGUI IMIM NAR-

VAL

NAR-

VAL

client server client server

GUIGUI IMIM NAR-

VAL

NAR-

VAL

server client server client

Sometimes may be more convenient

Registering the specra/ratios watching, or error messages

Page 14: (Changed) Interaction  between GUI and DAQ Narval

Even the basic version will be useful!

The Trieste team still work on is, but - in my opinion - no panic.

Even if it will not be done on time - the Agata Demonstrator can work without it.

Virtual Control Room – made by Trieste group.

It is the object which will supply: • log-booking,

• chatting,

• video conferencing, (between many GUI users)

SOAP IMIM SOAP Maestro

VCR

VCR

Page 15: (Changed) Interaction  between GUI and DAQ Narval

Status of GUI…Status of GUI…

Bottleneck is the communication, so I wait impatiently

Page 16: (Changed) Interaction  between GUI and DAQ Narval

Thank youThank youThank youThank you

Jurek GręboszJurek GręboszIFJ PAN KrakówIFJ PAN Kraków

Page 17: (Changed) Interaction  between GUI and DAQ Narval

Jurek Xaviercollaboration

Jurek Xaviercollaboration

GUI Client procedures

to talk to the particular type of

actor

GUI Client procedures

to talk to the particular type of

actor

Imitation of the service provided by the particular

actor

Imitation of the service provided by the particular

actor

x180

Chd’1

Act 1

Chefd’Orch

PSA PSA PSA PSA

x180

Chd’2

Act 2

Entracte Entracte

Chd’4

Act 3

Entracte

consumer

TR TR TR TRChd’n

Act n

FEFE FE FE

EB EB EB

consumer consumer

EB

Chd’nProgram which is

kind of Narval imitation

Program which is kind of

Narval imitationNarval (real)

GUI program

GUI program

WSDL descriptionof the services provided by a

particular type of actor

WSDL descriptionof the services provided by a

particular type of actor

WSDL

X

J