• UK
  • US
  • Français
  • Deutsch
  • Español (precios €)
  • Portugal
  • Polski
  • 日本人
  • 中國傳統
  • 简化中国

Technical history of Spike2 version 10


Freely downloadable for version 10 users.

Date Version Summary
10/2021 10.12a Fixes
  1. When editing a script, the Edit menu Replace command could place the replacement text in the wrong place.
10/2021 10.12 New
  1. The Copy Cluster Values command writes extra measures of clustering quality (Lratio and Isolation distance).
  2. You can double-click any channel in a time view to zoom it (maximize). Previously only channels with a Y axis could zoom.
  3. If an output sequence fails to load, the error message box now includes the source line that caused the failure.
  4. The Cursor menu Display all command now displays a little data before the first and after the last cursor to make them easier to see and to make space for any cursor label. If you hold down the Ctrl key, the command considers only active cursors when calculating the new x range.
  5. There are new options in the Measurements to XY views and to Data channels dialogs to allow cursor adjustment if a cursor seek operation fails or if the Ignore Cursor 0 step option is triggered.
  6. The Cursor adjustment dialog that can appear during Measurements to XY views and to Data channels has new options to fetch vertical cursors that failed to step and to display all the active vertical cursors.
  7. Improvements to Copy as Text and Export as Text for time view channels: Level event channels output the level at each transition, WaveMark channels include the number of traces and list multiple traces in columns, the SUMMARY output section now lists more information for the channels and uses the same format for every channel.
  8. The Copy for Spreadsheet and Export As Spreadsheet command for Level event channels has been changed to show high levels as 1 and low levels as 0. Previously it displayed the number of edges in each time range, which was not very useful.
  9. There is a new Edit menu Preferences option in the Compatibility tab to revert the Copy/Export as Text and Copy/Export As Spreadsheet changes to the old format.
  10. The LastTime(), NextTime(), MarkEdit(), MemSetItem() and MemGetItem() script commands allow the codes%[] array argument to have size 1-4 for codes and 5 to access the codes and the extra 32-bit integer value associated with each marker in a 64-bit smrx file.
  11. The MemSetItem() script command can now report the index of the first item at or after a time.
  12. The ArrSort() script command now accepts zero length arrays (which does nothing) to save the user testing for zero length to avoid a script error before calling.
  13. The ChanList() script command now allows a zero length array.
  14. The ArrFilt() script command runs significantly faster (takes around half the time with large arrays).
  15. Unmodified array arguments of the ArrStats(), ArrSum(), EditCopy(), PlayWaveCopy(), SampleWaveMark() script commands are now const.
  16. The Yield() script command can return the current allow% state and preserves it if allow% is negative.
  17. The ArrStats() and ArrSum() script commands can set alternative (slower) algorithms for more accurate summation.
  18. The Len() script command can report the number of elements in a multi-dimensional array.
  19. The MarkEdit() script command can modify the codes of Level event channels stored in 64-bit smrx files (as they are stored as Marker data).
Fixes
  1. Level event channels sampled by a Micro1401-4 inverted the input data. You can use the InvertLev.s2s script in the Documents/Spike10/Scripts folder to invert them. Backup your files before running the script as it modifies the data.
  2. When using the Measurements to XY views and to Data channels commands with a curve fit and the User check positions option set, the displayed fit line was for the previous step.
  3. The Cursor Regions and Cursor Values dialog boxes did not record changes to check boxes, radio buttons or mode.
  4. The Sampling Configuration dialog Automation tab warned you if you browsed to a non-writeable folder, but still set it.
  5. In the Output sequencer text editor, the DIGPS, DIGPC and DIGPBR sequencer instructions did not highlight.
  6. In the Output sequencer, a label without white space after the colon was treated as an error, for example "Label:DAC 0,1".
  7. The script compiler did not flag an error if you used resize on a const array.
  8. The script compiler gave an error if a resize statement was not terminated by a semicolon, so var y[2]; if 1 then resize y[3] endif was not allowed.
  9. The ArrConv(), ArrCWT(), ArrDot(), ArrFilt(), ArrHist(), ArrSpline() and SerialWrite() script commands did not accept const arrays.
  10. The documentation of the following script commands did not list unmodified array arguments as const: ArrRange(), ChanWriteWave(), FileTimeDateSet(), FIRResponse(), GrdSet(), MarkSet(), MatLabPut(), PolyEval(), PolyRoot(), SSTempSet(), ToolbarEnable().
  11. The View menu Multimedia files command failed to open .mp4 files if they held audio only (no video).
  12. In the Spike shape dialogs the zoom effect when you clicked in the data area to start dragging the current spike to a template was too fast to be visible.
  13. Using the HCursor() script command to set a Spike shape dialog cursor value beyond the y axis range could set a negated version of the position.
  14. The text importer did not save individual channel configurations in a valid format.
  15. Stepping backwards by a data point in a virtual channel (for example with the LastTime() script command or an active cursor search in Data points mode) stepped by two data points.
  16. The Grid view default column titles skipped over the AA-AZ series when more than 26 columns were set. The sequence was A-Z, BA-BZ, CA-CZ and so on and should have been A-Z, AA-AZ, BA-BZ...
  17. Copy as Text of WaveMark channels included an extra separator between the Units and the Rate.
  18. If you wrote data to a non-waveform channel (for example with the ChanSave() script command), then overwrote it (allowed with wave-based channels but not event-based channels), Spike2 attempted to write the data, resulting in a corrupted data channel.
Changes
  1. In a Time view, the Copy as Text output format did not match the documentation. We have revised it to make the output more regular (and useful) and rewritten the documentation. If you exported data as text you may need to revise your import method or use the new Edit menu Preferences->Compatibility option to output the old format.
08/2021 10.11a Fixes
    A WaveMark data event created by the New WaveMark dialog could have up to half the waveform replaced by zeros.
07/2021 10.11 New
  1. The SerialOpen() script command can now get a list of available COM ports.
  2. There are new script functions PolyEval() to evaluate polynomials and PolyRoot() to factor (find the roots) of polynomials.
  3. The FIR and IIR filter dialogs now use m1, v1 as the channel number for memory and virtual channels rather than 2001, 4001.
  4. The Process() and ProcessAll() script commands now accept a negative start time, which allows measurement commands to find the first item regardless of the minimum step size.
  5. The new EditImageLoad() script command loads an image file to the clipboard.
  6. You can append tod to a time in a dialog expression to set a time in Time of Day axis mode, (see Fixes 8, below).
  7. The RasterSet() script command now accepts a zero sized data array to set a raster line with no data.
  8. The default (what happens when you press the Enter key) when querying if OK to delete a newly-sampled file or lose memory channels on file close, has been changed from Yes to No to prevent accidental loss of data.
Fixes
  1. The context (right click) menu item to set a vertical cursor position did not trigger an active cursor search.
  2. It was possible for graphical sequencer local labels to cause code generation errors when operations fell on consecutive instructions.
  3. The BinomialC(n%, k%) script command did not allow n% or k% to be 0.
  4. The ChanKey(chan%, get%) script command generated an error if get% was not zero.
  5. In the non-PCA Clustering dialogs (for example, Cluster on Measurements), the command to set the Z axis to time could clear all filter codes (so coloured dots became black).
  6. The ChanSave() script command changed the mouse pointer to the Wait (hourglass) cursor. This caused unpleasant cursor flashing if the command was used in a loop. Spike2 no longer does this. You can use the flags% argument to display a progress dialog for slow operations.
  7. If the EditImageSave() script function failed, it stopped the script; it should have returned an error code.
  8. In Time of Day axis mode, the Cursor Position dialog always treated the entered value as time of day, so expressions such as MaxTime() generated nonsensical results. You can now use the tod suffix to force a time to be interpreted as a time of day.
  9. In a script, passing a zero length sub-array to a function as array[1:0] was allowed, but using array[0:0] was not.
Changes
  1. The Cursor fixed flag (F after the cursor number) displays only if the cursor is fixed. The other flags set by CursorFlags() to disable context menu options do not show the F.
05/2021 10.10a Fixes
  1. There was an unnecessary 'Are you sure?' query when closing a newly-sampled file longer than 5 seconds that had already been saved.
05/2021 10.10 New
  1. The text editor can now highlight the line containing the text caret and ‘words’ that match the current selection.
  2. The ChanKey() script command has a new flags% option to position the key so it overhangs the visible view area.
  3. Sampling supports Talker specification version 5, which has potentially more efficient data transfers.
  4. The context (right-click) menu for an overdrawn channel can be obtained by right-clicking on the channel number.
  5. S2Video has a new Configuration option to include the ffdshow Raw Video filter that allows some cameras to connect.
  6. You can prevent interactive positioning of vertical cursors from the right-click cursor context menu with the Fix position command.
  7. The new CursorFlags() script command gives you more control over interactive use of vertical cursors.
  8. There is a new file importer for xdf files (LabRecorder, LabStreamingLayer).
  9. The IIR and FIR filter dialogs cope better with NaN values in RealWave channels.
  10. The online Measure to channel command can send output to the Keyboard marker channel that can trigger writing to disk, the output sequencer and arbitrary waveform output. The MeasureToChan() and MeasureX() script commands are modified to allow this.
  11. Command recording now attempts to record online processes when you open a file for sampling.
  12. Spike2 no longer queries attempts to abort sampling or close a newly-sampled data file without saving it if the file is less than 5 seconds long.
  13. Changing between text Find and Replace dialogs preserves the search text. The Find what field of these dialogs updates in a less surprising way when the dialog activates.
  14. We no longer allow path separator characters (for example ‘/’ and ‘\’) in the File name template field of the Automation dialog as they cause unexpected file names and extra file folders.
  15. The Graphical sequence editor has been updated for smoother dragging of pulses and reduced flicker.
Fixes
  1. It was possible for user-defined cursor labels that displayed differences of cursor positions to display the wrong value when cursors moved.
  2. In a Time view with a WaveMark channel drawn in Overdraw WM mode and a lot of data, such that the display took more than 2 seconds to update, a screen redraw could repeat many times before it finished.
  3. Recording file import generated a FileConvert$(...) script command with a missing comma.
  4. Several built-in script commands did not have tooltip text set.
  5. Recording the IIRApply() script command always set the eTime argument to 0 or 1.
  6. In the Graphical sequence editor, Arbitrary waveform items could vanish from the display when double-clicking or when selecting them in the control track.
  7. Export of XY data to MATLAB exported multiple copies of the first XY data point.
Changes
  1. NaN and Infinity values in a RealWave channel (from a Talker or an Imported file) caused problems throughout Spike2 that manifested as drawing glitches, strange axis ranges in filtering dialogs and peculiar results from digital filters. To avoid this, Spike2 now scans all data read from RealWave channels and replaces NaN values with 0.0 and infinities with half the maximum allowed value (to allow headroom for arithmetic). You can remove these values (leaving gaps in the data) by adding the Skip NaN channel process. You can fill the resulting gaps with the Fill Gaps channel process.
  2. Previously, recording opening a data file for sampling wrote a script that relied on the current sampling configuration to provide any processes associated with sampling. We now disable the use of the current configuration and instead attempt to generate the same processes with script commands. If you prefer the previous state, change the second argument to the recorded FileNew(0,1) command from 1 to 3 and delete the commands that set up processing that follow.
04/2021 10.09c Fixes
  1. If an installation of Spike2 had no LAST.s2cx or DEFAULT.s2cx configuration file, and the Tip of the Day was turned off, Spike2 started up with the main window hidden.
03/2021 10.09b New
  1. The Channel Image dialog for a time view warns you if you set Fill background mode when sampling or Rerunning that the bitmap will not display.
  2. Script debug windows (Local, Global, Watch and Call stack) are moved to visible positions when activated; previously if you moved them off the screen they were difficult to find.
  3. You can change the background and foreground colours of the Graphical sequencer editor.
Fixes
  1. If you selected All Channels when exporting to a MatLab file, the export failed.
  2. Event channel searches (as in Active cursors, Measurements to XY or to Measurements to a data channel) in other than Data points or Expression mode could hang up.
  3. A Measurements to a data channel process with more than one measurement per iteration generated a spurious error when read from a .s2cx configuration file.
  4. When restoring the Rate and Mean frequency drawing mode from a resource file, the Time width could be increased by 1 clock tick and very small (nonsensical) values were not rejected.
  5. The Edit menu Preferences option, Fill cursor labels, was not remembered between Spike2 sessions.
  6. Some Font selection dialogs did not set the Font Style field to match the initial font style (Bold, Italic, Regular...).
02/2021 10.09a New
  1. There is a new virtual channel function TEvt() to generate the time since the last event on a channel.
  2. The Virtual channel Copy waveform or Level event dialog has an extra field to allow trace selection with multi-trace WaveMark channels.
  3. The FileName$() command has a new option to use a text string as the file name source.
  4. When drawing Result view rasters, the symbols are drawn scaled by the dot size setting (they were very small on high resolution displays).
Fixes
  1. The SampleCalibrate() script command returned double the scale factor that it set when the 1401 was set for 10 Volt input range.
  2. Active cursor Peak search with Amplitude set to 0 could detect two consecutive points with the same data value as a peak.
  3. Drawing a zoomed in Waveform channel could result in data off the bottom of the screen appearing on screen.
  4. Adding and deleting Memory channel Level event items did not cause the display to redraw to the end.
  5. If the Windows menu Close All command generated a dialog to warn that closing would lose data, the Cancel option caused the dialog to reappear. It now cancels the operation.
  6. In version 10.09 with Active cursors, the Expression cursor mode did not iterate in the Measure to XY and Measure to Channel commands.
  7. In a Result view, the Raster Draw mode settings Sweeps, Sort and Symbols were not saved and restored when the view was saved to a file.
02/2021 10.09 New
  1. In the Sampling Configuration, you can apply a real-time channel Process (for example filter or rectify) to a Talker-based Waveform or RealWave channel.
  2. In the Sampling Configuration, you can Derive a channel from a Talker-based Waveform or RealWave channel.
  3. The Sampling Configuration Channel dialog for 1401-based channels now checks changes to numeric fields as you type.
  4. You can use place holders (for example %c for the channel number) in the channel Title and channel Comment fields in the sampling configuration dialog and script commands.
  5. Sampled TextMark channels that use a COM port can use any port on the computer, not just those in the range COM1 to COM19.
  6. The Sampling Configuration has a new Script tab to set a script that runs at preset times during sampling. There is a new SampleScript() script command.
  7. The Sampling Configuration Mode tab can now set scripts that are run when a trigger event occurs or at the start and end of each cycle of Timed sampling.
  8. The SampleTrigger() and SampleMode() script commands are extended to support scripts that run in response to sampling events.
  9. The SampleHandle() script command can now report the last sampled (and not yet closed) file.
  10. The SampleRepeats() script command can now report the repeats completed and the current file number.
  11. The File Export dialog for data files has been modified so the As Set check box also applies to the list of ranges.
  12. WindowTitle$() script command now has a flags% argument.
Fixes
  1. The Create New Buffer dialog allowed you to create a WaveMark channel with fewer than the minimum (6) data points.
  2. The MinMax() script command used to search a WaveMark channel with n traces could start the search (n-1) times the spike duration too soon.
  3. The SampleWaveMark() script command did not allow you to set multi-trace channels with an odd number of data points.
  4. If there was a disk problem when updating Talker licence information, Spike2 could crash.
  5. The Sampling Configuration Mode tab in Triggered mode allowed you to select Talker waveforms as the trigger channel.
  6. The File Export dialog progress indicator failed when multiple output ranges were set.
  7. The script FileOpen(name$, 6) command to load a configuration file could return 0 instead of an error code if there was a problem with the file or the file contents.
  8. When editing text in a grid view cell, the Del key did not delete characters to the right of the text caret.
  9. The Analysis menu Linear Predict... command in a Time view had no effect.
  10. Arbitrary waveform output to a Micro1401-4 with the 4 DACs option could not use more than 2 DACs at the same time.
  11. Active cursor Peak search with Amplitude set to 0 could detect two consecutive points with the same data value as a peak.
  12. Drawing a highly magnified Waveform channel could result in data off the bottom of the screen appearing on screen.
  13. Adding and deleting Memory channel Level event items did not cause the display to redraw to the end.
11/2020 10.08 New
  1. The new Analysis menu Linear Predict... command will replace short artifacts in Time view waveform data and Result view channels with estimations based on the previous and following data. The script language equivalent is ChanLinPred().
  2. The vertical and horizontal cursors in Time, Result and XY views have a new option to display the position as the difference with another cursor.
  3. The About Spike2 dialog displays Sync after the 1401 monitor revision if the connected 1401 is time synchronized to a different 1401.
  4. In the script editor, the Functions list box displays the name of the user-defined Func or Proc that contains the text caret.
  5. There is a new ChanZoom() script command to control and report the zoomed state of a Time or Result view.
  6. The SampleSeqStep() script command now has access to the keys, comments and display strings associated with text and graphical output sequencer steps.
  7. In the Sampling Configuration, you can apply a channel Process to a RealWave source channel in addition to a Waveform channel.
Fixes
  1. The Edit toolbar was not added to the list of script-controllable windows in Spike2 version 10; App(4) always returned 0.
  2. If you ran a script using the script editor Run button and the script created views but never set a front view, it was possible that the Run button needed to be clicked twice to run the script again.
  3. Using the BReadSize(8,...) or BWriteSize(8,...) script commands with an integer array argument could cause Spike2 to crash.
  4. Using the SampleTrigger() script command variant (added at version 10.06) to set a trigger code as a string stopped the script with an error.
  5. When used with a Micro3, Micro4, Power2 or Power3, the PlayWaveStatus$() script command pos% argument reported the position in bytes, not points. This error was introduced in Spike2 version 7. The Micro2 and Power1 were not affected.
  6. Recording ProcessGate() in fixed duration mode from the Gate Settings dialog reversed the pre and len arguments.
  7. In a script, -1 >> 64 evaluated to 0; it should evaluate to -1.
  8. When sampling or rerunning with a visible Level event channel in Line drawing mode could cause the mouse pointer to flicker.
  9. When sampling or rerunning, it was possible to cause Spike2 to hang up in Measure to Chan processing in Automatic mode with Update window every set to 0.0 when searching a Waveform channel with a slow sample rate.
  10. In version 10.07, when Interact() was used in a script loop that did not change the active view, every second button click on the Interact bar was ignored.
  11. If you have both a CED1902 and a Micro1401-4, the Conditioner setup reported a spurious "illegal arguments" error after setting up the 1902.
  12. The EDF importer now supports asymmetrically-scaled integer data; previously such channels had incorrect offsets.
09/2020 10.07 New
  1. The S2Video program has a new option to set frame time stamps.
  2. Reviewing MP4 video files now supports frame accurate stepping.
  3. You can now include channels without a y axis in a group (but they cannot be the group head). This allows the use of a channel drawn in State mode to colour the background of other channels.
  4. There is a new script command ArrRev() that reverses the elements of an array.
  5. The XY Draw mode dialog now allows changes to the channel sort mode.
  6. You can display axes in the data area of Time, Result and XY views. This is expected to be used in XY views mainly for publication purposes.
  7. You can change the track labels in the Graphical Sequence Editor.
  8. The Sampling Configuration dialog, Channels Tab supports Ctrl+Copy As Text to copy Tab-separated columns of data.
  9. The Sampling Configuration dialog title is no longer cleared by sampling (to preserve the name of the configuration file).
  10. The Memory buffer Import channel dialog has improved error reporting.
  11. The clickable area that clears selected channels in Time and Result views now has a tooltip.
  12. The Cluster on Measurements setup dialog can copy and log the measurement configuration as text.
  13. The Sampling Configuration now tracks the last .s2cx file that is not LAST.s2cx or DEFAULT.s2cx. The SampleConfig$() script command has a new option to access it.
  14. In a script, you can use DlgValue$() to set X Value fields as text, for example "Cursor(1)". Previously this displayed the position of cursor 1 as a number.
  15. The Export As dialog for data files now updates the dialog fields when you click on a defined range and detects errors in the channel list and time range.
  16. The Help includes information on configuring the Xvid video codec.
Fixes
  1. The XY view y axis title was not restored when an XY file opened.
  2. The SampleConfig$(3) script command put the TextMark channel comment in the wrong column.
  3. The Special channels field of the Sampling Configuration Set maximum channels dialog was always set to 0 when the dialog opened.
  4. A sampling configuration with a missing output sequencer file generated 3 message boxes, now it generates one.
  5. The Mean in X and SD in X measurements in a Result view gave results in pixels, not x axis units.
  6. The documentation incorrectly listed the dialog expressions CXn as CnX (n = 0-9).
  7. Recording dialogs with X axis positions did not translate CXn to CursorX(n).
  8. Recording Ctrl+A (or a click below the channel numbers) in Time and Result views generated code that did not work.
  9. In an XY view, the Y Axis Range dialog now treats All channels as all visible channels to match Time and Result views.
  10. The FileList() script command did not work for type% set to 12 (XY files) and 17 (Grid files).
  11. In a script, a user-defined function with a non-array argument could accept an array in some circumstances.
  12. If the Line thickness of axes was set to 1 pixel in the Edit menu Preferences Display tab, it was possible for axis scrolling to leave pixel dust behind.
  13. Overdrawn channels drew the background too often resulting in a corrupted display during sideways scroll when a grid was turned on or the top overdrawn channel had the background colour set to override the view colour.
  14. Using FiltApply(-1,...) before creating the temporary filter would crash Spike2.
  15. Changing options in the S2Video Configuration could cause the video display to vanish.
07/2020 10.06 New
  1. Print screen supports Cursor Regions and Cursor Values dialogs and uses a proportional font for window titles.
  2. The Sampling configuration dialog Mode tab has a new option to control the s2video application Slow frame rate when not writing data to disk. The script language equivalent is the new SampleFPS() script command.
  3. The output sequencer can now play trains of digital pulses at the same time as other sequencer operations.
  4. In the Sampling configuration dialog Mode tab, Triggered mode allows you to specify a complete marker filter. Previously you could choose to match a single code. The SampleTrigger() script command is extended to match.
  5. The Sampling configuration dialog Mode tab now checks the fields as you type and lists problems at the bottom of the page.
  6. The Marker Filter dialog now supports specifying the marker filter as text, which can be a lot quicker than selecting check boxes when a range of values is required. You can also Copy and Paste filter specifications using the clipboard.
  7. The MarkMask() script command is extended to set and get marker filters as text.
  8. The Draw Mode dialog now reports errors in editable fields and disables the OK and Draw buttons on bad values.
  9. The Grid view has extra context menu options: Grid size, Fit to Grid, Cut, Copy and Paste.
  10. The Cursor Regions and Cursor Values dialogs record settings, selections and edit copy operations.
  11. The Cursor Regions and Cursor Values dialogs have improved interactive cell selection and support the script commands: Selection(), Selection$(), MoveTo(), MoveBy().
  12. Modeless dialogs opened from right-click context menus, for example the Draw Mode dialog, now open next to the mouse pointer.
  13. The GrdColourGet() script command now reports the displayed cell colour, even if not overridden.
  14. In a script, the Toolbar() and Interact() bars no longer grab the input focus when you click on one of the bar buttons. This is useful during sampling when you want keyboard input to go to the keyboard Marker channel.
  15. We have increased the maximum length of a script language string variable from 1,000,000 to 100,000,000 characters.
  16. In the Clustering dialogs, the INTH dialog now remembers its position.
  17. If Spike2 loads a sampling configuration file during startup (...\DEFAULT.s2cx or ...\LAST.s2cx), it writes the name to the Log view.
  18. There are new High DPI settings in the Edit menu Display Preferences.
  19. The EDF importer now recognises more types of BDF file. Previously, some specifications were unrecognised and the importer would revert to importing the data as though it were 16 bits long not 24, leading to garbage data.
  20. The MMFrame() script command is now supported for MP4 files with additional Key frame options.
Fixes
  1. In the Output sequencer with a Micro4, the DELAY 0 instruction caused a very long delay (more than 4 billion steps); it should have caused no delay.
  2. Recording of actions that involve changes of the current view did not always select the new view (for example when opening the Cursor dialogs).
  3. An open and modified Grid view could grab the input focus once every 5 minutes.
  4. Named Grid views were always saved on close, even when the user asked for them not to be saved.
  5. When a Grid was loaded from a .s2gx file, the current View and Application colours were not applied and the font used to edit grid cells was not updated.
  6. When the current view was a Grid or an Info window, the Global Debug window displayed the window type as "Unknown".
  7. Using the Grid view Fit to Grid command on a maximized Grid view changed the view size, but left it maximized.
  8. In the Graphical output sequencer, simultaneous digital outputs and digital Marker inputs were not sequenced correctly.
  9. In the Graphical output sequencer, in the Section settings, changing the section comment did not enable the OK button to apply the change.
  10. In the Cursor Values and Cursor Regions dialogs, the first radio button (for C0 and C0-C1) had no effect.
  11. The documentation of the ToolbarMouse() script command was incorrect for the Move%() call-back vh% and ch% arguments.
  12. The Sample Bar dialog Add... button did not read the label and comment stored in the added file and would accept old-format .s2c files that cannot be used in modern versions of Spike2.
  13. In Spike2 version 10.05, in a user-defined dialog, the default button (activated by the Enter key) was Cancel, not OK.
  14. In a Grid view, the F1 key did not open the on-line Help.
  15. In Spike2 version 10.05, the DrawMode dialog Data Index field for RealMark data had no effect.
  16. Time views ended one pixel before the time of the very last item.
  17. Arbitrary waveform output to the Power3A did not work except at very slow rates.
05/2020 10.05 New
  1. There is a new Time view drawing mode, Interval, that displays the intervals between events.
  2. You can set cursor labels to draw with a non-transparent background, which makes them easier to read against a 'busy' waveform background.
  3. Grid views now have colours that can be be set by view or by cell. There are new script commands: GrdColourSet() and GrdColourGet() and extensions to ViewColourSet() and ViewColourGet().
  4. Recording of colour changes now includes the name of the changed item.
  5. Grid views can be resized interactively and you can set the grid column headings interactively.
  6. Running the Principal Component Analysis dialog out of memory with a huge number of spikes now gives a specific reason rather than a generic error.
  7. In the Help menu About Spike2 dialog, the Copy command now includes the Spike2 installation folder in the information copied to the clipboard.
  8. In the script language, anywhere a channel specifier can be used, you can now use -6 to mean unselected channels.
  9. The horizontal cursor and vertical cursor active cursor mode dialogs now have buttons to swap to the other active cursor mode dialog.
  10. The first time you use the Set Marker Codes dialog it reminds you about the Ctrl+Alt+Drag operation to select spikes.
  11. You can now save data to Matlab files with names that include non-ASCII characters.
  12. The PlayWavePoints() script command can now report the maximum points in an area.
  13. The new FileStatus() script command can report file system object properties, such as read-only, directory, hidden.
  14. The new DrawModeCopy() script command applies the drawing mode of one channel in a time or result view to a list of other channels.
  15. The new Replace$() script command generates a string replacing all occurrences of a sub-string.
  16. The TDT importer now reports missing .sev files and does the best it can with the ones it finds; previously it gave up if files were missing.
  17. You can use the ToolbarEnable() script command to detect if an Idle function is set for the toolbar and to count the number of enabled buttons.
  18. User-defined dialog slider controls behave better when set to integer mode and arrow keys are used.
  19. The DlgValue() script command can now change the allowed range of real and integer fields in a user-defined dialog.
  20. The script Locals and Objects debug windows have a new View menu option to show only the name of variables, omitting the Proc/Func or Object name, to reduce screen clutter.
Fixes
  1. You could crash Spike2 with a script that used an Object type name where an Object variable name was expected.
  2. The Channel Colours dialog could get confused when the new options to show only Visible or Selected channels were used.
  3. Recording actions that included user-defined text did not detect embedded " and \ characters in all cases.
  4. Setting time view channel units for a waveform drawn as a Sonogram or a RealMark channel drawn as frequency no longer changes the displayed units away from 'Hz'.
  5. Sampling and Rerun of an Event channel drawn in Mean Frequency mode filled the 'not yet reached' time area with a line at zero. This area is now left empty to match all other drawing modes.
  6. When cursors were more than 1 pixel wide, it was possible for them to leave 'pixel dust' when dragging items such as the sonogram key.
  7. Every time you started Spike2 it displayed the Help page for a program update.
  8. The channel number of grouped channels is drawn in the primary colour of the channel; changing the channel primary colour did not redraw the channel number.
  9. Using the New Horizontal cursor button added a cursor to lowest displayed channel with a y axis, even when it was a group member (when the cursor should have been hidden), resulting in an inconsistent visible state. Now, we add the cursor to the head channel of the group.
  10. You could not open the Active Horizontal cursor mode dialog if horizontal cursor 1 did not exist.
  11. The Calibration dialog and the Set Marker Codes dialogs did not display error messages.
  12. The Sampling configuration dialog did not display the Scale and Offset values for RealWave and Derived channels.
  13. It was possible for Derived channels to display the wrong sample rate in the Sampling configuration dialog. They now display the down-sample ratio.
  14. The Derived channels setup dialog did not save changes to the channel Units, Scale or Offset fields.
  15. The script command SampleProcess(chan%,-1) reported 'Bad argument count'.
  16. If you set a WaveMark with multiple traces and inputs that did not exist in the Sampling configuration, this caused an unhelpful generic '1401 command error'.
  17. Recording sampling using derived channels or waveform channels with online processes did not work.
  18. Recording sampling to a new 32-bit .smr file recorded as sampling to a 64-bit .smrx file unless more than 32 channels were set.
  19. Recording sampling to a new data file did not record negative de-bounce periods.
  20. Recording sampling a multi-trace WaveMark channel with non-sequential ports recorded as sequential ports.
  21. Recording sampling with Triggering set to Not triggered did not record; Use previous trigger mode was used.
  22. When recording the Marker filter dialog, the MarkTrace() script command set the wrong channel and appeared for non-WaveMark channels.
  23. The MousePointer() script command did not return 0 when used to load a .cur or .ani cursor image file that did not exist.
  24. InfoRun(2) reset the Info window timer, but set it running when it should have stopped.
  25. When the LastTime() and NextTime() script commands were used with multi-trace WaveMark data and the fourth argument was a vector, the returned data was always the first trace, not the trace set by MarkTrace().
  26. The return value of the ToolbarEnable(n%) script command when button n% did not exist was 0, not -1 as documented.
  27. In a grid view, the XHigh() script command returned 0 if there was unused space at the right-hand side of the grid view, it now returns the number of columns.
  28. Recording creation of a grid view did not set the grid size.
  29. The ViewColourSet() and ViewColourGet() script commands generated 'View is wrong type' errors when an Info window was the current view.
  30. The DrawMode(), MinMax() and ChanValue() script commands ignored the edge% argument in Time view drawing modes 11 and 12 (the BPM modes).
  31. Spike2 could crash when attempting to update a corrupt resource file.
  32. Spike2 took a long time to read resource files holding very large (many MB) PlayWave memory areas.
  33. When debugging a script that uses Objects, there were several problems displaying objects and their members.
  34. If you scrolled a Time view that contained a WaveMark channel drawn in OverdrawWM mode and a Sonogram with a Key, the Key was scrolled and then redrawn, resulting in a mess.
Changes
  1. In Gated processing mode, with User check positions set, the Yes to All and Cancel buttons now apply to the entire process request, not to each gate condition.
03/2020 10.04 New
  1. Binsize() added as a Dialog expression.
  2. The Process dialog tracks changes to start and end time fields and reports errors.
  3. New Reverse$() script command to reverse a string.
Fixes
  1. Recording of Measurements to a data channel was incorrect if you returned to the Process Settings... dialog and processed the data again.
  2. Recording of the Process Gate dialog reversed two arguments in variable gate mode.
  3. The Process Gate dialog and ProcessGate() script command were missing Help links.
  4. A sampling configuration file or a Resource file with a Process that used variable length gating would not read. There is a script (Fixs2cs.s2s) to fix the file.
  5. The ChanFit() script command variant used with a single argument generated a "Wrong number of arguments" error.
  6. Saving the sampling configuration did not delete existing Processes before saving the current Processes. This could cause the number of sampling Processes to double on each save.
  7. Most file importers set the imported file time resolution to the closest value to 1 microsecond that is compatible with the imported data. The ADInstruments data importer set the file time resolution to the maximum value that matched the data, which was often inconveniently large.
03/2020 10.03 New
  1. Measurements to a RealMark channel can now be of more than one item per channel, both interactively and when using the script language.
  2. Play wave output links from the keyboard and playwave toolbar can be disabled from the Sampling configuration Play waveform Tab and by the new PlayWaveCtrl() script command.
  3. The SampleKey() script command has a new optional argument to prevent triggering of the output sequencer and play waveform system.
  4. User input errors in the X Axis Range dialog now have an explanatory message in addition to disabling the Draw button. Errors in all fields are detected.
  5. The Change Colours dialog for data channels allows you to work with All, Visible or Selected channels.
  6. The FiltApply() script command can now request a display of a progress bar for a filter process that takes more than a second or so. Filter operations now display the ‘wait’ cursor to indicate that the operation could take a while.
  7. The ChanSave() script command can now display a progress bar if the operation take more than a second or so.
  8. The new Listener() script command counts the number of listener devices (copies of s2video) that are running.
Fixes
  1. You could not pass a func or a proc name as an argument to a member function of an object.
  2. ChanTitle$() did not use the index% argument when reading back titles from a RealMark channel.
  3. Setting the Data field of the memory buffer Add Items dialog to - (minus sign) generated an unhelpful message box and marker code input was not checked. The items in this dialog are now checked as you type; illegal input disables the Add button.
  4. The Window menu drop down list of file names removed '&' characters from the list of file names.
  5. Recording the cursor 0 link button in the multimedia review window placed the comment marker in the wrong position.
  6. Measurement to XY and Measurement to channel could not use the User entered value measurement mode as it always generated a "X/Y Time is invalid" error.
  7. Progress dialogs displayed for time-consuming operations sometimes required more than one click on the Cancel button to interrupt them.
01/2020 10.02 New
  1. The start of sampling is more robust, especially when using a script that did not release 'idle' time after SampleStart().
  2. Spike2 attempts to create any missing special folders on start up. This may help avoid privilege-related errors on systems used with multiple accounts. Warnings are sent to the log view on start up if missing folders could not be created.
  3. FilePath$(-6) added to report the Program Data file path.
  4. The Help menu About Spike2 dialog Copy button copies file path information for diagnostic purposes.
  5. You are now warned if the graphical sequencer output could not be saved as the S2PSEQ$.PLS file for sampling.
  6. Vertical and horizontal Cursor Label dialogs now have an Apply button to apply changes and leave the dialog open.
  7. ExportChanList() has a new flag% value (4) to display a progress bar during file export.
  8. Hovering the mouse pointer over a channel number displays the channel tool tip, which is useful with overdrawn channels.
  9. The BIOPAC importer was modified to cope with old format files with missing data at the end.
  10. The s2video program simplifies use of the xvid codec by presetting a required Registry setting.
  11. U1401Open() can now report which 1401 was opened when unit 0 (first available) was requested.
  12. FileList() supports a type% value of 17 for grid views.
  13. FileName$() can now report multi-media window file names.
  14. The PlayWaveCopy() and PlayWaveLink$() script commands can now be used when a 1401 is waiting for a trigger to start sampling.
  15. The ChanProcessAdd() documentation now includes Debounce (PType%=12) and also describes the default argument values for all processes.
  16. The ChanColourSet() script command can now set multiple channels with one call.
  17. MMPosition() is extended to report the cursor 0 link state and if a commanded seek or run to operation has completed.
Fixes
  1. If sampling channels used for 1401 input were not consecutive from 1, the Edit WaveMark on-line spike shape dialogs did not adjust any values or display non-triggered data.
  2. The display of background data in on-line spike shape dialogs could vanish if you changed channel.
  3. In the output sequencer, the Format command converted the "-" character in "WAVEGO code,-,OptLab" to a space, which did not compile.
  4. In the Draw mode dialog, recording RealMark data drawn as a waveform in Dots mode recorded the dot size incorrectly.
  5. If you used the PlayWaveCopy(), PlayWaveKey2$() or PlayWavePoints() script commands when no 1401 was open for sampling, the script stopped with "Interpreter error (call CED): -581". These now generate the correct error message.
  6. When two or more Spike sorting windows were open and resized differently, changing channels could lead to a muddled display.
  7. When multiple waveform channels were grouped with locked axes and offsets, the channel spacing could become inaccurate.
  8. In an XY view, the ChanColourGet() script command did not get the background override (item% = 0) correctly.
  9. We have disabled the Alt+numeric keypad Up/Down keys that moved the current selection up and down one line; it moved the selected lines but when you released Alt it replaced the moved lines with whatever character the Alt+keypad presses had composed. Use Alt+Up/Down (non-keypad) keys to move the selected lines.
  10. The multi-media review dialog would close if it had the input focus and you pressed the Enter key.
  11. Deleting a channel in the sampling configuration that was the source of a derived channel did not delete the derived channel; this generated an invalid sampling configuration.
Changes
  1. The ChanDecorate() script command state read back has been changed in an incompatible way; previously you could not read back the mode without setting it.
  2. If you created a sampling configuration from a script that included WaveMark data (spike shapes), and did not use the spike shape setup dialogs to generate templates and set trigger levels, the spike shape detection trigger levels were set to 0. This could result in unexpected capture of very small spikes, triggered by noise. The trigger levels are now set to half full scale in this situation.
  3. The keyboard short cut to format an output sequence has changed from Ctrl+F4 to Shift+F4. This leaves Ctrl+F4 free for the standard Windows function of Close window.
  4. When multiple channels are grouped with locked axes and offsets, display Optimise no longer adds 5% extra space at the top and bottom of the display as this looks wrong when there are many grouped channels.
12/2019 10.01a New
  1. Offline waveform output driving cursor 0 now cancels other drivers of cursor 0.
Fixes
  1. Sampling configurations with gaps in the channel numbers sampled by the 1401 did not work and could crash. For example, sampling waveforms on channels 1,2,3 was OK, but sampling waveforms on channels 2,3,4 (omitting channel 1) was not.
12/2019 10.01 New
  1. You can apply one or more processes to waveforms sampled by a 1401 as the data is acquired to both generate new channels or to replace the sampled data. The initial processes are: IIR filters, rectification, differences and down sample. You can apply these processes to the sampling configuration interactively or from a script.
  2. There are new script commands SampleDerived() and SampleProcess() to support derived channels and real-time channel processing.
  3. In the Spike shape sorting component, the Load and Save templates dialog scales templates (where possible) if the template scaling does not match the target channel scaling. You can disable this change in the Edit menu Preferences, Compatibility Tab.
  4. There is a new data file importer for ADInstrument Labchart files.
  5. The Spike shape sorting Template settings dialog has a new option to disable independent triggers when using the New WaveMark dialog with multiple traces. The SSParam() script command flg% argument is extended to support this.
  6. You can now rerun a Multimedia window when linked to cursor 0 of the associated time view, causing both cursor 0 to move to indicate the current replay position and the view to scroll to keep the cursor visible. The MMPosition() script command has new options to control replay and cursor 0 links.
  7. Cursor 0 can be driven by Spike shape dialogs, Measurement processing and Multimedia replay. Previously, all drivers could be active simultaneously, which was confusing. Now, each new driver cancels any active driver.
  8. In a time view, you are now allowed to delete sampled data channels once sampling has ended. Previously you had to close the file and reopen it to do this.
Fixes
  1. Short reads of WaveMark data (Spike shapes) as a Waveform could fail to get data when the spike was the last item in an internal buffer; typically once every few hundred items.
  2. The setup for sampling spike shapes in version 10.00 was using the Spike2 version 9 command, so failed if this command was not accessible.
  3. The ColourSet(0,-1) and ColourSet(0,-2) script commands to reset the colour palette to light and dark modes did not invalidate the affected views.
Changes
  1. Spike shape templates read from resources are now scaled to match the target channel. This should be desirable, but let us know if it causes you any problems.
  2. The MMPosition() script command now uses a sPlay% value of 4 to move by frame (was 3 prior to versions 8.19a, 9.09a and 10.01).
  3. When you drag cursor 0 with a Spike shape dialog active, causing the dialog to search for a new spike, cursor 0 is not driven to the found spike position until you release the mouse button.
11/2019 10.00 New
  1. The new Info windows display user-defined data view information (timers, time of day, data values, measurements) with optional speech output. These are configured interactively or from a script.
  2. The Micro1401-4 is supported.
  3. The script language now supports user-defined objects.
  4. The script language const statement now accepts initialization from values calculated at run time in addition to constant expressions.
  5. Automatic data processing can now use variable length gates (e.g. process while a signal is high). We have modified the Process dialogs to support this and there is a new ProcessGate() script command.
  6. Resource and configuration files save and load faster than in previous versions of Spike2 and use less system memory.
  7. The Edit menu Clear command can now be used in an XY view to delete the data points. It now records as EditClear() in both result and XY views.
  8. Recording of the Rerun dialog now works when the target time view is not the current view.
  9. The WAVEGO sequencer command now supports a no flag option ('-') to allow the use of the optional label with no flags set.
  10. The Set colours dialog is extended to support information window text and background colours. It also has tool tip support and a Help button.
  11. DlgGetPos() script command can return the dialog width and height.
  12. The FileList() script command now allows users to select files interactively.
  13. The FileConvert$() script command allows users to set the list of file filters to use or the initial file name template.
  14. The Time$(), FileTime$(), TimeDate(), FileTimeDate() and FileTimeDateSet() script commands have been extended to support times in milliseconds.
  15. Arbitrary waveform output takes advantage of the Power3A and Micro4 200 MHz clock to achieve better frequency resolution.
  16. The Str$(x,-1) script command generates the minimum number of significant figures that would allow x to be read without loss of accuracy.
Changes
  1. When searching in the text editor, a found search target that is off the screen is now centred vertically rather than being at the top or the bottom of the screen.
Cambridge Electronic Design Limited

Registered in England: 00972132

Registered office:

  • Cambridge Electronic Design Limited,
  • Technical Centre,
  • 139 Cambridge Road,
  • Milton,
  • Cambridge CB24 6AZ
  • ENGLAND.

VAT: GB 214 2617 96

Producer registration number: WEE/BD0050TZ

Terms and Conditions of Sale

For our US customers, we can provide tax form W-8BEN, that identifies us as a UK company.

DUNS: 219151016
CAGE/NCAGE: KB797
NAICS: 423490
Commodity codes
Hardware: 84716070
Software: 85234945
×

By email:

info@ced.co.uk

By post:
  • Cambridge Electronic Design Limited,
  • Technical Centre,
  • 139 Cambridge Road,
  • Milton,
  • Cambridge CB24 6AZ
  • ENGLAND.
By telephone:

(Int.+44) (0)1223 420186

From North America (Toll Free):

1 800 345 7794

×