User Tools

Site Tools


information_for_astronomers:user_guide:advancedscripting

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 Both sides next revision
information_for_astronomers:user_guide:advancedscripting [2014/08/05 15:20]
bwinkel
information_for_astronomers:user_guide:advancedscripting [2014/10/23 13:49]
bwinkel
Line 52: Line 52:
 </​code>​ </​code>​
 ''​QPosition 1''​ means, the focus offset will be put at the top of the queue, while ''​QPosition 0''​ puts it to the current position (the latter being more useful in a script). Note, that one has to use a (dummy) source and catalog in the script. ''​QPosition 1''​ means, the focus offset will be put at the top of the queue, while ''​QPosition 0''​ puts it to the current position (the latter being more useful in a script). Note, that one has to use a (dummy) source and catalog in the script.
 +
 +=== Configuring devices ===
 +Some devices can be configured via scripts, e.g., the current receiver (and version) can be changed, MultiFiBa and Filterbox can be configured:
 +
 +<​code>​
 +# Receiver commands
 +FE: P50mm; VERn 2; Frequency 6.0
 +FE: S110mm; VERn 1; Frequency 2.6
 +
 +# MultiFiBa
 +MF:S99128
 +MF:A03@100
 +
 +# Filterbox
 +FB:spare1
 +FB:spare2
 +# note: currently, only spare1/​spare2 setups are possible, these also set certain bandwidths at the XFFTS,
 +# so only use this if you know what you're doing!
 +</​code>​
  
 === Recursive use of source names === === Recursive use of source names ===
information_for_astronomers/user_guide/advancedscripting.txt ยท Last modified: 2014/11/20 23:50 by bwinkel