Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions dds_sweep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand All @@ -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
Expand Down