Drudg
The .skd file was drudged on pcfsya. The rack and recorder hardware was first selected (option 11) and set to “Mark5 rack” “Mark5B recorder” “No second recorder” and “Start with 1” (options 16 14 1 1). Then the procedures and snap file were made, and a summary printed (options 12, 3 and 5 in sequence). Printing from drudg does not seem to work at present so the summary was printed using the command “enscript -r -2 /tmp/DR.tmp” from the terminal.
After drudging the schedule, the procedure file was copied to /usr2/proc/. It then had to be edited to remove procedures using non-existent equipment and to support the Mark5B. The ifdsx and vcsx8 procedures were removed in entirety (as the IF power levels and VC settings are set through the DBBC in our system. It may be worth keeping a copy of the vcsx8 settings to confirm the DBBC frequencies required) and the calls to these functions were removed from the setupsx procedure. The pcal functions were also removed from the proc file as we do not have a computer controlled phasecal. The vsi commands could be removed but do not seem to be causing any serious problems or excessive errors in the logs. The preob and midob procedures were edited to include some mk5 and site specific functions. One problem encountered was difficult in setting up thee new procedures by editing the proc file directly. The best way of inserting/editing procedures in a proc file is to load it into the fs and then run pfmed from the terminal. To create or edit a procedure, type “edit” and then the name of the procedure. The final procure file is included below. Don't try to paste this text into a proc file as the Wiki formatting causes strange problems for the interpreter.
define proc_library 10252181423x
“ r4447 hobart12 hb
” drudg version 2008oct08 compiled under fs 9.10.04
“< mark5 rack >< mark5b recorder 1>
enddef
define exper_initi 10252181420x
proc_library
sched_initi
mk5=dts_id?
mk5=os_rev?
mk5=ss_rev?
mk5=status?
enddef
define setupsx 10252181440x
tpicd=stop
mk5b_mode=ext,0x55555555,2
mk5b_mode
bank_check
tpicd
enddef
define preob 10252182950
onsource
systemp12
mk5=dot?
clkoff
enddef
define midob 10252183008
onsource
clkoff
sy = run setcl adapt &
mk5=dot?
enddef
define systemp12 10252182950x
sy=/home/oper/systemp12.sh
enddef
DBBC
After editing the proc file, it is necessary to set up the DBBC and Mark5B. The C:\DBBC_CONF\dbbc_config_file.txt has been edited to set the frequencies correctly for R1/R4 type experiments. For other experiments, the DBBC frequencies can be calculated either from the sky frequencies or from the original values of the VCs in the proc file. The sky frequencies are given in the skd file. To convert the VC frequency settings to DBBC frequencies you need to add 480 MHZ for the first 4, add 980.1 for dbbc05-dbbc08, add 120 for dbbc09-dbbc14 and set dbbc15 and dbbc16 to something innocuous (say, 320 MHz) as they're not being recorded. Running C:\DBBC_CONF\DBBC Control.190710.exe and answering yes to configure the system should load the frequencies correctly. One the configuration is complete, you need to set up the IF system. The commands to do this are
dbbcifa=1,agc,1
dbbcifb=4,agc,4
dbbcifc=2,agc,2
dbbcifd=2,agc,2
It appears that CoMo 3 is reporting low total power levels. It may be that there is a poor connection on one of the SMAs…The target values for the total power readings is 56000. this can be checked by the command dbbcif[abcd]. If the levels are too high or low, then adjust the attenuation on the IF box.
Mark5B
As oper@mk5hb, first check if the dimino program is running (ps -ef | grep dim). If not, start it with “dimino -m0&”. While your at the prompt, check that the ntp time is correct by running “ntpq”, and then issuing the “peers” command. The offset and delay to tac32ho should be small (less than ~5 milliseconds). If it is not, then the best thing to do is to run “fmset” on pcfsya, set the time (with ”.“) and then sync the formatter (“s”, followed by “y”). Exit from fmset as soon as you have finished.
It's worthwhile making a test recording using the mark5b. To do this you can either use tstdimino on mk5hb or the fs. The instructions below are for the fs but to use them in tstdimino, omit the leading “mk5=”.
mk5=mode=ext:0x55555555:2 (For VSI recording, 1-bit sampling, 8 MHz BW)
mk5=dot? (Check that the times reported are correct, that FHG_off and syncerr_eq_0) and that the final number is less than ~5 ms)
mk5=record=on
mk5=dot? (As before, but it should say FHG_on)
mk5=record=off
mk5=scan_check? (Check the last numbers are the correct date at the start of the scan, duration, the data rate (should be 256 for this mode) and 0 at the end for no problems)
If all seems ok, delete the recording from the disk using
mk5=protect=off
mk5=reset=erase
Running the Schedule
Start the schedule with “schedule=r4447hb,#1” as usual. During the experiment, the following checks can be made.
onsource - Onsource reporting does not work reliably at the moment. Instead check the HMI controller for the current Az, El and the reported errors. The Az & El of the source at the start of the scan are listed in the printed snap file summary.
Clocks
Rx/IF system - Run systemp12 to check system temperature. The reported values should be ~25 CAL units for S-band (only one channel has the appropriate filter and will give consistent values) and 12-13 CALs for X-band. When scaled to Kelvin, expect values of ~85-90 K.
Mark5B
Weather Conditions - wth as usual. Also log conditions as per 26m
End of experiment - The “source=stow” command does not currently work so please stow the dish using the HMI interface and the “Stow” button.
To run the status monitor, enter this command at the pcfsya prompt
/usr/bin/xterm -name monit2 -e /usr2/fs/bin/monit2
Common problems
pps_sync
in DBBC Control but this did not reliably fix the problem on 13/10/10. Instead, try reconfiguring the DBBC with reconf
- this will take ~two minutes in total and you will need to re-issue the dbbcifa=…
commands, and resynch the mark5B with fmset
.