From 5d2c686e87480db0d169a9bede39200472f69b8b Mon Sep 17 00:00:00 2001 From: sbennettapl <55453267+sbennettapl@users.noreply.github.com> Date: Tue, 15 Oct 2019 12:05:10 -0400 Subject: [PATCH] Update dds_sweep.sh init doesn't work when the device is an AD9361 --- dds_sweep.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dds_sweep.sh b/dds_sweep.sh index ad1f7bb..5aca67e 100755 --- a/dds_sweep.sh +++ b/dds_sweep.sh @@ -11,6 +11,7 @@ do B1=out_altvoltage1_1B_frequency B2=out_altvoltage3_2B_frequency sampl=`cat $dac_path/out_altvoltage_sampling_frequency` + init=`cat $dac_path/out_altvoltage0_1A_frequency` break fi @@ -26,6 +27,7 @@ do A4=out_altvoltage6_TX2_Q_F1_frequency B4=out_altvoltage7_TX2_Q_F2_frequency sampl=`cat $dac_path/out_altvoltage_sampling_frequency` + init=`cat $dac_path/out_altvoltage0_TX1_I_F1_frequency` break fi done @@ -37,9 +39,6 @@ fi ny=`expr $sampl / 2` -#save the current settings -init=`cat $dac_path/out_altvoltage0_1A_frequency` - # Set DDSn_A freq_A(){ if [ ! -z $A1 ] ; then echo $1 > $dac_path/$A1; fi