170 likes | 272 Views
(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.
E N D
(Changed) Interaction between GUI and DAQ Narval Jurek Grębosz IFJ PAN Kraków
Agata detector Chd’1 Act 1 FE FE FE FE x180 Chd’2 Act 2 PSA PSA PSA PSA x180 Maestro Intermediary Intermediary Intermediary Chd’4 Act 3 EB EB EB EB Chd’n Act n TR TR TR TR This is very naive view of DAQ For details – see documentsmade by Xavier Grave Chd’n consumer consumer consumer
GUI and DAQare two different programs running on different computers NarvalMaestro GUI SOAP Starting GUI with parameter – name of the computer where the DAQ is running (for weeks) (defaults)
GUI and DAQare two different programs running on different computers SOAP SOAP Maestro GUI Instrument Manager (Run Controll) NARVAL DAQ „Super Maestro”
GUI SOAP SOAP SOAP SOAP Instrument Manager (Run Controll) Maestro of 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. - Many GUIs can talk with one IM. They can be registered by username and password.
New object – Instrument Manager (IM)Some disadvantages - One more level of complication. - GUI can not talk directly to NARVAL components
Chd’1 Chd’1 FE FE FE FE FE FE FE FE Act 1 Act 1 x180 x180 Chd’2 Chd’2 PSA PSA PSA PSA PSA PSA PSA PSA Act 2 Act 2 x180 x180 Maestro Maestro Entracte Entracte Entracte Entracte Entracte Entracte Chd’4 Chd’4 EB EB EB EB EB EB EB EB Act 3 Act 3 Chd’n Chd’n TR TR TR TR TR TR TR TR Act n Act n Chd’n Chd’n consumer consumer consumer consumer consumer consumer J Does it complicate the modelling idea? GUI Narval (real or fake) Modelling the reality We can easily „reconstruct” the structure (and display it as a diagram)
Chd’1 Chd’1 FE FE FE FE FE FE FE FE Act 1 Act 1 x180 x180 Chd’2 Chd’2 PSA PSA PSA PSA PSA PSA PSA PSA Act 2 Act 2 x180 x180 Maestro Maestro Entracte Entracte Entracte Entracte Entracte Entracte Chd’4 Chd’4 EB EB EB EB EB EB EB EB Act 3 Act 3 Chd’n Chd’n TR TR TR TR TR TR TR TR Act n Act n Chd’n Chd’n consumer consumer consumer consumer consumer consumer It was never directly anyway… GUI Narval (real or fake) gSOAP controll
Chd’1 Chd’1 FE FE FE FE FE FE FE FE Act 1 Act 1 x180 x180 Chd’2 Chd’2 PSA PSA PSA PSA PSA PSA PSA PSA Act 2 Act 2 x180 x180 Maestro Maestro Entracte Entracte Entracte Entracte Entracte Entracte Chd’4 Chd’4 EB EB EB EB EB EB EB EB Act 3 Act 3 Chd’n Chd’n TR TR TR TR TR TR TR TR Act n Act n Chd’n Chd’n consumer consumer consumer consumer consumer consumer anyway - it is only one „pipe” IM gSOAP controll All components of Narval GUI’s model of Narval
First tests of GUI Instrument Managersuccessfully passed December 2006 Padova-Legnaro It works! Lucky the wsdl files given to me by Francesco are fully compatibile with my gSOAP standard
Flexibility of IM has its cost IM does not want to care about the number of the parameters given by some actor and or 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
Sometimes may be more convenient server client server client GUI IM NAR-VAL Registering the specra/ratios watching, or error messages Modes of Interaction client server client server GUI IM NAR-VAL
IM SOAP SOAP Maestro VCR Virtual Control Room – made by Trieste group. It is the object which will supply: • log-booking, • chatting, • video conferencing, (between many GUI users) 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.
Status of GUI… Bottleneck is the communication, so I wait impatiently
Thank you Jurek Grębosz IFJ PAN Kraków
Jurek Xavier collaboration Chd’1 FE FE FE FE Act 1 x180 Chd’2 PSA PSA PSA PSA Act 2 x180 Chef d’Orch Entracte Entracte Entracte Chd’4 EB EB EB EB Act 3 Chd’n TR TR TR TR Act n Chd’n consumer consumer consumer WSDL description of the services provided by a particular type of actor WSDL J X GUI Client procedures to talk to the particular type of actor Imitation of the service provided by the particular actor Program which is kind of Narval imitation GUI program Narval (real)