General Notes
===================
-If you receive the error "unable to enumerate amplifiers" or "unable to load okFrontPanel.dll", try installing .NET 3.5 via Microsoft Update or Windows Update.


Release Notes
===================

v1.03
=================
- Set iadj register to 0 when switching to Current Clamp mode

v1.02
=================
- Use model cell for offset calibration of all current clamp modes

v1.01
=================
- Fix issues with Mach Duo when switching modes from voltage clamp
  to current clamp, and vice versa

v1.00
=================
- Support Mach Duo (voltage clamp and current clamp) that uses the
  Bolt daughter board
- Some support for Jet Sonic

v0.98
=================
- Can define number of slots and channels per slot in apollo_0.comp
- Example (there should be no leading whitespace in actual file):
    apollo_0.comp   (1st line is comment line)
    slots 2         (Number of slots/banks is 2)
    chans 16        (Number of channels per slot/bank is 16)

v0.97
=================
- Fix Auto Artifact update in API
- Add current clamp mode register support for Mach/Sonic Bolt in API

v0.96
=================
- Remove error check for Invalid Ramp End Value

v0.95
=================
- Add vcmd.range file support for Pico (see v0.90 notes)
- Leak and Rseries interaction is only checked if dummy file 
  "check_leak_rseries" exists
- Build 64-bit version TecellaAmp.DLL using br64.sh
- Create new DevID for Mach

v0.93
=================
- Add support for 384-channel Mach and Rio

v0.92
=================
- Streamlined Vcmd thread control
- Removed two extra pulses at end of Auto Comp
- Streamlined debug logging

v0.90
=================
- Support Vcmd Range configuration file. Filename is vcmd.range
    1st line is comment line
    2nd line is minimum value in volts
    3rd line is maximum value in volts
    4th line is LSB value in volts
      - For 10-bit DAC, (max - min) / 1023 (or 1024)
      - For 12-bit DAC, (max - min) / 4095 (or 4096)
 
- Example format (no leading spaces in actual file):
    Comment
    min -1
    max 1
    lsb 4.884e-4
  Or
    Comment
    min -1.0
    max 1.0
    lsb 4.884e-4

- At startup, will load last settings, if dummy file "use_suspend.info"
  exists in the same folder as TecellaLab.exe

v0.89
=================
- Support generic Triton with config file and comp override file.
  Rf of 10M/100M/500M/1G.  Uses "Salinas C" as device ID.

v0.88c
=================
- Fix TecellaLab, so it no longer crashes upon exit

v0.88
=================
- Fix gain telegraph for Pico

v0.87
=================
- Change timing resolution to 10us for selected Triton models in
  TecellaAmp DLL

- This change is not yet supported in TecellaLab, so one must program
  1/10 of the desired timing for these selected Triton models

v0.86
=================
- Added support for gain over-ride files for most models
    apollo_0.cfg
    jet_0.cfg
    shasta_0.cfg

- Format is the same as for Pico and TritonDuo over-ride files
  shown in earlier releases

- Added support for compensation value over-ride files for
  most files
    apollo_0.comp
    jet_0.comp
    pico2_0.comp
    shasta_0.comp
    triton_0.comp
    triton_duo_0.comp

  Format is:

    triton_0.comp (comment line)
    cfast 200
    cslow0 100
    cslow1 100
    cslow2 100
    cslow3 100
    jp_min -254
    jp_max 256
    leak 2
    rseries 10000

v0.85
=================
- Added support for Triton gain over-ride file (triton_0.cfg)
- Format is the same as for Pico and TritonPlus shown below.

v0.84
=================
- Boost settings are now linked to Rf Gain settings
- Boost is enabled by default on Pico2 for 3.3Gig and 10Gig settings
- Default settings can be over-ridden via the boost configuration file
- Format for Pico2 boost over-ride file (pico2_0.boost)
    - First line is comment line
    - Second line is number of Rf gains (default 5)
    - Subsequent lines (one per gain) are SPACE delimited with 3 fields
         Enable (0 or 1), Frequency (0 to 255), Gain (0 to 255)
         Example:
            pico2_0.boost (or any other comment)
            5
            0 128 128
            0 128 128
            0 128 128
            1 22 52
            1 70 178
- Format for Pico2 or Triton Duo gain over-ride file (pico2_0.cfg or triton_duo_0.cfg)
    - First line is comment line
    - Second line is number of Rf gains (5 for Pico, 4 for Triton Duo)
    - Subsequent lines (one per gain) are TAB delimited with 2 fields
         Display string, Rf value in exponent form
         Example:
            pico2_0.cfg (or any other comment)
            5
            10Meg	10e6
            100Meg	100e6
            1Gig	1e9
            3.3Gig	3.3e9
            10Gig	10e9
- Only check Cfast in AutoCal setup tab by default

v0.83
-----------
- Fix Pico AutoCal problem on Windows XP
- For Pico, offset the displayed Cfast value, so approximately 0pF is
  displayed after compensating source=head with nothing attached
- Speed up AutoCal

v0.82
-----------
- Fix sources for Pico2

v0.81
-----------
- Config file support added to Pico2
- Bug fixes for Pico2

v0.80
-----------
- TritonDuo: add I=0 and Iclamp offset calibration
- TritonDuo: full Vclamp/Iclamp support completed

v0.79
-----------
- TritonDuo: config file support
- TritonDuo: combine I=0 and Iclamp into single mode.
  Use IclampOn bit to switch between the two modes.

v0.78
-----------
- Add Iclamp On/Off support for custom amplifiers

v0.77
-----------
- Add dual-register source select support to enable disconnecting
  the head, and allow Imodel to be decoupled from Iclamp circuit.

v0.76
-----------
- Add support for multiple Iclamp gain values for Tritons that
  support Iclamp.  Available gain values are 10x, 30x, 120x,
  and 250x.

v0.75
-----------
- For Picos and Tritons that support Iclamp (current clamp)
  mode(s).  Allow connecting/disconnecting of Iclamp circuit
  in Iclamp modes to achieve true I=0 in any of the Iclamp
  modes.  In the future, I=0 mode will be phased out, since
  any Iclamp mode can be used in I=0 mode.

v0.74
-----------
- Support for both Vclamp and Iclamp on new Triton amplifiers
- Enabling 100% Rs compensation on Pico is more reliable

v0.73
-----------
- Pico's I=0 & Iclamp gains are now 1x, 10x, 40x, 100x, 250x
- Preliminary support for TEVC Pico

v0.72
-----------
- Support new higher bandwidth Triton+
- Fix Pico's JP range to be +/-255mV (was +/-127mV)
- Eliminate register write delays on multi-channel amplifiers

v0.69
-----------
- Enable boost on Pico 2

v0.68
-----------
- Support Pico 2 gains without having to auto-calibrate scale

v0.64
-----------
- Fix Iclamp and I=0 modes for Triton
- Sync version numbers of TecellaLab and TecellaAmp SDK/API

v0.51
-----------
- Use C:\TecellaLabData for captures and protocols folders
- AutoScale down to Rf of 30Meg

v0.50
-----------
- AutoScale all Rf gains

v0.49
-----------
- Fixes Pico Iclamp offsets
- Can choose V1 or V2 GUI

v0.47
-----------
- Fixes crash on New Protocol

v0.44
-----------
- Fixes crash on save protocol

v0.43
-----------
- Fixes Pico Rs Comp bug

v0.42b
-----------
- Pre-release for 0.43
- Fixes performance issues

v0.42
-----------
- Fixes bug for TecellaLab version 1 save tlc file if no "captures" folder present
- Save file location cannot be changed in version 1
- Save file name is yyyyMMdd_hhmmss_zzz.tlc in version 1

v0.41
-----------
- Adds support for additional amplifiers.

v0.40
-----------
- Adds support for additional amplifiers.
- Keyboard shortcuts added for graph navigation.


v0.39
-----------
- Adds support for additional amplifiers.


v0.38
-----------
- Adds support for additional amplifiers.
- Adds level-histogram feature.
- Fixes units for ABF conversion.


v0.37
-----------
- Holding level for Iclamp can be set now.
- Stimulus editor no longer does weird things after it is closed.


v0.36
-----------
- Fixes buffer overflows for Jet and Richmond when using Zap.
- Fixed Advance step scan button. 
- Allows larger ranges for the DSP filters.


v0.35
-----------
- Step Scan - beta version added. 


v0.34
-----------
- Adds Iclamp enable/disable per channel if it's supported by the amplifier.
- Reorganize channels settings so auto compensations are always shown.


v0.33
-----------
- Fixes the "Use Stimulus" control.


v0.32
-----------
- Adds support for current clamp modes.
- Adds controls to synchronize acquisition with a trigger in.
- Implements simple file playback.


v0.31
-----------
- Enables a new offset adjust mode that simultaneously adjusts the stimulus (JP) and the response.


v0.30
-----------
- Fixes crash in TLC conversion from v0.29.


v0.29
-----------
- Fixes support for Turbo mode.
- Delta segments types have been fixed, but are handled differently than before.
	- The resulting stimulus format is not compatible with the old stimulus format.
- Program options are now saved in the user's directory and transfer from version to version.
- Fixed small things about stimulus programming and tlc conversion.
- Changed flow for how to use TecellaLab.
- Added unit prefixes to lots of places.


v0.28
-----------
- Added slew rate control on a per stimulus segment basis.
- Added digital output controls on a per stimulus segment basis.


v0.27
-----------
- Add slew rate control and labels.


v0.26
-----------
- In the middle of a lot of changes.
- TLC conversion added.
- Amplifier pairing doesn't work in this version.
- TLC viewing functionality temporarily disabled removed.


v0.25
-----------
- Added basic TLC viewing functionality.


v0.24
-----------
- Added frequency boost filter.
- Added auto zero and auto offset adjust functionality.
- Filter performance improvements.


v0.23
-----------
- TLC files record correctly again.
- Improvements made to auto scale.
- Uses TecellaTLC v0.3, which is now open source.


v0.22 (Deprecated)
-----------
- WARNING: Records corrupt TLC files.
- Holding voltage range was hard coded to +-255mV, now it changes depending on the actual range of the amplifier.


v0.21 (Deprecated)
-----------
- WARNING: Records corrupt TLC files.
- Supports new amplifier configurations.
- Fixes some spurious device contention errors, however others remain.


v0.20
-----------
- First release to use the new Opal Kelly drivers v3.1.0.
 Zap duration can be controlled via a toggle button.
- Added low pass filtering functionality.
- Auto calibration and auto scale are run automatically at startup.


v0.19
-----------
- Adds RMS statistics.
- Delay between repeats takes effect immediately, instead of at next repeat.
- Digital leak feature added.

v0.18
-----------
- Implements a delay between repeats.
- Prevents/handles conflicting amplifier commands more gracefully.

v0.17
-----------
- Fixes a bug where using multiple amplifiers would crash when running Zap.

v0.16
-----------
This version introduces a new GUI with dockable windows.
New features include:
	- Selectable amplifier configurations, if supported by the amplifier.
	- Automatically combines multiple connected amplifiers so it looks like one.
	- Automatic compensations now work during repeat acquisition.
	- Improved capacitance compensation algorithm.
	- Auto calibrate/scale/artifact can now be toggled on/off.
	- Added labels to the graph so it is easier to identify the channels.
	- Stimulus can be made relative to the holding voltage.
	- Artifact removal now displays it's equivalent capacitance.
	- The Statistics window updates periodically instead of after every run.
	- Improved graphing CPU usage.
