test_{creotech,mlabs}: Remove RP power control
This commit is contained in:
parent
b473965a55
commit
c6f98f5856
|
@ -4,10 +4,7 @@
|
|||
# powering on MCH and RP using ~/power_strip/ scripts
|
||||
# Display power-on time
|
||||
TIMESTAMP_PRETTY=$(date '+%Y-%m-%d %H:%M:%S')
|
||||
echo "MCH & RP powered on at $TIMESTAMP_PRETTY."
|
||||
# Test RP network connectivity
|
||||
# NOTE: Change $RP_HOST inside `rp_ping_test` for your own setup!
|
||||
./rp_ping_test &
|
||||
echo "MCH powered on at $TIMESTAMP_PRETTY."
|
||||
# Power on MCH
|
||||
./mch_start &
|
||||
# Wait 2 minutes before measurement
|
||||
|
@ -22,16 +19,12 @@ sleep 120
|
|||
# Wait 1 minute before powering off MCH and RP
|
||||
sleep 60
|
||||
|
||||
# Issue shutdown on RP, and wait until RP is disconnected
|
||||
# NOTE: Change $RP_HOST, $RP_USER & $RP_KEY inside
|
||||
# `rp_shutdown` for your own setup!
|
||||
./rp_shutdown &
|
||||
# Wait 30 seconds
|
||||
sleep 30
|
||||
|
||||
# Simultaneously power off MCH and RP
|
||||
# Display power-off time
|
||||
TIMESTAMP_PRETTY=$(date '+%Y-%m-%d %H:%M:%S')
|
||||
echo "MCH & RP powered off at $TIMESTAMP_PRETTY."
|
||||
echo "MCH powered off at $TIMESTAMP_PRETTY."
|
||||
# Power off MCH
|
||||
./mch_stop
|
||||
|
|
11
test_mlabs
11
test_mlabs
|
@ -15,10 +15,7 @@ export HUBPORT=4
|
|||
# powering on MCH using tnetplug, and RP using uhubctl
|
||||
# Display power-on time
|
||||
TIMESTAMP_PRETTY=$(date '+%Y-%m-%d %H:%M:%S')
|
||||
echo "MCH & RP powered on at $TIMESTAMP_PRETTY."
|
||||
# Test RP network connectivity
|
||||
# NOTE: Change $RP_HOST inside `rp_ping_test` for your own setup!
|
||||
./rp_ping_test &
|
||||
echo "MCH powered on at $TIMESTAMP_PRETTY."
|
||||
# Power on MCH
|
||||
echo "A" | nc -W1 $TNETPLUG_HOST $TNETPLUG_PORT &
|
||||
# Power on RedPitaya connected to the smart USB hub
|
||||
|
@ -34,17 +31,13 @@ nix-shell -p python3Packages.matplotlib python3Packages.numpy python3Packages.sc
|
|||
# Wait 1 minute before powering off MCH and RP
|
||||
sleep 60
|
||||
|
||||
# Issue shutdown on RP, and wait until RP is disconnected
|
||||
# NOTE: Change $RP_HOST, $RP_USER & $RP_KEY inside
|
||||
# `rp_shutdown` for your own setup!
|
||||
./rp_shutdown &
|
||||
# Wait 30 seconds
|
||||
sleep 30
|
||||
|
||||
# Simultaneously power off MCH and RP
|
||||
# Display power-off time
|
||||
TIMESTAMP_PRETTY=$(date '+%Y-%m-%d %H:%M:%S')
|
||||
echo "MCH & RP powered off at $TIMESTAMP_PRETTY."
|
||||
echo "MCH powered off at $TIMESTAMP_PRETTY."
|
||||
# Power off MCH
|
||||
echo "a" | nc -W1 $TNETPLUG_HOST $TNETPLUG_PORT &
|
||||
# Power off RedPitaya connected to the smart USB hub
|
||||
|
|
Loading…
Reference in New Issue