Skip to content
Snippets Groups Projects
Commit c914ec3a authored by Boudewijn Hut's avatar Boudewijn Hut
Browse files

Temperature readings can now be switched on or off by a constant

parent 0f07db9e
No related branches found
No related tags found
No related merge requests found
...@@ -113,7 +113,8 @@ else ...@@ -113,7 +113,8 @@ else
fi fi
############################################################################### ###############################################################################
READ_TEMPERATURES=False
if [ "$READ_TEMPERATURES" == "True" ]; then
# read Uniboard sensors per type # 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 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 2 # ETH temperatures
...@@ -123,6 +124,7 @@ else ...@@ -123,6 +124,7 @@ else
# read ADU temperatures # read ADU temperatures
python $UPE/peripherals/util_adu_i2c_commander.py -v 3 --unb $UNBS --bn 0:3 --sp 0:3 -n 0 python $UPE/peripherals/util_adu_i2c_commander.py -v 3 --unb $UNBS --bn 0:3 --sp 0:3 -n 0
fi
############################################################################### ###############################################################################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment