User Tools

Site Tools


information_for_astronomers:user_guide:tutorials:4mtelescope

Differences

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

Link to this comparison view

Next revision
Previous revision
information_for_astronomers:user_guide:tutorials:4mtelescope [2018/08/06 15:13]
cvtoth created
information_for_astronomers:user_guide:tutorials:4mtelescope [2018/09/18 11:43] (current)
schweikert [Bugs]
Line 8: Line 8:
 into a unix terminal and then entering the password.{{ :​information_for_astronomers:​user_guide:​tutorials:​screenshot_from_2018-08-06_11-50-42.png?​nolink&​600 |}} into a unix terminal and then entering the password.{{ :​information_for_astronomers:​user_guide:​tutorials:​screenshot_from_2018-08-06_11-50-42.png?​nolink&​600 |}}
 A window should appear with the VNC desktop. This is the telescope control computer "''​4mteleskop''"​. A window should appear with the VNC desktop. This is the telescope control computer "''​4mteleskop''"​.
-  * Connecting from Windows outside the MPIfR network +{{ :​information_for_astronomers:​user_guide:​tutorials:​screenshot_from_2018-08-06_16-36-48.png?​nolink&​600 |}} 
-  * Connecting from Linux outside the MPIfR network +  * Connecting from outside the MPIfR network 
-  * Connecting from Mac outside ​the MPIfR network+You need to establish an SSH tunnel to the MPIfR servers. For this you need an MPIfR account. With this you need to log into username@portal.mpifr-bonn.mpg.de when establishing the tunnel. The port to then access display:99 is 5999. 
 + 
 +For Windows //​MobaXterm//​ has a VNC client and a tunneling option in a single program for convenience.  
  
 ====== Starting the telescope control programs ====== ====== Starting the telescope control programs ======
Line 20: Line 23:
   -Use the command: ''​./​start4m.sh''​ This should open all the necessary windows to operate the telescope.   -Use the command: ''​./​start4m.sh''​ This should open all the necessary windows to operate the telescope.
   -Minimize or resize the windows you don't immediately need so the ''​4mcontrol.py''​ window with the blue input line is visible. This is from where you can control the telescope.   -Minimize or resize the windows you don't immediately need so the ''​4mcontrol.py''​ window with the blue input line is visible. This is from where you can control the telescope.
 +{{ :​information_for_astronomers:​user_guide:​tutorials:​screenshot_from_2018-08-06_16-50-32.png?​nolink&​600 |}}
 +4mcontrol.py is the main interface to the telescope where one can enter commands. skripttelcontrol4m.py makes the calculations for the telescope positioning and constantly returns imprecise values about where the telescope is pointing. The VLC Media Player window has a live feed from a webcam showing the telescope. The Regler window displays the datastream from the motors of the telescope. The windows with the data plots pop up automatically when a new batch of data is saved. datawriter.py writes the data for the continuum backend, while fftsdatwriter does the same for the FFTS backend. pbeControl displays data activity from the telescope.
  
 ====== Preparing the measurement ====== ====== Preparing the measurement ======
  
-   *Continuum backend+  * __**Continuum backend**__
 The continuum backend measures the total flux coming from the telescope over the whole range of Frequencies received. It is usually used to quickly map out where radio sources are. It can be started by entering: The continuum backend measures the total flux coming from the telescope over the whole range of Frequencies received. It is usually used to quickly map out where radio sources are. It can be started by entering:
  
Line 29: Line 34:
  
  
-  *FFTS backend+  ​* __**FFTS backend**__
 The Fast Fourier Transformer backend separates the signal from the telescope into its constituent frequencies. This allows the detection of physical processes radiating at distinct frequencies in specific regions of the sky. It can be started by entering: The Fast Fourier Transformer backend separates the signal from the telescope into its constituent frequencies. This allows the detection of physical processes radiating at distinct frequencies in specific regions of the sky. It can be started by entering:
  
 ''​fitwriter('​band1:​cmdnumspecchan 8192','​band2:​cmdnumspecchan 8192','​cmdusedsections 1 1','​cmdmode int','​cmdsynctime 200000','​cmdblanktime 2','​cmdnumphases 1','​configure'​)''​ ''​fitwriter('​band1:​cmdnumspecchan 8192','​band2:​cmdnumspecchan 8192','​cmdusedsections 1 1','​cmdmode int','​cmdsynctime 200000','​cmdblanktime 2','​cmdnumphases 1','​configure'​)''​
  
-  -Starting the observation+  - __**Starting the observation**__
 In both cases the selection of the backend must be followed up by In both cases the selection of the backend must be followed up by
  
Line 49: Line 54:
  
 The telescope can only move within certain limits. These are: The telescope can only move within certain limits. These are:
-0°-90° ​Elevation +|Elevation|0°-90°| 
--270° ​Azimuth+|Azimuth|-70°-270°|
 Be careful not to let the telescope cross over these limits. Be careful not to let the telescope cross over these limits.
- 
-===== Variables ===== 
-The commands for the telescope have several variables that you change for each command. If you leave out a variable, the control program will use the default value. (Mostly 0.) 
-^ Variable ^ Purpose ^ Default Value ^ Unit ^ Other ^ 
-| ''​integration=None,''​ | sets the time for collecting radio flux from the specified source | None=infinite | ''​ms''​ | 0 means no data collected | 
-| ''​offsetx=(offx,​unitoffx),​ offsety=(offy,​unitoffy),''​ | sets an offset in az,el to point beside the given coordinates | 0, 0, | ''​unitoffx''​ and ''​unitoffy''​ in the format ''​ '​d'​ ''​ for degrees | can be used to fine tune pointing | 
-| ''​velaz=None,​ velel=None,''​ | sets the velocity at which the telescope moves along the given axis | '​Schleichgang'​ | '​Schleichgang':​ slow, '​Eilgang':​ fast, 1: 1°/sec | velocity is calculated automatically for crosscans | 
-| ''​coorsys = '​J2000.0',''​ | specifies in reference to which point in time the coordinates were given |  '​J2000.0'​ | '​J2000.0'​ OR '​B1950'​ |  | 
-| ''​lng = (l, unitl), br = (b, unitb),''​ | sets the position of the telescope in galactic coordinates | 0, 0, | ''​unitl''​ and ''​unitb''​ in the format ''​ '​d'​ ''​ for degrees |  | 
-| ''​ra = (rec, unitrec), dec = (decl, unitdec),''​ | sets the position of the telescope in equatorial coordinates | 0, 0, | ''​unitrec''​ and ''​unitdec''​ in the format ''​ '​d'​ ''​ for degrees |  | 
-| ''​el = (posel,​unitel),​ az = (posaz,​unitaz),''​ | sets the position of the telescope in local coordinates | 0, 0, | ''​unitel''​ and ''​unitaz''​ in the format ''​ '​d'​ ''​ for degrees | with this option the telescope does not turn with the rotation of the earth | 
-| ''​messobjekt,''​ | specifies which source to point towards | None | --- | names looked up in in CDS name resolver | 
-| ''​lengthx = (lengthaz,​unitlenx),​ lengthy = (lengthel,​unitleny),''​ | specifies the distance th telescope should move in az,el during a crossscan | 0, 0, | ''​unitoffx''​ and ''​unitoffy''​ in the format ''​ '​d'​ ''​ for degrees |  | 
- 
  
 ===== Observation Commands ===== ===== Observation Commands =====
Line 89: Line 80:
  
   * __**Calibration**__   * __**Calibration**__
-The calibration diode is used to give a reference flux to determine the actual signal strength by comparing the incoming signal to it. For the time being it has to be turned on and off manuall ​at the start of each scan. This can be done via: +The calibration diode is used to give a reference flux to determine the actual signal strength by comparing the incoming signal to it. For the time being it has to be turned on and off manually ​at the start of each scan. It should only need to be turned on for a few seconds. This can be done via: 
  
 ''​cal_on()''​ ''​cal_on()''​
Line 96: Line 87:
  
 ''​cal_off()''​ ''​cal_off()''​
 +
 +
 +  * __**Multiple tasks**__
 +Currently the only way to queue up multiple tasks is to write a separate short python script and execute it via the ''​execfile("/​path/​name.py"​)''​ command. Take care to space out your scans with ''​time.sleep()''​ to allow for the full integration time as well as telescope movement!
 +
 +  * __**Example**__
 +{{ :​information_for_astronomers:​user_guide:​tutorials:​screenshot_from_2018-08-06_16-59-11.png?​nolink&​600 |}}
 +This was an azimuth crossscan over the Sun via ''​crossscan(50000,"​sun",​lengthx=(14,'​d'​))'',​ with both continuum and spectroscopy backends enabled.
 +
 +===== Variables =====
 +The commands for the telescope have several variables that you change for each command. If you leave out a variable, the control program will use the default value. (Mostly 0.)
 +^ Variable ^ Purpose ^ Default Value ^ Unit ^ Other ^
 +| ''​integration=None,''​ | sets the time for collecting radio flux from the specified source | None=infinite | ''​ms''​ | 0 means no data collected |
 +| ''​offsetx=(offx,​unitoffx),''​ | sets an offset in azimuth to point beside the given coordinates | 0, 0, | ''​unitoffx''​ with the format ''​ '​d'​ ''​ for degrees | can be used to fine tune pointing |
 +| ''​offsety=(offy,​unitoffy),''​ | sets an offset in elevation to point beside the given coordinates | 0, 0, | ''​unitoffy''​ in the format ''​ '​d'​ ''​ for degrees | can be used to fine tune pointing |
 +| ''​velaz=None,''​ | sets the velocity at which the telescope moves along the azimuth axis | '​Schleichgang'​ | '​Schleichgang':​ slow, '​Eilgang':​ fast, 1: 1°/sec | velocity is calculated automatically for crosscans |
 +| ''​velel=None,''​ | sets the velocity at which the telescope moves along the elevation axis | '​Schleichgang'​ | '​Schleichgang':​ slow, '​Eilgang':​ fast, 1: 1°/sec | velocity is calculated automatically for crosscans |
 +| ''​coorsys = '​J2000.0',''​ | specifies in reference to which point in time the coordinates were given |  '​J2000.0'​ | '​J2000.0'​ OR '​B1950'​ |  |
 +| ''​lng = (l, unitl),''​ | sets the longitude position of the telescope in galactic coordinates | 0, 0, | ''​unitl''​ with the format ''​ '​d'​ ''​ for degrees |  |
 +| ''​ br = (b, unitb),''​ | sets the longitude position of the telescope in galactic coordinates | 0, 0, | ''​unitb''​ with the format ''​ '​d'​ ''​ for degrees |  |
 +| ''​ra = (rec, unitrec),''​ | sets the right ascension position of the telescope in equatorial coordinates | 0, 0, | ''​unitrec''​ with the format ''​ '​d'​ ''​ for degrees |  |
 +| ''​dec = (decl, unitdec),''​ | sets the declination position of the telescope in equatorial coordinates | 0, 0, | ''​unitdec''​ with the format ''​ '​d'​ ''​ for degrees |  |
 +| ''​el = (posel,​unitel),''​ | sets the elevation position of the telescope in local coordinates | 0, 0, | ''​unitel''​ with the format ''​ '​d'​ ''​ for degrees | with this option the telescope does not turn with the rotation of the earth |
 +| ''​az = (posaz,​unitaz),''​ | sets the azimuth position of the telescope in local coordinates | 0, 0, | ''​unitaz''​ with the format ''​ '​d'​ ''​ for degrees | with this option the telescope does not turn with the rotation of the earth |
 +| ''​messobjekt,''​ | specifies which source to point towards | None | --- | names looked up in in CDS name resolver |
 +| ''​lengthx = (lengthaz,​unitlenx),''​ | specifies the distance the telescope should move in azimuth during a crossscan | 0, 0, | ''​unitoffx''​ with the format ''​ '​d'​ ''​ for degrees |  |
 +| ''​lengthy = (lengthel,​unitleny),''​ | specifies the distance the telescope should move in elevation during a crossscan | 0, 0, | ''​unitoffy''​ with the format ''​ '​d'​ ''​ for degrees |  |
 +
  
 ===== Other commands ===== ===== Other commands =====
  
   *get_position()   *get_position()
 +Displays the current positioning of the telescope in az/el.
   *get_status()   *get_status()
 +Displays whether or not the telescope is already pointing at the desired target.
 +
  
 ====== Bugs ====== ====== Bugs ======
  
   * __**Telescope not moving, not giving out data**__   * __**Telescope not moving, not giving out data**__
-This indicates that the telescope control programs froze for some reason and need to be restarted. Close all windows by pressing ''​Ctrl+C''​ or the X button. Restart the telescope control programs via ''​./​start4m.sh''​.+This indicates that the telescope control programs froze for some reason and need to be restarted. Close all windows by pressing ''​Ctrl+C''​ or the X button ​on each of them. Restart the telescope control programs via ''​./​start4m.sh''​.
  
   * __**Telescope still not moving, optionally giving error messages**__   * __**Telescope still not moving, optionally giving error messages**__
-If a crossscan was started close to the hardcoded Azimuth endpoints of the telescope, it is possible that the telescope crossed over this endpoint. This means the actuator controls will have to be manually restarted ​by technician.+If a crossscan was started close to the hardcoded Azimuth endpoints of the telescope, it is possible that the telescope crossed over this endpoint. This means the actuator controls will have to be manually restarted ​take look at section Limitposition exceeded (F6029 Lagegrenzwert überschritten).
  
   * __**Multiple backends online at the same time, don't turn off on restart**__   * __**Multiple backends online at the same time, don't turn off on restart**__
Line 115: Line 137:
   * __**134.104.70.120:​99 is not accepting the password**__   * __**134.104.70.120:​99 is not accepting the password**__
 First the validity of the password needs to be checked. If it is still not allowing a connection the wrong password may have been entered too many times, in which case a technician will need to restart the VNC server to reset the lockout. First the validity of the password needs to be checked. If it is still not allowing a connection the wrong password may have been entered too many times, in which case a technician will need to restart the VNC server to reset the lockout.
 +
 +  * __**Connection error: control unit (F9100 Antriebsfehler)**__
 +
 +Open IndraWorks Ds:
 +{{ :​information_for_astronomers:​user_guide:​tutorials:​indraworks.png?​500 |}}
 +
 +Search Units. If you can't found the units there are a hardware bug.
 +Then you need to restart the hardware. (Heizungsraum Sicherung -30F1)
 +
 +After the restart search again:
 +{{ :​information_for_astronomers:​user_guide:​tutorials:​indraworksfoundhardware.png?​500 |}}
 +
 +If you connect the hardware, the following window appears. Select the unit. 
 +
 +(134.104.79.88 -> Elevation)
 +
 +(134.104.79.89 -> Azimut) ​
 +{{ :​information_for_astronomers:​user_guide:​tutorials:​chooseunit.png?​500 |}}
 +
 +This example shows the bug: Referenzverlust Geber 1.
 +{{ :​information_for_astronomers:​user_guide:​tutorials:​achsstatus.jpg?​500 |}}
 +
 +You need to set a new reference. Write to "​Referenzmaß"​ the value of "​Aktueller Lageistwert"​. Then reset the bug.
 +
 +{{ :​information_for_astronomers:​user_guide:​tutorials:​fehler_löschen.png?​500 |}}
 +
 +Push the button "​Absolutmaß setzen"​
 +
 +Now the units should work.
 +
 +__**Attention:​**__
 +
 +Both Achsstatus must show  „A0012 Steuer- und Leistungsteil betriebsbereit“. In addition it's only possible to communicate with the IndraWorks __or__ with the controlsystem. If you want to control the teleskop with the controlprogram you need to close IndraWorks.
 +
 +  * __**Limitposition exceeded (F6029 Lagegrenzwert überschritten)**__
 +
 +Open IndraWorks and search the units. __**Attention:​**__ You need to close the controlsystem,​ because it's only possible to communicate with IndraWorks __or__ the controlsystem.
 +
 +Choose the unit:
 +
 +(134.104.79.88 -> Elevation)
 +
 +(134.104.79.89 -> Azimut)
 +
 +Delete the error. After deleting the error the Achsstatus should show „A0012 Steuer- und Leistungsteil betriebsbereit“.
 +{{ :​information_for_astronomers:​user_guide:​tutorials:​endlage.png?​500 |}}
 +
 +Push "Start Easy-Startup-Modus"​ and "​Freigabe"​.
 +{{ :​information_for_astronomers:​user_guide:​tutorials:​start.png?​500 |}}
 +
 +__**Attention:​**__ Now you drive without any position limits!! Take care that you drive in the correct direction!!
 +{{ :​information_for_astronomers:​user_guide:​tutorials:​fahre.png?​500 |}}
 +
 +If the telescope is out of the position limit press the button "​Antrieb AUS" and then "Stop Easy-Startup-Modus"​. __The Achsstatus must show „A0012 Steuer- und Leistungsteil betriebsbereit“.__  ​
 +{{ :​information_for_astronomers:​user_guide:​tutorials:​stop.png?​500 |}}
 +
 +Close IndraWorks and open the controlsystem. Now the program should run.
  
   * __**Other Error**__   * __**Other Error**__
 If the telescope does not function due to a different error, you should contact a technician. If the telescope does not function due to a different error, you should contact a technician.
information_for_astronomers/user_guide/tutorials/4mtelescope.1533561190.txt.gz · Last modified: 2018/08/06 15:13 by cvtoth