Upload
rafael-duke
View
31
Download
0
Embed Size (px)
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
Citation preview
(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
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
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
GUI and DAQGUI and DAQare two different programs running on different computers
SOAP SOAP
GUI InstrumentManager
(Run Controll)
Maestro
„Super Maestro”
NARVAL DAQ
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.
- One more level of complication.
- GUI can not talk directly to NARVAL components
New object – Instrument Manager (IM)Some disadvantages
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)
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
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
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
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
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
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
Status of GUI…Status of GUI…
Bottleneck is the communication, so I wait impatiently
Thank youThank youThank youThank you
Jurek GręboszJurek GręboszIFJ PAN KrakówIFJ PAN Kraków
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