diff --git a/applications/apertif/commissioning/dish_status.sh b/applications/apertif/commissioning/dish_status.sh index 3935a6d3365feb6505018242819364b756a97163..4dc2e024d564bfcdbe6d13a4d918e452344da401 100755 --- a/applications/apertif/commissioning/dish_status.sh +++ b/applications/apertif/commissioning/dish_status.sh @@ -113,16 +113,18 @@ else fi ############################################################################### - - # read Uniboard sensors per type - python $UPE/peripherals/util_unb_sens.py -v 3 --unb $UNBS --fn 0:3 --bn 0:3 -n 1 # FPGA temperatures - python $UPE/peripherals/util_unb_sens.py -v 3 --unb $UNBS --fn 0:3 --bn 0:3 -n 2 # ETH temperatures - python $UPE/peripherals/util_unb_sens.py -v 3 --unb $UNBS --fn 0:3 --bn 0:3 -n 3 # Current - python $UPE/peripherals/util_unb_sens.py -v 3 --unb $UNBS --fn 0:3 --bn 0:3 -n 4 # Voltage - python $UPE/peripherals/util_unb_sens.py -v 3 --unb $UNBS --fn 0:3 --bn 0:3 -n 5 # Power = Current * Voltage - - # read ADU temperatures - python $UPE/peripherals/util_adu_i2c_commander.py -v 3 --unb $UNBS --bn 0:3 --sp 0:3 -n 0 + READ_TEMPERATURES=False + if [ "$READ_TEMPERATURES" == "True" ]; then + # read Uniboard sensors per type + python $UPE/peripherals/util_unb_sens.py -v 3 --unb $UNBS --fn 0:3 --bn 0:3 -n 1 # FPGA temperatures + python $UPE/peripherals/util_unb_sens.py -v 3 --unb $UNBS --fn 0:3 --bn 0:3 -n 2 # ETH temperatures + python $UPE/peripherals/util_unb_sens.py -v 3 --unb $UNBS --fn 0:3 --bn 0:3 -n 3 # Current + python $UPE/peripherals/util_unb_sens.py -v 3 --unb $UNBS --fn 0:3 --bn 0:3 -n 4 # Voltage + python $UPE/peripherals/util_unb_sens.py -v 3 --unb $UNBS --fn 0:3 --bn 0:3 -n 5 # Power = Current * Voltage + + # read ADU temperatures + python $UPE/peripherals/util_adu_i2c_commander.py -v 3 --unb $UNBS --bn 0:3 --sp 0:3 -n 0 + fi ###############################################################################