Personal tools
You are here: Home P200 Echelle ECHELLE Software User Manual DBSP startup scripts
Document Actions

DBSP startup scripts

by Marco Bonati last modified 2005-06-10 03:34 PM

Startup Mechanism

The mechanism for starting both sides is totally simetric. WE will describe the startup mechanism for the blue side. For the red side, just replace "BLUE" for "RED"


icon on console machine:
   1) start_DBSP:
            senses if the vncserver for the GUIS is running or no (:9)t. If not, it will start it. Then, it opens a vncviewer.
            Inside the vncviewer, if you click the "start_blue" icon,
        2) launch_BLUE:
            - starts xgterm
            - executes init_BLUE
          3) init_BLUE:
                uses three scripts:
                3.1) get_BLUE_status: senses if the application is running by asking the status to the DHE module. If there is no response, it means that the application is not running, so it will call start_BLUE_server . If it gets response, it will jump to 3.4)
                3.2) start_BLUE_server :
                           3.2.1)  senses if the vncserver were arcview runs is running (:12). If not, starts it.
                           3.2.2)  it will call an arcview script for starting the apropriate application (by name). In this case it will start
                                        the application called "DBSPBLUE"
                3.3)  after the "start_BLUE_server" is called, keep calling get_BLUE_status untill it gets a response
                3.4) call the script "start_BLUE_client", which opens the Graphic Interface by calling labview and the apropriate vi