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

Added read UniBoard sensors and ADU temperatures.

parent 8275bdeb
No related branches found
No related tags found
No related merge requests found
...@@ -112,6 +112,20 @@ else ...@@ -112,6 +112,20 @@ else
exit 1 exit 1
fi 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
###############################################################################
# PPS stable? (Pre-read) # PPS stable? (Pre-read)
python $UPE/peripherals/util_ppsh.py --unb $UNBS --bn 0:3 -n 8 >/dev/null 2>&1 python $UPE/peripherals/util_ppsh.py --unb $UNBS --bn 0:3 -n 8 >/dev/null 2>&1
sleep 2 sleep 2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment