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

Both sides previous revision Previous revision
Next revision
Previous revision
howto:change_variables_from_a_terminal_session [2012/04/17 19:20]
jtello [Using rts2-xmlrpcclient]
howto:change_variables_from_a_terminal_session [2012/06/11 00:00] (current)
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 22: Line 22:
   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. Remember this is by default in local telescope 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.txt ยท Last modified: 2012/06/11 00:00 (external edit)