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

Added xonoff examples for correaltor output to DW.

parent 600ad864
No related branches found
No related tags found
No related merge requests found
......@@ -248,14 +248,15 @@ python main.py --app arts_sc1 --tel c --pol 0,1 --unb 2:15 --opt noflash
more ~/lcu-rt7_dish_commands.log
# Read switch on/off FN output
ssh lcu-rtc -X "python $UPE/peripherals/util_dp_xonoff.py --unb 0:7 --fn 0:3 -v 5 -s OUTPUT -n 0"
# Control on/off FN output
ssh lcu-rtc -X "python $UPE/peripherals/util_dp_xonoff.py --unb 0:7 --fn 0:3 -v 5 -s OUTPUT -n 0" # read
ssh lcu-rtc -X "python $UPE/peripherals/util_dp_xonoff.py --unb 0:7 --fn 0:3 -v 5 -s OUTPUT -n 1" # switch off
ssh lcu-rtc -X "python $UPE/peripherals/util_dp_xonoff.py --unb 0:7 --fn 0:3 -v 5 -s OUTPUT -n 2" # switch on
# switch off FN output
ssh lcu-rtc -X "python $UPE/peripherals/util_dp_xonoff.py --unb 0:7 --fn 0:3 -v 5 -s OUTPUT -n 1"
# switch on FN output
ssh lcu-rtc -X "python $UPE/peripherals/util_dp_xonoff.py --unb 0:7 --fn 0:3 -v 5 -s OUTPUT -n 2"
# Control on/off correlator output to data writer (can be done without disturbing the FPGA processing and timing)
python $UPE/peripherals/util_dp_xonoff.py --unb 0:15 --fn 0:3 --bn 0:3 -s OUTPUT -n 0 # read
python $UPE/peripherals/util_dp_xonoff.py --unb 0:15 --fn 0:3 --bn 0:3 -s OUTPUT -n 1 # switch off
python $UPE/peripherals/util_dp_xonoff.py --unb 0:15 --fn 0:3 --bn 0:3 -s OUTPUT -n 2 # switch on
# read design version
ssh lcu-rtc -X "python $UPE/peripherals/util_system_info.py --unb 0:7 --fn 0:3 --bn 0:3 -n 2"
......@@ -310,6 +311,7 @@ ssh lcu-rt7 -X "python $UPE/peripherals/pi_apertif_system.py --cmd 82 -v 4 --unb
# After Rbeamout by dish setup_arts.py check:
ssh lcu-rt7 -X "python $UPE/peripherals/pi_apertif_system.py --cmd 53 -v 4 --unb 0:7 --fn 0:3 --scheme 300MHz_37CB" # verify R_beam for Apertif MAC
ssh lcu-rt7 -X "python $UPE/peripherals/pi_apertif_system.py --cmd 83 -v 4 --unb 0:7 --fn 0:3 -s 300MHz_37CB --scheme arts_sc1" # Read and verify R_beamout for Arts
ssh lcu-rt7 -X "python $UPE/peripherals/pi_apertif_system.py --cmd 83 -v 4 --unb 0:7 --fn 0:3 -s 300MHz_37CB --scheme arts_sc4" # Read and verify R_beamout for Arts
ssh lcu-rt7 -X "python $UPE/peripherals/pi_apertif_system.py --cmd 84 -v 4 --unb 0:7 --fn 0:3" # Read R_beamout
# Read and verify default beamlets setting in Rbeam in FN
......@@ -666,6 +668,10 @@ ssh lcu-rtc -X "python $UPE/peripherals/pi_apertif_system.py --unb 0:7 --fn 0:3
ssh lcu-rtc -X "python $UPE/peripherals/pi_apertif_system.py --unb 0:7 --fn 0:3 --cmd 53 -v 4 --scheme arts_sc1" # read and verify
ssh lcu-rtc -X "python $UPE/peripherals/pi_apertif_system.py --unb 0:7 --fn 0:3 --cmd 53 -v 4 --scheme arts_sc4" # read and verify
ssh lcu-rtc -X "python $UPE/peripherals/pi_apertif_system.py --unb 0:7 --fn 0:3 --cmd 53 -v 4 --scheme 300MHz_37CB" # read and verify
# Read and verify Rbeamout for MAC Rbeam
ssh lcu-rt7 -X "python $UPE/peripherals/pi_apertif_system.py --cmd 83 -v 4 --unb 0:7 --fn 0:3 -s 300MHz_37CB --scheme arts_sc1" # Read and verify R_beamout for Arts
ssh lcu-rt7 -X "python $UPE/peripherals/pi_apertif_system.py --cmd 83 -v 4 --unb 0:7 --fn 0:3 -s 300MHz_37CB --scheme arts_sc4" # Read and verify R_beamout for Arts
# Write BF weights for single pixel CB
ssh lcu-rtc -X "python $UPE/peripherals/pi_apertif_system.py --unb 0:7 --fn 0:3 --cmd 620 -v 4" # SP 56, only CB 0 (Arts SC1)
......@@ -673,7 +679,8 @@ ssh lcu-rtc -X "python $UPE/peripherals/pi_apertif_system.py --unb 0:7 --fn 0:3
Summary:
###############################################################################
# Summary:
ssh lcu-rt7 -X "python $UPE/peripherals/util_system_info.py --unb 0:7 --fn 0:3 --bn 0:3 -n 4" # read system reginfo
ssh lcu-rt7 -X "python $UPE/peripherals/util_system_info.py --unb 0:7 --fn 0:3 --bn 0:3 -n 2" # read system info
......@@ -726,8 +733,14 @@ ssh lcu-rt2 -X "python $UPE/peripherals/pi_dp_sync_checker.py --unb 0:7 --fn 0:3
python $UPE/peripherals/pi_dp_sync_checker.py --unb 0:1 --fn 0:3 --bn 0:3 --reg nof_early_syncs,nof_late_syncs" # nof since last read, should be 0 if all OK
###############################################################################
# Regression test
# First run main.py with the --tel, --pol and --unb that are used in the test
python main.py --app apertif-dev --tel a --pol 0,1 --unb 0
# Regression test per dish
python $RADIOHDL/applications/apertif/commissioning/tests/batch_test.py --tel 4 --seq info,bst,transpose --pol 0,1
python $RADIOHDL/applications/apertif/commissioning/tests/batch_test.py --tel a --seq info,bst,transpose --pol 0,1
# Regression test between dish and central
python $RADIOHDL/applications/apertif/commissioning/tests/batch_test.py --tel 5 --seq info,link --pol 0,1 --unb 2
python $RADIOHDL/applications/apertif/commissioning/tests/batch_test.py --tel a --seq info,link,mesh,vis_packet --pol 0,1 --unb 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment