From 4b7b35570c13766ed575f69d79bf1ded954b6886 Mon Sep 17 00:00:00 2001 From: Andrej Rode Date: Wed, 19 Oct 2016 16:41:59 -0700 Subject: gr-usrptest: add LabVIEW remote control capability - require modules labview_automation and hoplite for RTS python module - new python module: labview_control --- tools/gr-usrptest/python/functions.py | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) (limited to 'tools/gr-usrptest/python/functions.py') diff --git a/tools/gr-usrptest/python/functions.py b/tools/gr-usrptest/python/functions.py index e3f7958b1..2ce2ee451 100644 --- a/tools/gr-usrptest/python/functions.py +++ b/tools/gr-usrptest/python/functions.py @@ -54,18 +54,42 @@ def setup_tx_phase_alignment_parser(parser): def setup_rts_phase_alignment_parser(parser): - rts_group = parser.add_argument_group('RTS Phase alignment specific arguments') + rts_group = parser.add_argument_group( + 'RTS Phase alignment specific arguments') rts_group.add_argument( - '-pd', '--phasedev', + '-pd', + '--phasedev', type=float, default=1.0, - help='maximum phase standard deviation of dphi in a run which is considered settled (in deg)') + help='maximum phase standard deviation of dphi in a run which is considered settled (in deg)' + ) rts_group.add_argument( '-dp', '--dphi', type=float, default=2.0, help='maximum allowed d_phase deviation between runs (in deg)') + rts_group.add_argument( + '--freqlist', + type=str, + help='comma-separated list of frequencies to test') + rts_group.add_argument( + '--lv-host', + type=str, + help='specify this argument if running tests with vst/switch') + rts_group.add_argument('--lv-vst-name', type=str, help='vst device name') + rts_group.add_argument( + '--lv-switch-name', type=str, help='executive switch name') + rts_group.add_argument( + '--lv-basepath', + type=str, + help='basepath for LabVIEW VIs on Windows') + rts_group.add_argument( + '--tx-offset', + type=float, + help='transmitter frequency offset in VST') + rts_group.add_argument( + '--lv-switch-ports', type=str, help='comma-separated switch-port pair') return parser def setup_manual_phase_alignment_parser(parser): -- cgit v1.2.3