User Tools

Site Tools


howto:change_variables_from_a_terminal_session

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
howto:change_variables_from_a_terminal_session [2012/04/17 19:08] – created jtellohowto:change_variables_from_a_terminal_session [Unknown date] (current) – external edit (Unknown date) 127.0.0.1
Line 14: Line 14:
 Then you must simply run "rts2-xmlrpcclient -s" and the variable and the value to be set. Then you must simply run "rts2-xmlrpcclient -s" and the variable and the value to be set.
  
-For example to run a specific target:+For example to set a specific target to be observed next:
   rts2-xmlrpcclient -s EXEC.next 3   rts2-xmlrpcclient -s EXEC.next 3
      
Line 21: Line 21:
 For running a command only once at a certain time, the "at" command is useful: For running a command only once at a certain time, the "at" command is useful:
   echo "rts2-xmlrpcclient -s SEL.selector_enabled false" | at 2359   echo "rts2-xmlrpcclient -s SEL.selector_enabled false" | at 2359
-See the man page of at for other ways to specify time.+See the man page of at for other ways to specify time. Remember this is by default in local telescope time. 
 + 
 +Another important feature is to send commands, which is not the same as setting variables. For example if you want the executor to stop the current observation and observe a specific target immediately: 
 +  rts2-xmlrpcclient -c EXEC.now 3 
 + 
 +This is also good for parking or moving the telescope or asking the dome to "reset_next".
howto/change_variables_from_a_terminal_session.1334682492.txt.gz · Last modified: 2012/04/17 00:00 (external edit)