Difference between revisions of "Switching between 200 MHz and 300 MHz Correlator"

From EOVSA Wiki
Jump to: navigation, search
(Switching from 200 MHz to 300 MHz Correlator)
(Switching from 200 MHz to 300 MHz Correlator)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
Note that after switching correlators, or even rebooting ROACHes for a given correlator design, one must determine new delays for each antenna.  For unknown reasons, the delays can actually change a LOT on a reboot -- more than just a few steps as expected from the way the ADC works.  To get the delays in the ballpark, or at least determine the sign of the delay, observations on CIEL-2 with band23.fsq are extremely helpful.  After that, observe a strong phase calibrator for up to 1/2 hour and use delay_widget.py to determine and set the delays.
 
== Switching from 200 MHz to 300 MHz Correlator ==
 
== Switching from 200 MHz to 300 MHz Correlator ==
 
Follow these steps, in this order, to switch from a currently running 200 MHz correlator design to a 300 MHz one:
 
Follow these steps, in this order, to switch from a currently running 200 MHz correlator design to a 300 MHz one:
 
* Point eovsa_corr.bof to currently desired 300 MHz correlator design
 
* Point eovsa_corr.bof to currently desired 300 MHz correlator design
 
** Log in to ovsa.njit.edu, and cd to folder /test
 
** Log in to ovsa.njit.edu, and cd to folder /test
** <pre> sudo rm eovsa_corr.bof </pre>
+
<pre>   sudo rm eovsa_corr.bof
** <pre> sudo ln -s eovsa_corr_300mhz_<date>.bof eovsa_corr.bof </pre>
+
  sudo ln -s eovsa_corr_300mhz_<date>.bof eovsa_corr.bof</pre>
 
* FTP sched@helios:/home/sched/Dropbox/PythonCode/Current/eovsa_corr.ini to /parm folder to ACC
 
* FTP sched@helios:/home/sched/Dropbox/PythonCode/Current/eovsa_corr.ini to /parm folder to ACC
** ftp ACC, enter user/password
+
<pre>  ftp ACC <enter user/password>
** <pre> cd /parm
+
  cd /parm  
** put eovsa_corr1200.ini eovsa_corr.ini </pre>
+
  put eovsa_corr1200.ini eovsa_corr.ini
** bye
+
  bye</pre>
* Edit roach.py to swap comments in two places, #val = , and #mcstart = and save to BOTH folders sched@helios:/home/sched/Dropbox/PythonCode/Current AND /common/python/current.
+
* Edit roach.py to swap comments in two places, '''#val =''' , and '''#mcstart =''' and save to BOTH folders sched@helios:/home/sched/Dropbox/PythonCode/Current AND /common/python/current.
* Edit chan_util_bc.py to swap single comment #ifbw = and save to BOTH folders sched@helios:/home/sched/Dropbox/PythonCode/Current AND /common/python/current.
+
* Edit chan_util_bc.py to swap single comment '''#ifbw =''' and save to /common/python/current.
* Physically change the clock speed to 1200 MHz, 0 dBm (requires Kjell or someone at OVRO to make this change)
+
* Edit delay_widget.py to swap signs (comment out line '''ch.dla_update2sql(delays,-xydelays)''' and uncomment the following line) and save to /common/python/current.
* Edit user@dpp:/home/user/test_svn/Miriad/dpp/DPPparameters.f90 to swap single comment for correlator_clock parameter
+
* '''Physically change the clock speed to 1200 MHz''', 0 dBm (requires Kjell or someone at OVRO to make this change)
* Edit user@dpp:/home/user/test_svn/Miriad/dpp/DPP_PROCESS_SPECTRAL_FRAME.f90 to swap single comment for pshift(jp) =  
+
* Edit user@dpp:/home/user/test_svn/Miriad/dpp/DPPparameters.f90 to swap single comment for '''correlator_clock''' parameter
 +
* Edit user@dpp:/home/user/test_svn/Miriad/dpp/DPP_PROCESS_SPECTRAL_FRAME.f90 to swap single comment for '''pshift(jp) ='''
 
* Close the schedule program on helios
 
* Close the schedule program on helios
 
* From ipython on helios, load the 300 MHz design
 
* From ipython on helios, load the 300 MHz design
** ipython --pylab
+
<pre>  ipython --pylab
** import roach as r
+
  import roach as r
** ro = ['roach'+str(i+1) for i in range(8)]
+
  ro = ['roach'+str(i+1) for i in range(8)]
** r.reload(ro)
+
  r.reload(ro)</pre>
 
* Open the schedule program and restart the schedule, which should now run in 300 MHz mode.
 
* Open the schedule program and restart the schedule, which should now run in 300 MHz mode.
  
Line 27: Line 29:
 
* Point eovsa_corr.bof to currently desired 200 MHz correlator design
 
* Point eovsa_corr.bof to currently desired 200 MHz correlator design
 
** Log in to ovsa.njit.edu, and cd to folder /test
 
** Log in to ovsa.njit.edu, and cd to folder /test
** sudo rm eovsa_corr.bof
+
<pre>  sudo rm eovsa_corr.bof
** sudo ln -s eovsa_corr_2016_May_11_1053.bof eovsa_corr.bof
+
  sudo ln -s eovsa_corr_2016_May_11_1053.bof eovsa_corr.bof </pre>
 
* FTP sched@helios:/home/sched/Dropbox/PythonCode/Current/eovsa_corr.ini to /parm folder to ACC
 
* FTP sched@helios:/home/sched/Dropbox/PythonCode/Current/eovsa_corr.ini to /parm folder to ACC
** ftp ACC, enter user/password
+
<pre>  ftp ACC <enter user/password>
** cd /parm
+
  cd /parm
** put eovsa_corr.ini
+
  put eovsa_corr.ini
** bye
+
  bye</pre>
* Edit roach.py to swap comments in two places, #val = , and #mcstart = and save to BOTH folders sched@helios:/home/sched/Dropbox/PythonCode/Current AND /common/python/current.
+
* Edit roach.py to swap comments in two places, '''#val =''' , and '''#mcstart =''' and save to BOTH folders sched@helios:/home/sched/Dropbox/PythonCode/Current AND /common/python/current.
* Edit chan_util_bc.py to swap single comment #ifbw = and save to BOTH folders sched@helios:/home/sched/Dropbox/PythonCode/Current AND /common/python/current.
+
* Edit chan_util_bc.py to swap single comment '''#ifbw =''' and save to /common/python/current.
* Physically change the clock speed to 800 MHz, 0 dBm (requires Kjell or someone at OVRO to make this change)
+
* Edit delay_widget.py to swap signs (uncomment line '''ch.dla_update2sql(delays,-xydelays)''' and comment the following line) and save to /common/python/current.
* Edit user@dpp:/home/user/test_svn/Miriad/dpp/DPPparameters.f90 to swap single comment for correlator_clock parameter
+
* '''Physically change the clock speed to 800 MHz''', 0 dBm (requires Kjell or someone at OVRO to make this change)
* Edit user@dpp:/home/user/test_svn/Miriad/dpp/DPP_PROCESS_SPECTRAL_FRAME.f90 to swap single comment for pshift(jp) =  
+
* Edit user@dpp:/home/user/test_svn/Miriad/dpp/DPPparameters.f90 to swap single comment for '''correlator_clock''' parameter
 +
* Edit user@dpp:/home/user/test_svn/Miriad/dpp/DPP_PROCESS_SPECTRAL_FRAME.f90 to swap single comment for '''pshift(jp) ='''
 
* Close the schedule program on helios
 
* Close the schedule program on helios
 
* From ipython on helios, load the 200 MHz design
 
* From ipython on helios, load the 200 MHz design
** ipython --pylab
+
<pre>  ipython --pylab
** import roach as r
+
  import roach as r
** ro = ['roach'+str(i+1) for i in range(8)]
+
  ro = ['roach'+str(i+1) for i in range(8)]
** r.reload(ro)
+
  r.reload(ro)</pre>
* Open the schedule program and restart the schedule, which should now run in 300 MHz mode.
+
* Open the schedule program and restart the schedule, which should now run in 200 MHz mode.

Latest revision as of 18:39, 12 June 2017

Note that after switching correlators, or even rebooting ROACHes for a given correlator design, one must determine new delays for each antenna. For unknown reasons, the delays can actually change a LOT on a reboot -- more than just a few steps as expected from the way the ADC works. To get the delays in the ballpark, or at least determine the sign of the delay, observations on CIEL-2 with band23.fsq are extremely helpful. After that, observe a strong phase calibrator for up to 1/2 hour and use delay_widget.py to determine and set the delays.

Switching from 200 MHz to 300 MHz Correlator

Follow these steps, in this order, to switch from a currently running 200 MHz correlator design to a 300 MHz one:

  • Point eovsa_corr.bof to currently desired 300 MHz correlator design
    • Log in to ovsa.njit.edu, and cd to folder /test
   sudo rm eovsa_corr.bof
   sudo ln -s eovsa_corr_300mhz_<date>.bof eovsa_corr.bof
  • FTP sched@helios:/home/sched/Dropbox/PythonCode/Current/eovsa_corr.ini to /parm folder to ACC
   ftp ACC <enter user/password>
   cd /parm 
   put eovsa_corr1200.ini eovsa_corr.ini
   bye
  • Edit roach.py to swap comments in two places, #val = , and #mcstart = and save to BOTH folders sched@helios:/home/sched/Dropbox/PythonCode/Current AND /common/python/current.
  • Edit chan_util_bc.py to swap single comment #ifbw = and save to /common/python/current.
  • Edit delay_widget.py to swap signs (comment out line ch.dla_update2sql(delays,-xydelays) and uncomment the following line) and save to /common/python/current.
  • Physically change the clock speed to 1200 MHz, 0 dBm (requires Kjell or someone at OVRO to make this change)
  • Edit user@dpp:/home/user/test_svn/Miriad/dpp/DPPparameters.f90 to swap single comment for correlator_clock parameter
  • Edit user@dpp:/home/user/test_svn/Miriad/dpp/DPP_PROCESS_SPECTRAL_FRAME.f90 to swap single comment for pshift(jp) =
  • Close the schedule program on helios
  • From ipython on helios, load the 300 MHz design
   ipython --pylab
   import roach as r
   ro = ['roach'+str(i+1) for i in range(8)]
   r.reload(ro)
  • Open the schedule program and restart the schedule, which should now run in 300 MHz mode.

Switching from 300 MHz to 200 MHz Correlator

Follow these (nearly the same) steps, in this order, to switch from a currently running 300 MHz correlator design to a 200 MHz one:

  • Point eovsa_corr.bof to currently desired 200 MHz correlator design
    • Log in to ovsa.njit.edu, and cd to folder /test
   sudo rm eovsa_corr.bof
   sudo ln -s eovsa_corr_2016_May_11_1053.bof eovsa_corr.bof 
  • FTP sched@helios:/home/sched/Dropbox/PythonCode/Current/eovsa_corr.ini to /parm folder to ACC
   ftp ACC <enter user/password>
   cd /parm
   put eovsa_corr.ini
   bye
  • Edit roach.py to swap comments in two places, #val = , and #mcstart = and save to BOTH folders sched@helios:/home/sched/Dropbox/PythonCode/Current AND /common/python/current.
  • Edit chan_util_bc.py to swap single comment #ifbw = and save to /common/python/current.
  • Edit delay_widget.py to swap signs (uncomment line ch.dla_update2sql(delays,-xydelays) and comment the following line) and save to /common/python/current.
  • Physically change the clock speed to 800 MHz, 0 dBm (requires Kjell or someone at OVRO to make this change)
  • Edit user@dpp:/home/user/test_svn/Miriad/dpp/DPPparameters.f90 to swap single comment for correlator_clock parameter
  • Edit user@dpp:/home/user/test_svn/Miriad/dpp/DPP_PROCESS_SPECTRAL_FRAME.f90 to swap single comment for pshift(jp) =
  • Close the schedule program on helios
  • From ipython on helios, load the 200 MHz design
   ipython --pylab
   import roach as r
   ro = ['roach'+str(i+1) for i in range(8)]
   r.reload(ro)
  • Open the schedule program and restart the schedule, which should now run in 200 MHz mode.