** released v0.26 ** 5/6/8 - remove trailing ',' from rows in eq cct file saves 5/6/8 - change header line in eq cct file saves from ID to ident to avoid 'SYLK' import errors in excel 12/6/8 - alter leftview.cpp so that transverter[0] settings changed when action may have changed min and max (otherwise they are not saved on program exit) ** v0.26a to Jerry ** 12/6/8 - put marker data into status bar when dragging manual marker ** v0.26b to Jerry ** 12/6/8 - add option to invert RL (TODO: make default units invert) 15/6/8 - added info tips to left view plus option to switch on/off in display options 15/6/8 - added cursor location in status bar when not dragging 15/6/8 - added RedrawWindow() to start and end of the eq cct refine solution code to clean up display 15/6/8 - alter units default on Rl invert (but does not immediately take effect) ** v0.26c to Jerry ** 19/6/8 - added initial part of harmonic modes ** v0.26d to Paul ** 19/6/8 - check if scanning when changing scan points and abort scan in progress first 19/6/8 - added nHarmonic to document & made sweep time display change on harmonic sampling mode 19/6/8 - corrected bug in marker display that detached markers from trace if window height changed 22/6/8 - corrected bugs in harmonic modes and reflected in onscreen display of mode 23/6/8 - added harmonic modes to usb code 23/6/8 - corrected slider positioning and RF initial frequency setting in signal generator 23/6/8 - corrected crash bug when manual marker off screen and sweep type changed 24/6/8 - make sure min freq span when dragging is one dds step frequency times number of scan points and axis does not reverse left / right 27/6/8 - changing source, mode or target in a marker enables that marker 29/6/8 - locking vertical axes now stops autoscale and display type changes rescaling 29/6/8 - added refine solution option to 6 term crystal eq cct measurement ** release as v0.27 ** 05/07/08 - added switch and attenuator setting functions 05/07/08 - change logic to enable ADC speed to be changed during a scan ** release as v0.27a to Mike Collins to check switch & atten modes ** 05/07/08 - hide switch 1 when using parallel mode 17/07/08 - replace print title page dialog with print notes window ** release as v0-27b to Robert Cerreto to check concept of print notes 19/07/08 - corrected bug in autoscale when switching mode (transmission/reflection) 19/07/08 - changed print format for status bar cursor data from %f to %g 19/07/08 - modified print page layout calculations 20/07/08 - lock display type when in equivalent circuit mode 20/07/08 - autoscale snap to 1/2/5 sequence now snaps to 45 if displaying degrees and value is 50 per division 20/07/08 - wait for scan thread termination on closing document 22/07/08 - allow notes dialog to resize ** release as v0-28 ** 29/07/08 - changed method of calculation of reflection results from Z to rho 29/07/08 - added correction for calibration standard offsets 29/07/08 - added S parameter methods 29/07/08 - misc small bug fixes following on from S parameter changes 29/07/08 - added phase step delay funtion to USB and parallel handlers and scan structure but not to main program yet 14/08/08 - added diagnostic screen 14/08/08 - extended S mode to 5/6/10/12 term 14/08/08 - fixed up calibration data load save for reverse scan data 14/08/08 - misc bug fixes ** release as v0-29 ** 14/08/08 - corrected bug in checking if calibration data valid for sweep and deleted old commented out code 17/08/08 - added phase change step delay 17/08/08 - moved average count to hardware node 21/08/08 - corrected same ADC lockup bug in calibrate scan in USB moe 21/08/08 - took phase step delay count into account in scan time calculation 21/08/08 - restructured S parameter display options 21/08/08 - added flags to extend ERC into reflection & transmission 28/08/08 - significant internal change - details omitted. Complete rewrite of s parameters mode 28/08/09 - stop mode change to signal generator or degug whilst scanning from crashing pgm ** release 0.29a to Mike ** 29/08/08 - added VNA4win file format save and corrected headers in myVNA file format 05/09/08 - more changes to S parameters 05/09/08 - changed frequency entry in hardware section to MHz 05/09/08 - chnaged min scan steps to 2 ** release as 0.30 to Mike ** 07/09/08 - added extended file save function 07/09/08 - added options dialog. Set limits, enable / disable net, atten, transverter options 14/09/09 - reworked frequency setting dialog 14/09/08 - added RFIV mode ** release as 0.30c to Paul 14/09/08 - changed delays in parallel to not call sleep in <= 1 ms ** release as 0.30d to Tom 14/09/08 - added option to use winio ** release as 0.30e to Tom and Paul 19/09/08 - tweaked parallel code to defer scans optionally uitil dialog boxes shown 19/09/08 - added control for ADC timeout to hardware interface selection 19/09/08 - tweak autoscale to better the fit in 1/2/5 autoscale calculations ** release as 0.30f to Paul 19/09/08 - do not show 'no cal loaded' dialog on startup until a calibration has been completed 19/09/08 - added error messages for frequency range exceeds calibration data range 02/10/08 - created usb drivers 0.22 and made program check version 02/10/08 - new version of vnadll.dll for version number management 02/10/08 - rewrite of usb scan code to add rfiv 02/10/08 - modified scan logic for multiple minor bugs & issues following above changes 02/10/08 - make code force RC and reflection mode in RFIV 02/10/08 - modify calibration handler to show ratio not voltage in rfiv cal 02/10/08 - make calibration idle frequency mid scale of range not lowest frequency for offset problem ** release as 0.31 to Paul ** 05/10/08 - enforce match of RFIV calibration with scan and save in scandata flags 06/10/08 - correct from zero scan of UpdateTraceInProgress() and in dragging trace and in marker positioning 12/10/08 - add copy to report view for selected rows or whole data set 12/10/08 - permit rows to be swapped in report view 12/10/08 - add copy to equivalent circuit display 12/10/08 - added keyboard accelerators T,S,C,A,M for buttons on scan toolbar 13/10/08 - update calibration process (set wait freq to start or centre, display it) + bug fixes to dual scan ** release as 0.32 ** 20/10/08 - block combination of Basic mode and 5/10 term calibration following Mark marsden's feedback 22/10/08 - correct calibration data calculation bug that stopped transmission mode working ** release as 0.33 ** 23/10/08 - yet another stupid bug ** release as 0.34 ** 01/11/08 - added log scan mode and reworked log display code throughout to match 01/11/08 - corrected bug in dual scan calibration to offer ISO step choice 01/11/08 - remove bug that locks display types when switching to report view from equivalent circuits ** release as 0.35 ** 01/11/08 - corrected status line frequency display ** release as 0.36 ** 03/11/08 - tweak to log / lin file detection in loading trace data from disk ** test version 0.36a to Paul Playford ** 04/11/08 - force lin scan mode in calibration ** test version 0.36b to Mori ** ** release as 0.37 ** 16/11/08 - added polar mode code and restructured quite a bit to match !!! 16/11/08 - changed prompts for calibration to match 'Start' button 16/11/08 - added Touchstone file save format for reflection and S parameters ** release as 0.37a,b with bug fixes ** 21/11/08 - add drag & drop for cal files and stored data files 22/11/08 - extended drag & drop to ref files and corrected bug in loader that meant it stopped after 1st parameter read 22/11/08 - set title to show mode 22/11/08 - corrected calculation of L and C for log scans ** release as 0.37d to Mori ** 23/11/08 - tweaked layout of strings in polar views.Save polar view mode in registry. ** release as 0.38 ** 24/11/08 - change file load / save touchstone formats and add dialog box to choose format on save 24/11/08 - correct bug in debugIO that caused lockup on parallel port 24/11/08 - correct clip region bug that obscured trace on maximise window 29/11/08 - added log vertical scale function ** release as 0.39 ** ??/12/08 - changed file save to align columns ** release as 0.39a to Paul ** 13/12/08 - fundamental restructure to permit multiple traces on screen 13/12/08 - fix S parameter calibration data crystal eq cct refine code bug 13/12/08 - add option to suppress display sets 13/12/08 - increase number of trace colours 20/12/08 - copy to clipboard in report format now includes csv 20/12/08 - added unguided calibration ** release as 0.39b to Eric, Andreas, Paul, Harold ** 23/12/08 - add column clipboard copy function to report view 23/12/08 - add copy function to main display popup menu 23/12/08 - add auto attenuator setting function 23/12/08 - correct bug in auto refine printing function 23/12/08 - correct null pointer bugs when display sets is removed 01/01/09 - enable multiple stores to be displayed at same time 01/01/09 - add stored traces to report view and extend column copy 01/01/09 - remove leading and trailing whitespace from column copy in report view 02/01/09 - added log calibration scan support (lots of small changes) 04/01/09 - added curve fitting to calibration data interpolation ** released as 0.39c-i for testing - various bug fixes ** 04/01/09 - block frequency axis dragging when scanning and add option to switch on or off 04/01/09 - complete coding of mode switch to / from polar in selection of display types 04/01/09 - rename Gamma as smith chart in display types 04/01/09 - add right click menu command to main display to set frequency scan to display settings 09/01/09 - change AngleArc() to Arc() in smith chart plotting for W98 compatibility 10/01/09 - bug fixes from Paul - marker positioning etc 10/01/09 - added decimal point control for frequencies in marker dialog 10/01/09 - enable print notes in clipboard copy of main view graphic traces (only) 10/01/09 - added control over number of decimal places to set frequency axis dialog 10/01/09 - force print of equivalent circuit in clipboard and on printout ** released as 0.40 ** 17/01/09 - redrafted calibration scan processing and checking following bug found by Mike 17/01/09 - bug fix to curve fitting in interpolation 17/01/09 - use memory device context and BitBlt to remove flicker 17/01/09 - bug fixes to divide by zero in parameter calulations 17/01/09 - tweaked display messages for calibration 18/01/09 - tweaked checking on calibration data in several places 18/01/09 - changed way that markers are dragged in polar view 18/01/09 - added more detail to calibration data summary and to display in unguided calibration ** v0.41 rc4 ** ** v0.42 ** 04/02/09 - added option to label markers in printout 04/02/09 - added OnSize function to force clear of screen on maximise (kludge) 04/02/09 - clip markers to edge of rectangular display within DisplayMarkers() 04/02/09 - tweak configure function to correct display type selection on changes that prevented manual scaling of axis 26/02/09 - correct bugs to display routines 26/02/09 - add option for labels and annotations 04/02/09 - added tcpip client / server code 14/03/09 - add option to unlink display from scan in rectangular mode ** release as v0-44 ** 19/03/09 - added cursors function 20/03/09 - corrected bug in USB and TCPIP interface speed change during scan 05/04/09 - change default max display from from 200 Hz to 200 MHz 05/04/09 - added VVM and restructured phase sequence in parallel drivers 09/04/09 - modified unguided calibration to display extra data and clear ISO if skip is ticked when thru is valid 09/04/09 - modified usb drivers to change phase sequence for VVM 12/04/09 - modified tcpip code to work with VVM 19/04/09 - added VVM calibration function 19/04/09 - modified code to show first / last points in a scan correctly 19/04/09 - modified code to show markers in stored traces 3 & 4 19/04/09 - modified code to work on W2K by removing IP address lookup in net server (getpeernameex()) 19/04/09 - add option to force DDS idle to scan start in calibration 21/04/09 - removed abs() from C & L calculations, removed Zp and altered Q to make sign depend on sign of Rs 24/04/09 - added option to force absolute values in log vertical axes 28/04/09 - restructured all scan routines to add 2/4th harmonic filtering 01/05/09 - added single detector mode to VVM 01/05/09 - corrected display options bug and prompt in set frequency dialog 16/05/09 - added trace calculation mode 25/05/09 - rewrote polar display functions to support calculation modes 25/05/09 - added function to change value shown for markers in smith view 25/05/09 - added option to show all display modes at once 06/06/09 - added dds power down mode ** release as v0-45 ** 06/07/09 - added network simulation 06/07/09 - fixed bug in crystal refine caused by equation mode (null pointer) 23/07/09 - fixed bug in parallel drivers for 32 sample processing (buffer problem) 23/07/09 - added limits checking to dft filter 24/07/09 - fix integer calculation bug in gridline calculations 24/07/09 - add option to display reflection data for port 2 25/07/09 - add frequency axis decimal points to display frequency dialog box (unlocked version) 25/07/09 - restructure load/store options to add support for simulation and saving stores to file 25/07/09 - modify clip region display logic to improve clipboard copy / printout clipping of trace 30/07/09 - add OSLC calibration option 30/07/09 - make simulation use forward scan data in both directions in the event of no reverse scan data 08/09/09 - correct tan(x) bug in 45 degree crystal measurement 08/09/09 - restrict ability to refine whilst scan in progress in crystal measurement 08/09/09 - include button to reset autonumber in eq cct logging 08/09/09 - add 'simulate' button to eq cct mode 08/09/09 - modify code to allow sig gen and debug IO to run as dialogs not modal dialogs so they may be minimised properly 20/08/09 - add nudge controls to network synthesis dialogs and cure memory leak. 30/09/09 - added LLC computations in calibration 30/09/09 - add options to save cal standards in calibration data (file format 6 added) 01/10/09 - change lists simple droplists to avoid keyboard mis selection 01/10/09 - make notes headers / footers persistent in registry 01/10/09 - add tooltips 01/10/09 - tweak net sim dialog - update button, set focus, select edit text 03/10/09 - add scroll wheel nudge to network simulation dialogs 11/10/09 - added group delay 11/10/09 - added termination impedance for simulation 14/10/09 - modify reset sequences for usb ** release as 0.49 ** 23/10/09 - add options to label gridlines vertical & horizontal 23/10/09 - change long to __int64 in dds handling 03/11/09 - added Ref Mode config screen 03/11/09 - tweaked net simulation descriptions (first 2 were incorrectly described) 18/11/09 - label markers in clipboard copy as well as in printout if option selected 18/11/09 - add trap in ProcessMarkers() to stop crash when switching to polar 28/12/09 - add option to drag labels in rectangular display and menu option to reset positions ??/11/09 - correct stored trace bug to allow stored traces to be hidden 01/01/10 - add trap for divide by zero in network simulation by adding 1e-99 01/01/10 - add short for reflection mode simulation of crystal ** release as v0-50 ** 08/01/10 - add option to track markers with offset value 10/01/10 - add interpolation code for markers for value crossing and linked offset markers 10/01/10 - add option to display Q in marker calculation 21/02/10 - rewrite s parameter code, ref mode etc to make ref mode work properly 01/03/10 - rewrite rfiv mode 02/04/10 - modify ABCD class to include S parameter functions as inline code 01/05/10 - modify help functions to load chm version of quickstart 01/05/10 - add new toolbar for right click main menu fucntions 01/05/10 - add warning dialogs code and make one appear on rfiv for transmission mode 01/05/10 - add calibration option to use 10 term methods with 5 term data 01/05/10 - modify parallel port scan for new ref/rfiv methods ** test build v0-51 ** 09/05/10 - modify display options so that not all rescale the display 09/05/10 - make file/open load scan data to a store 03/06/10 - modify code to clean up pending reads of ADC in USB scan and switch off DDS load during ADC read in Collect_Readings() 06/06/10 - make marker display on boundary of rectangular display area 06/06/10 - add option to hide current scan data in graphical display 06/06/10 - correct bug in hide / display stored trace data ** test build v0-52 ** 25/06/10 - add option to label rect display freq / division to set frequency axis dialogs 25/06/10 - added button to set display to current scan and add to context menu 25/06/10 - separate calibration averages per point from scan averages and move from hardware 28/06/10 - add options to set scan to file data when loaded to a store 28/06/10 - add option to set scan to current store parameters 28/06/10 - rewrite cal file load/save to add notes and define new file header block structure 01/07/10 - add per step and per division options to scan settings 01/07/10 - add full screen support ** release as 0.54 *** ??/??/?? - extend to 9 markers ??/??/?? - include MSA support (partial) ??/??/?? - split hardware type into separate dialog ??/??/?? - add stored trace auto save/load ??/??/?? - separate display & print options into separate controls ??/??/?? - add printer font control ??/??/?? - Add TDR modes ??/??/?? - Add trace average control ??/??/?? - Add marker measurements functions ??/??/?? - Add ability to save / load program configuration ??/??/?? - Add display mode toolbar ??/??/?? - Correct toolbar position control & add menu option to hide / show ** release as test build 0.60 **