18.10.01 / jn
To expand the possibilities of OBSE Macros
I created
a
new OBSE command, that makes available to the user some
important
real-time parameters of the running telescope system. Using these
parameters
it is possible to create macros running more automatically than before.
These parameters are the local sidereal time, the parallactic angle
and the commanded and actual positions in azimuth and elevation.
They
can be used in OBSE as local (SIC) variables and will be
refreshed
by calling an OBSE command.
The local (SIC) variables (as floating point
numbers) in OBSE
are:
local_sit[1]
= the local sidereal time [in hours]
local_sit[2]
= the parallactic angle [in degrees]
tel_ist[1]
= azimuth position [in degrees]
tel_ist[2] =
elevation position [in degrees]
tel_soll[1]
= commanded azimuth position [in degrees]
tel_soll[2]
= commanded elevation position [in degrees]
All these variables will be refreshed by a call to
the OBSE command:
TEL_PAR
Example:
!
SIT = 22:00 - 10:30 ---> cal source 1
!
otherwise cal source 2
tel_par
! Now the real-time parameters are
refreshed
if (local_sit[1].le.10.5.or.local_sit[1].ge.22)
then
source meine1
else
source meine2
endif
pointing