Presentation is loading. Please wait.

Presentation is loading. Please wait.

LBT AO software components A. Puglisi, Arcetri, 21 th Feb 2005 LBT AO software components Alfio Puglisi Luca Fini Osservatorio Astrofisico di Arcetri,

Similar presentations


Presentation on theme: "LBT AO software components A. Puglisi, Arcetri, 21 th Feb 2005 LBT AO software components Alfio Puglisi Luca Fini Osservatorio Astrofisico di Arcetri,"— Presentation transcript:

1 LBT AO software components A. Puglisi, Arcetri, 21 th Feb 2005 LBT AO software components Alfio Puglisi Luca Fini Osservatorio Astrofisico di Arcetri, Florence, Italy

2 LBT AO software components A. Puglisi, Arcetri, 21 th Feb 2005 ● Hardware controllers ● Tested configurations ● Shared memory buffers ● IDL server ● Python scripting Summary

3 LBT AO software components A. Puglisi, Arcetri, 21 th Feb 2005 MVxxSTATUS MvxxERRMSG MVxxCURPOS MvxxLOEND MvxxHIEND MVxxSPEED MvxxHISPEED MVxxTGTPOS MvxxENABLE.......... RTDB Var Set User prompt/ GUI / Automatic script Notify RS232 over Ethernet Motor Controller Basic method for position control using RTDB variables Two types of variable: global and private. Commands are implemented as writes to global variables. Answers as writes to private variables Mx

4 LBT AO software components A. Puglisi, Arcetri, 21 th Feb 2005 MV01STATUS MV01ERRMSG MV01CURPOS MV01LOEND MV01HIEND MV01SPEED Mv01HISPEED MV01TGTPOS Mv01ENABLE MV02STATUS MV02ERRMSG MV02CURPOS MV02LOEND MV02HIEND MV02SPEED Mv02HISPEED MV02TGTPOS Mv02ENABLE MV03STATUS MV03ERRMSG MV03CURPOS MV03LOEND MV03HIEND MV03SPEED Mv03HISPEED MV03TGTPOS Mv03ENABLE...... RTDB Var Set User prompt/ GUI / Automatic script RS232 over Ethernet Motor #1 Controller RS232 over Ethernet Motor #2 Controller RS232 over Ethernet Motor #3 Controller Mx

5 LBT AO software components A. Puglisi, Arcetri, 21 th Feb 2005 MVxxSTATUS MVxxERRMSG MvxxCURPOS MVxxLOEND MvxxHIEND MVxxSPEED MvxxHISPEED MVxxTGTPOS MvxxENABLE.......... RTDB Var Set Application Program Notify Mx RS232 over Ethernet Old stepper controller Changing a component transparently RS232 over Ethernet New stepper controller Mx

6 LBT AO software components A. Puglisi, Arcetri, 21 th Feb 2005 MVxxSTATUS MVxxERRMSG MvxxCURPOS MvxxLOEND MvxxHIEND MVxxSPEED MvxxHISPEED MVxxTGTPOS MvxxENABLE.......... RTDB Var Set Test program Notify RS232 over Ethernet Stepper controller Testing components using variables AND/OR Text prompt Mx

7 LBT AO software components A. Puglisi, Arcetri, 21 th Feb 2005 WFS RTR N E T W O R K Tested configuration: Arcetri WFS lab MSGLIB MsgD RTDB MSGLIB COMMIB RTR ctrl MSGLIB GUI COMMLIB WFS ctrl MSGLIB ChUI MSGLIB IDL process ● Many different interfaces in parallel ● No arbitration, since it is a test environment Ethernet/RS232 converter Shared memory

8 LBT AO software components A. Puglisi, Arcetri, 21 th Feb 2005 Shared memory buffers Ansynchronous buffersSynchronous (FIFO mode) Producer Shared memory Consumer #1Consumer #2Consumer #3 Producer Shared memory Consumer 12345 1 45 12345 123 45 3 3

9 LBT AO software components A. Puglisi, Arcetri, 21 th Feb 2005 X linear stage WFS N E T W O R K Tested configuration: Linear stages test in Potsdam MsgD RTDB MSGLIB Ethernet/RS232 converter LAPTOP COMPUTER (!) GUI MSGLIB Stages ctrl MSGLIB COMMLIB Stages ctrl MSGLIB COMMLIB Stages ctrl MSGLIB COMMLIB Y linear stage Z linear stage

10 LBT AO software components A. Puglisi, Arcetri, 21 th Feb 2005 N E T W O R K Tested configuration: Arcetri P45 lab COMMLIB Mirror ctrl MSGLIB MsgD RTDB MSGLIB IDL process P45 prototype MSGLIB IDL process Shared memory Command path Fast data path Ethernet line

11 LBT AO software components A. Puglisi, Arcetri, 21 th Feb 2005 N E T W O R K P45 / LBT672 control with IDL server N E T W O R K MSGLIB GUI interface MSGLIB text prompt COMMIB Mirror ctrl MSGLIB Command path Answer path IDL server MSGLIB IDL Stdin/out MsgD RTDB

12 LBT AO software components A. Puglisi, Arcetri, 21 th Feb 2005 Python classes MSGLIB MsgD RTDB MSGLIB Text command prompt Graphic interface Python scripts Python scripting interface C Wrapper To controller programs TCS interface TCS

13 LBT AO software components A. Puglisi, Arcetri, 21 th Feb 2005 What about CPU usage? ● Loop closed ● Realtime display active ● Mirror commands monitor ● Command line interface ● Various graphic interfaces Only the graphic interfaces use a significant amount of processing power


Download ppt "LBT AO software components A. Puglisi, Arcetri, 21 th Feb 2005 LBT AO software components Alfio Puglisi Luca Fini Osservatorio Astrofisico di Arcetri,"

Similar presentations


Ads by Google