Switching between 200 MHz and 300 MHz Correlator: Difference between revisions

From EOVSA Wiki
Jump to navigation Jump to search
Line 3: Line 3:
* 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>   sudo rm eovsa_corr.bof
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
  put eovsa_corr1200.ini eovsa_corr.ini
bye </pre>
  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 BOTH folders sched@helios:/home/sched/Dropbox/PythonCode/Current AND /common/python/current.
Line 17: Line 17:
* 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.



Revision as of 12:53, 20 March 2017

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 BOTH folders sched@helios:/home/sched/Dropbox/PythonCode/Current AND /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 BOTH folders sched@helios:/home/sched/Dropbox/PythonCode/Current AND /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 300 MHz mode.