diff --git a/applications/apertif/commissioning/dish_commands.sh b/applications/apertif/commissioning/dish_commands.sh index 0c10ebb1b9827d993a3fbbea218c82e89c929767..dd481b2e5c08990581df156cd6b31fa7d181c96a 100755 --- a/applications/apertif/commissioning/dish_commands.sh +++ b/applications/apertif/commissioning/dish_commands.sh @@ -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