This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
development:dynamicobserving:running [2016/04/05 01:22] Jim Lovell |
development:dynamicobserving:running [2016/11/11 23:24] (current) Bryn Emptage |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Running the Dynamic Observing Software ====== | ====== Running the Dynamic Observing Software ====== | ||
- | The description below assumes that the experiment is called ds001 and that it's running on the Katherine 12m (station ID Katherine). It is also assumed that the [[development:dynamicobserving:scripts|Dynamic Observing Scripts]] are installed in /home/oper/dysched | + | The description below assumes that the experiment is called ds001 and that it's running on the Katherine 12m (station ID Katherine). It is also assumed that the [[development:dynamicobserving:scripts|Dynamic Observing Scripts]] are installed in /home/oper/bin/dysched |
It's recommended that this software is run from a VNC session but it can also be run on the desktop. For the example given here, a VNC session is shown. | It's recommended that this software is run from a VNC session but it can also be run on the desktop. For the example given here, a VNC session is shown. | ||
- Start the PC field system software as usual. | - Start the PC field system software as usual. | ||
+ | - In a terminal window, start [[development:dynamicobserving:ds_redbutton.pl|ds_redbutton.pl]] and test that you can communicate with the server and send an antenna available/not available status. {{:development:dynamicobserving:big_red_button.png|}} | ||
+ | - A log of activity from [[development:dynamicobserving:ds_redbutton.pl|ds_redbutton.pl]] is kept in ''/usr2/log/ds_allow_*.log'' | ||
- In a new terminal window, start the main dynamic observing script [[development:dynamicobserving:dysched|dysched.pl]] with the name of the experiment and the station ID: | - In a new terminal window, start the main dynamic observing script [[development:dynamicobserving:dysched|dysched.pl]] with the name of the experiment and the station ID: | ||
- | - ''cd ~/dysched'' | + | - ''cd ~/bin/dysched'' |
- ''./dysched.pl ds001 ke'' | - ''./dysched.pl ds001 ke'' | ||
- You will be asked if you want to continue as any current schedule will be stopped. | - You will be asked if you want to continue as any current schedule will be stopped. | ||
Line 15: | Line 17: | ||
- ''dysched.pl'' then starts the schedule from line 1. | - ''dysched.pl'' then starts the schedule from line 1. | ||
- The software will now go into a loop, executing the following steps every minute: | - The software will now go into a loop, executing the following steps every minute: | ||
- | - | + | - Check the override status (as written by [[development:dynamicobserving:ds_redbutton.pl|ds_redbutton.pl]]) in [[development:dynamicobserving:override|override.txt]]. //If the antenna is available//, then the following steps are taken: |
+ | - The web page containing the name of the current new schedule is checked and it's start time is read. | ||
+ | - If the new schedule piece occurs after the end of the current schedule, then the new piece is downloaded from the server, and [[development:dynamicobserving:dynamicsnap.sh|DynamicSnap.sh]] is run to call Drudg and append a new piece of SNP file onto the schedule. | ||
+ | - If the antenna is available or not, [[development:dynamicobserving:dysched|dysched.pl]] now checks to see if the schedule is about to expire or not. If it is, a ''halt'' command is sent, otherwise a ''cont''. | ||
- [[development:dynamicobserving:dysched|dysched.pl]] can be stopped at any time by typing Control-C in the terminal window or by killing the process | - [[development:dynamicobserving:dysched|dysched.pl]] can be stopped at any time by typing Control-C in the terminal window or by killing the process | ||
- | {{:development:dynamicobserving:pcfske_01.png?600|}} | + | By default, the station status information is available from the [[http://auscope.phys.utas.edu.au/tests/do_status.html|Dynamic Observing station status]] page and the schedule status is available at [[http://auscope.phys.utas.edu.au/dynamic_sched_status.html|the dynamic scheduling status]] page (the last line lists the most recent schedule). |
- | {{:development:dynamicobserving:big_red_button.png|}} | + | Below is a screenshot of a dynamic scheduling session running at Katherine. |
+ | {{:development:dynamicobserving:pcfske_01.png?700|}} |