Skip to content
Snippets Groups Projects
Commit 2e24e396 authored by Eric Kooistra's avatar Eric Kooistra
Browse files

Set PPS_DELAY and FIBER_DELAY also for --app arts_sc1 and arts_sc4.

parent 86915684
No related branches found
No related tags found
No related merge requests found
......@@ -267,14 +267,14 @@ python $UPE/peripherals/util_diag_wg_wideband.py --unb $UNBS --bn 0:3 -n 4 --sp
# Inital values for RTC, RTD:
# python $UPE/peripherals/pi_common_pulse_delay.py --unb $UNBS --bn 0:3 --reg pulse_delay=1516
#fi
if [ "$APP" == "apertif-sr2.6" ]; then
# . Determine telescope character (2..D)
if [ "$APP" == "apertif-sr2.6" ] || [ "$APP" == "arts_sc1" ] || [ "$APP" == "arts_sc4" ]; then
# Determine telescope character (2..D)
HOST=$(hostname)
TELCHAR=${HOST:6:7}
# . Get value from MAC configuration file
# Get value from MAC configuration file
PPS_DELAY=$(grep -i ^RT$TELCHAR /opt/apertif/etc/FixedDelays.conf | awk '{print $2}')
FIBER_DELAY=$(grep -i ^RT$TELCHAR /opt/apertif/etc/FixedDelays.conf | awk '{print $3}')
# . Apply value
# Apply value
python $UPE/peripherals/pi_common_pulse_delay.py --unb $UNBS --bn 0:3 --reg pulse_delay=$PPS_DELAY
python $UPE/peripherals/pi_dp_fifo_monitor.py --unb $UNBS --fn 0:3 --reg rd_fill=$FIBER_DELAY
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment