LATE NEWS -- Clampfit 6.0.4
=========

At the time that this release was compiled some customers received the first
of the 266 MHz Pentium II generation of computers.  It was discovered that
Clampfit fails to start reliably on many of these computers.  A new version
of Clampfit was prepared to address this problem but there was not sufficient
time to test it adequately.

If when starting Clampfit on a 266 MHz or faster computer you receive a
"Runtime Error 200" message, please contact Axon Technical Support.  Our
Technical Support staff will be able to make arrangements to supply you with
the latest version of Clampfit that will fix this problem.


The following bugs were fixed in CLAMPFIT V6.0.1
================================================

*  Plotting to a pen plotter is now rotated correctly and centered 
   properly.  It was previously rotated 90 degrees.

*  A macro file which only contains the keyword <Macro> is processed 
   correctly.  Previously, an extra macro definition containing the 
   keyword <Shift+Up> was created.

*  Integrate and differentiate operators now add ".ms" and "/ms" 
   respectively to the units field if there is sufficient room.

*  The numeric part of the file name extension now remains at 9 if 
   that file already exists when the extension is chosen 
   automatically.  It previously wrapped to 0.

*  The main data display may be zoomed an unlimited number of times.

*  During imports of ATF files for the X-Y display a progress display 
   is shown.  Previously, delays could give the impression the 
   program had crashed.

*  In the Help viewer, <Shift+PgDn> and <Shift+PgUp> now jump to the 
   next and previous topics.

*  With 554,300 bytes free, all valid .DAT files may be read.  
   Previously, this amount of memory would be insufficient for any 
   gap-free file that contains multiple analog input channels.

*  All program functions now work with just 550K free DOS memory.

*  After separating traces vertically with Display/Vertical, during 
   Analyze/Measure the cross cursor is positioned on the data 
   correctly.  It previously behaved as if the traces had not been 
   separated.

*  Reports of free memory available for results arrays are now 
   accurate.

*  All cursor measurement files (.CM0) may now be either read or 
   rejected using X-Y import with a suitable error message.
   Previously, some invalid files caused a program crash.

*  Size of the overlay cache may be controlled by an environment 
   variable: "ClampfitCache=nnn" The default is set at 22K.

*  ATF files of unlimited size may now be read.  Previously, very 
   large files caused a program crash.

*  There is more extensive progress reporting while reading .ATF files
   into the main data buffers.

*  After data file units are changed with Display/Labels, exported 
   data and results array headings use the modified values, rather 
   than the original units.

*  The Display/Interpolate form field "Strategy for Out of bounds 
   data" now works correctly on the "Visible" setting.  Previously, 
   this setting was ignored.

*  In files with more than 1000 traces the first trace to load may be 
   specified.  Previously, this caused a program crash if the subset 
   did not start with the first trace.

*  X-Y fitting using the Chebyshev method will proceed correctly 
   when the X axis is a column from an ATF file.  Clampfit previously 
   reported "X values are not evenly spaced" even when they were.

*  Fitting using method "mixed" now works correctly. Previously, the
   message "Seeding returned Tau = 0" was incorrectly reported when Clampfit
   switched from the Chebychev to the simplex algorithm.

*  When <Home> is used to select the first item in a form field list, 
   this selection is now saved when the form is updated.

*  The Analyze/CreateBuffer/Fit menu option is now disabled when no 
   fitted curves are on display.

*  When the other buffer is created from the first using 
   Analyze/CreateBuffer or Analyze/Operators and a subset of traces 
   has been selected, the second buffer SelectTrace form field 
   defaults to "All".  Previously, the field was empty.

*  Shelling to DOS now runs the DOS shell used to start Clampfit 
   (e.g., Norton's DOS Shell NDOS.COM).  Previously, it always used 
   COMMAND.COM. 

*  <ALT+224> is now available as a valid character for labels, 
   comments, and so on.

The following bugs were fixed in CLAMPFIT V6.0.2
================================================

*  Analyze/Force now correctly uses the mean value between cursors 
   3 and 4.  
  
*  Clampex files with 16,384 points per episode may now be averaged. 
   Clampfit previously reported an incorrect error message: "Different 
   number of samples per episode" and this message was truncated.  
  
*  Clampfit now allows the user to <Esc> from the drawing phase of 
   Analyze/Measure without causing the left margin area to change color.  
  
*  Files with very fast clocks (e.g., 10 us) can now be read correctly.  
   Clampfit previously reported that the "sampling interval is not uniform".  
  
*  Results arrays may now contain information from data sampled at 
   differing clock speeds.  
  
*  Fitted curves exported in ASCII format now include data for the 
   fitted curve over the region the fit was calculated.  Previously a 
   column of zeros was exported instead.  
 
*  Macros combining cursor movement and file loading can now be used 
   with empty data buffers.  This previously caused a program crash.  
   Screen drawing is deliberately postponed when the program is busy  
   (e.g., while processing the macro).  However, cursor movement is not.  
   A macro containing cursor movement commands will therefore show the 
   cursors before the screen is drawn.  If this is not desired, an  
   early redraw may be forced using "Display/Redraw".  
  
*  In Analyze/Measure mode, NextTrace and PreviousTrace operations 
   now work correctly after Display/Select is used to select a subset 
   of traces in the file.  
  
*  After exporting fitted traces, the time axis information is now 
   retained correctly. Previously, fit and data traces were no longer 
   aligned after shelling to DOS and returning.   
 
*  Regions starting at time = 0 can now be blanked correctly.  
   Previously a blanking command (Display/Blank) would be ignored if 
   the region started exactly at t=0  (e.g., point #7 for AV1.DAT)  
  
*  Some macros that use the positions of vertical cursors without 
   allowing the cursors to first appear on the screen after program start 
   no longer cause a program crash. For example, a macro containing  
   "File/Open" then "Analyze/Adjust/Baseline" now works correctly when run 
   before any data files have been displayed.  
  
*  A factor of zero in the Analyze/DataReduction form is now treated 
   as reduction by a factor of unity (no reduction at all).  This previously 
   caused the program to crash.  
  
*  Using Analyze/Operators with an operator of (-) now allows export 
   of the results without causing a program crash.  
 
*  Analyze/CreateBuffer may now be selected if at least one fitted 
   curve is currently displayed.  Previously all traces needed to have 
   been fitted.  
  
*  Graph labels in Multi-XY display can now be changed using the 
   Display/Label form.  The default label is changed to "Mixed" if traces 
   with different units or labels are present in the Multi-XY buffer.   
   Fitting of traces in this buffer no longer considers traces that are 
   not displayed, and the "FitDisplay" toggle now works correctly.  
  
*  A trace can now be loaded (using Analyze/Expressions) into a 
   cleared buffer regardless of the length of traces previously occupying 
   the buffer.  Previously, an error message "Traces not same length" could 
   be generated even though the destination buffer was empty.  
  
*  After a file has traces fitted, and a subset of traces is displayed 
   not starting with the first trace, Display/Vertical now maintains 
   the correct offsets, so that Traces and Fits remain superimposed.  
  
*  CreateBuffer/Waveform now works correctly after a File/ClearOtherBuffer 
   operation.  Previously, this sequence would place a copy of the source 
   file's data in the other buffer, if the other buffer had not held 
   a "real" data file prior to clearing it.  

*  Clampfit now supports reading of ABF files written by AxoData (on 
   the Macintosh).   
 
*  When working with XY graphs, Clampfit now allows the user to select 
   any of the traces present in the Main X or Y Buffer (using the 
   field: X-Y/X Select/TraCe/"X trace number" or X-Y/Y Select/TraCe/
   "Y trace number").  Previously, the user could only select trace 
   numbers between 1 and 99, inclusive.

*  Analyze Expressions can now be used to create traces in a previously 
   cleared 'other' buffer without the risk of corrupting the main data 
   display.  Previously, this could happen when a subsequent call was made
   to a function that required the time array to be rebuilt (e.g., 
   Analyze/TraceAverage). 


The following bugs were fixed in CLAMPFIT V6.0.3
================================================

*  When a buffer is created using Analyze/WaveformCopy, the new buffer now
   contains an identical waveform to the source buffer.  This waveform may be
   seen in Analyze/Measure and used for X or Y trace data.  Previously the 
   waveform was displayed but could not be used in these operations.   
   
*  When using Analyze/Measure, it is now possible to toggle to trace #2 even if 
   trace #1 is not among the traces being measured.
   
*  After all available DOS memory has been used by results arrays, it is now
   possible to export the data. Previously an export file was created,
   however it was empty.
   
*  XY Graph Axis Labels can now be changed using Display/Labels in all 
   situations. Previously, if the x-axis contained a Clampex-generated user list, 
   or any other data not in ascending sequence, changed labels would not be
   displayed.

*  XY Data with a descending X-Axis may now be straight-line fitted.  Previously
   the error "Too few points to fit" would be displayed.
   
*  It is now possible to accumulate statistics into a results array, from files
   where the data units are the same but have different written forms.  
   For example, pA and picoamps are now recognized as the same unit.
   
*  When using Analyze/Measure it is now possible to toggle to the first
   displayed trace when any combination of traces have been selected for
   measurement.  Previously the first trace could not be toggled if trace #1
   was not included in the selection.
   
*  Results arrays from Chebyshev fitting sometimes contain very large or
   small numbers. Exporting such results in the ATF format previously caused a program
   crash. These now use scientific notation to express large values. 
   
*  Macros which perform analysis operations immediately after opening a data
   file now function correctly.  Previously this sequence could cause a
   program crash.
   
*  Exporting very large values from fitting results arrays now works
   correctly.  Previously this could cause a program crash.
   
*  Reading of some .AV0 files created in Fetchan previously caused a program
   crash.  All such files may now be read correctly.
   
*  XY plots where one axis is the Clampex user list no longer causes a crash.
   
*  An X-Y plot of Basic Stats versus Trace Start Time now works correctly.
   Previously the Cursor-2 X Coordinate was used in place of Start Time.
   
*  A similar problem with Spike Stats has also been corrected, however in that
   case random data was substituted for the Start Times.
   
*  Units for parameter B of the Boltzman fit were incorrect.  This parameter
   now shows no units in the heading of the Fit Results Array.
   
*  The Analyze/Expressions assignment b:=a: now correctly creates a copy of
   buffer a.  Previously an error message "Insufficient space to store all traces"
   was displayed.
   
*  Three repetitions of using FileOpen then WaveformCopy resulted in error message
   "Internal error - too many files open".  There is now no restriction on the
   number of times this sequence may be repeated.
   
*  Analyze/Operators may now be used on a buffer created using CreateWaveform
   or CreateFit. Previously this caused a Runtime error 200.
   
*  In a buffer created using the WaveformCopy function, it is now possible to
   perform a TraceAverage. Previously this caused a runtime error to occur.

*  Fitting of XY plots which encompass the extreme right edge of the graph 
   now work corectly.  Previously the error "X values not evenly spaced" 
   prevented the fit from proceeding, even when values were in fact evenly
   spaced.

The following bugs were fixed in CLAMPFIT V6.0.4
================================================

* Cursor now follows subset of traces separated by Vertical Offset.

* No more bent lines in zoomed-up straight lines.

* Allows arbitrary selection of 1000 episodes to read.

* Unexpected cursor movement going backwards has been eliminated.

* Exporting of comments now working.

* Plotting of comments now working.

* Integration over split clock.

* Reading of averaged file by highlighting selection.

* When a binary file is exported with all data set to zero, the file can
  now be successfully read by all pClamp programs.  

* Files containing a digital output waveform now display the correct
  timebase even when the analog output waveform is disabled.  

* Area calculation in Spike Statistics now includes the
  last data point in the analysis range.

* Decimation of a split-clock file when the faster interval is in the
  first part of the file now works correctly.  Previously this operation
  could cause a program crash.

* Expression functions ARSIN, ARCOS and ARTAN are now implemented in
  Analyze/Expressions (as described in the Help Documentation).  These
  functions operate in the same way as the (undocumented) functions
  ASIN, ACOS and ATAN.

* Files without a Command Waveform including Gap-free ABF files now cause
  all Waveform options to be disabled.

* The second buffer can now be used after plot/view operations on large plot
  files.  Previously this could cause a program crash especially if EMM386
  was not loaded.

* Analyze/Expressions can now be used to create new traces.  Previously this
  could cause the error message "Insufficient Disk Space to Store All traces" even though
  when there is adequate space on the disk.

* Switching the display between two buffers with diferent timescales now
  maintains the timescales for each buffer.

* Analyze/Expressions which re-use existing traces now correctly overwrite
  the existing trace rather than create new traces.


