Revision 1r10:

Adding the ability to give a crystal a name, which will print
before and after the parameters.  So if you do a string of them,
you'll know what was what.

Also added some conditional statments to compile for me or for
release.  Use #define NICK 1 for my personal version and use
#define NICK 0 for general use.

I moved the point where you input the crystal fixture resistance
up a bit so it's not after measurments have already started.

I changed the way the crystal test function prints out the data.
Now instead of a line for each parameter, all parameters are 
printed on a single line, separated by commas.  In my version of
Excel, I highlight the line of data, click in an Excel cell, do a
control-V (paste).  It puts everything into one cell, but there's a 
little symbol with a drop-down allowing me to choose the Text Import
Wizard.  I do that, choose delimited and specifiy the comma as
the delimiter.  Now is spreads them out into one value (and the label)
per cell.

Finished 1/16/2014

Revision 1r9:

Had a mistake in the clock frequency selection and reasonableness 
check after I added the AD9851.  Fixing that.
  
Also breaking the project up into multiple files.
  
Also adding in the "generator" function the ability to choose an 
"update" option that continuously updates the dBm power level without 
additional keystrokes.  This can be helpful when you are adjusting
a network or tuner, for example.

Also added an option to the SNA function to include uncompensated
level in dBm, displayed alongside the compensated level. This shows
the actual output of your DDS.  It could be used to verify that
your polynomical coefficients are still OK. If you haven't yet
put cofficients into the source code (main file), you won't see
a difference between compensated and uncompensated power levels.


**************************************************************


Revision 1r8 does these things:

Looks at cell O3 in PLX-DAQ and if 100, uses the crystal fixture loss 
factor in data sent back.  Revised the PLX-DAQ spreadsheet to 4r2.

Added the ability to toggle between AD9850 and AD9851 modes, setting a
flag in EEPROM.

********************************


In the bump up to 1.7, starting 12/19/2013 I want to ...

Add a switch to turn frequency compensation and normalization to 0 dBm
On or Off.  Not saved to EEPROM though.

Add automatic crystal scanning and calculation of parameters.

I'm getting the crystal calcs going.  I found that following a
frequency change by an immediate ADC read is not a good idea.
Now allowing 5 ms between.

Also noted that the sendFrequency() routine will accept any float
as an argument, but the compensation routine assumes that f_out is
the current frequency.  So I changed sendFrequency() to set f_out
to the current frequency.


PLX-DAQ is currently unaware of the loss term for the shorted fixture,
so won't scan crystals with a 0 dB reference.  I'm going to set a
cell in the PLX spreadsheet to 100 to tell PHSNA to factor in that
value before returning the dBm value ...  DONE!  o4 = 100 to flag.



The 1.6 revision.  Starting 12/7/2013

Here I'm trying to add the PLX-DAQ version to the terminal version and
have it figure out if the Excel macro is connected, otherwise go to the
terminal version.


The 1.5 revision.  Starting 12/6/2013 ...

Mainly I want to get rid of the 1 MHz lower limit in option #2, Generator.

Also should add the ability to manually input slope and intercept when
desired. I did that.  Had some issues with getting wrong numbers back
from EEPROM.  Something to do with converting int to two bytes and back.
I wound up using lowByte() and highByte() operators instead of 
(byte)(myint>>8 &0xFF), (byte)(myint<<8 & 0xFF).








