<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hi Xiangdong,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I looked at the fsNMR program and found a few bugs that I have now fixed:</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<ul>
<li>Auto-adjustment of lock-in amplifier gain was incorrectly using X measurement rather than amplitude</li><ul>
<li>This is probably why in all the plots with the odd stair-step appearance, the X data was the only one that looked okay.</li><li>I ran a test with the same frequency range (40 MHz - 45 MHz) as in your last results document but with only 200 steps (to get the program to run faster) and everything looked okay; no stair-step jumps.<br>
</li></ul>
<li>Program had a subVI that was settings it's attenuation to -63 dB after a cycle, but the program never reset the attenuation to the user's set value.</li><ul>
<li>The setting to -63 dB explains why data was so small for subsequent cycles.</li><li>This incorrect behavior has been corrected and the signals look very similar between cycles.</li></ul>
<li>Found that if background subtract was not used, program was still subtracting 1 from all data</li><ul>
<li>This caused all data to be offset by ~1 and in turn caused data to look odd/not expected when background scaling was used.</li><li>After finding and fixing this, when background subtraction and scaling was then used, the results were all centered somewhat around zero.
</li></ul>
</ul>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
With these fixes, the issues you noted in your last results PDF seem to be resolved.<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Right now, I'm in the process of running a test with the same settings as in your PDF (40 MHz - 45 MHz, 2500 steps), but with only 10 cycles. As of this email, the program is on cycle 5 of 10 with no background subtraction/scaling. So far, everything looks
 good. Once that is complete, I'll use the results as the background for a second test. I expect these tests to run take the rest of the afternoon and maybe into the evening.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I will also be working on a short procedure on how to run the fsNMR program in various modes and will send that when it's done.<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Best regards,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Tyler</div>
<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> dsg-hdice <dsg-hdice-bounces@jlab.org> on behalf of Tyler Lemon <tlemon@jlab.org><br>
<b>Sent:</b> Monday, June 22, 2020 5:16 PM<br>
<b>To:</b> Xiangdong Wei <xwei@jlab.org>; dsg-hdice@jlab.org <dsg-hdice@jlab.org><br>
<b>Subject:</b> Re: [dsg-hdice] fsNMR test results</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hello,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Attached is the document Xiangdong sent that I forgot to attach to my previous email.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Tyler<br>
</div>
<div id="x_appendonsend"></div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Xiangdong Wei <xwei@jlab.org><br>
<b>Sent:</b> Monday, June 22, 2020 4:55 PM<br>
<b>To:</b> Tyler Lemon <tlemon@jlab.org><br>
<b>Subject:</b> fsNMR test results</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hi Tyler,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
The attached pdf file contain a preliminary test results of stage 1 and stage 2 fsNMR VIs. Please take a look. </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I am not available for meetings on Thursday and Friday, but I can still reading email.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Thanks,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Xiangdong</div>
</div>
</div>
</body>
</html>