The LUCI simulator
The luci simulator typically runs on a VM.
e.g.
- luci-sim2.tucson.lbto.org
- isola-dev.tucson.lbto.org
Use
X2GO to access the simulation environment as user "lucifer", and ~ reversed with a 3
Run the LUCI software
Requirements:
- need the GEIRS software running for both cameras
- need an IIF TCS server
- On the TCS side:
- instrument lucifer needs to be initialized
- Rotators need to be on
- If using AO go to the PSF GUI, click Control and on the new Control window click on "Secondary" which will toggle from "Rigid" to "Adaptive"
- make sure the TelescopeServiceIceClient.config points to the correct IP
Running GEIRS
su as readout1 and readout2 in the simulation environment
su - readout1
pwd geirs1
su - readout2
pwd geirs2
then:
cd GEIRS
for readout1
./scripts/start_luci1_new
for readout2
./scripts/start_luci2_new
Note: if the software complaints about it already running then clean it up by running:
./scripts/cleanup
in both accounts then run the start scripts as indicated above.
Edit Telescope Service config file: "TelescopeIceClient.config"
as user lucifer edit file
~/lcsp/config/TelescopeIceClient.config
make sure there is only one line not commented out:
E.g.
Factory.Proxy=Factory:tcp -p 10000 -h 10.130.142.41
or
Factory.Proxy=Factory:tcp -p 10000 -h isola-dev.tucson.lbto.org
Note:
if the Telescope Service is already running see below and you change the above parameter, click the "Reconnect to
IIF" button on the bottom left side of the Telescope Service GUI.
Start the simulation
as user lucifer:
cd lcsp
./bin/startSimulation.sh
This will bring a GUI with all the services listed. If the services are down, each listed service will have a red dot next to it. If it is running the dot will be green.
If the software is not running click on the "system status:" "start" button at the top, this will start all systems. The GUI will brieftly dissapear, then a splash window with startup status will appear, after the software is up the original gui will appear now, hopefully in green.
Finally:
Initialize the instruments:
- Click on the "system" tab in the LUCI Management Console
- Select the "Scheduler GUI" entry. (last row) and right click, then select "start Scheduler GUI"
- In the Scheduler GUI click on the "LUCI 1" and "LUCI 2" buttons, the instrument GUIs will open
- In the instrument GUIs click the top bar, which says: "Initialize" then select "ALL_UNITS". This is enough to initialize the instrument. No need to click on the "Submit" button.
Notes:
- The "supervisor" service is not running, ever.
- The Scheduler service might be slow comming up, if so wait a minute or two and "refresh table".
- Bring up the Telescope Service GUI and "skip" wait for Collimation on right side. Apparently there is some simulation quick in the TCS about this.
-- %USERSIG{IgorSola - 2018-05-01}%