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

Added --seq vis_packet to verify correlator output packet header and payload...

Added --seq vis_packet to verify correlator output packet header and payload data using a data buffer.
parent 13e22d9e
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,15 @@
it can be called after main.py and before MAC software takes control.
Arguments:
--seq : selects one or more tests to run from info,bst,transpose
--seq : selects one or more tests to run from:
. info can run on dish or on central
. bst runs on dish
. transpose runs on dish
. link requires dish and central
. mesh requires dish and central
. vis_packet requires dish and central
--tel : selects dish from 2,3,4,5,6,7,8,9,a,b,c,d for bands 0:15
omit --tel to have no dish tests
--pol : selects the dish UniBoards and central FPGA nodes:
......@@ -49,7 +57,7 @@
. pol 0 selects central nodes --fn 0:3
pol 1 selects central nodes --bn 0:3
pol 0,1 selects central nodes --fn 0:3 --bn 0:3
--unb, : selects central uniboards with --fn 0:3 --bn 0:3
--unb : selects central uniboards with --fn 0:3 --bn 0:3
omit --unb to have no central tests
Usage:
......@@ -247,6 +255,18 @@ if tc.nofUnb > 0 :
run_in_foreground(CCU, command)
# Update machine test result in global tc object
get_test_result(MACHINES)
if 'vis_packet' in tc.sequence:
# Apply stimuli at the dishes
# Set BF weights to have one SP per CB for all beamlets and rely on the measured sky noise to provide ADC input
command = 'ssh lcu-rtc -X "python $UPE/peripherals/pi_apertif_system.py -v 3 %s %s --cmd 62 --cbeams 0:36 --pol 0,1 --subbands 0:511 --globalsp 56 --weight 32767,0' % (dishUnb, dishFn)
run_in_foreground(LCUS, command)
tc.sleep(2)
# Verify expected results at central
command = 'python $RADIOHDL/applications/apertif/commissioning/tests/verify_correlator_db_output.py -v 3 %s %s %s %s --beamlets 0 --channels 0' % (optTel, centralUnb, centralFn, centralBn)
run_in_foreground(CCU, command)
# Update machine test result in global tc object
get_test_result(MACHINES)
###############################################################################
# End
......
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