09/2017 |
9.01 |
New
- You can now create RealWave channels for sampling. When used with a programmable signal conditioner, you can apply gain changes during sampling that do not affect previously sampled data.
- The WEnv() virtual waveform can now use cosine and raised cosine functions for the rising and falling phases.
- When selecting a COM port for a signal conditioner, we now only offer ports that exist and give more information to identify the port.
- Talker channel numbers are no longer limited to the range 1-100.
- Talker-generated channels can now be used as triggers for triggered sampling.
- The total number of channels sampled by a 1401 interface is still limited to 100, but the channel numbers you assign to them are no longer limited to the range 1-100.
- When sampling, you can move the keyboard marker, TextMark and Digital marker channels so that they do not interrupt the channel range of other channels.
- When debugging a script, you can edit and display string variables in a multi-line editor.
- The FileApplyResources() script command is extended to give some control over the resources to apply. You can also apply the resources created by one view to the current view without creating a named resource file.
- The Spike2 Help menu About Spike2... dialog now includes the name of the computer that Spike2 is running on. This is the name needed by Talkers running across a network to access Spike2.
- The D440 signal conditioner now has a Reset Calibration button.
- The Biopac importer is now available in 64-bit builds of Spike2 and is updated to the latest version.
- The ColourSet() and ColourGet() script commands now have access to the colour scales, as used in sonograms.
- The DlgEnable() script command can be used to control the visibility of a bitmap in a user-defined dialog.
- CondSet() and OutputReset() script commands have new variants to reset the conditioner and output state.
- The System() script command is extended to report the CPU time used by the GUI thread.
- When a channel with no channel comment is saved to a disk file, Spike2 will add information to the comment such as the source channel number, virtual channel and channel process information.
- The tooltip that pops up when you hover the mouse over a time view channel y axis now has more information about channel processes and WaveMark traces.
- When the Cursor Regions and Cursor Values dialogs have the input focus (are selected), they no longer stop user-defined short-cut keys from working in the Toolbar, the Interact bar and user-defined dialogs.
- The SampleText() script command now returns the time at which the text marker was added.
- When using Ctrl+Alt + mouse-click to drag a line to select spikes in Overdraw WM and other drawing modes, you can now use the Shift key to constrain the line to be horizontal.
- In the clustering dialog, you can now use the F key to set selected (using ellipses or the user-defined shape) events to code FF. You can also set all visible events to code FF using Ctrl+Shift+F.
- In the clustering dialog, you can use the mouse wheel to scale the size of the user-defined ellipse or shape.
- The System$() script command has a new variant to read the command line that started Spike2.
- You can now save bitmaps using FileSaveAs() in GIF format, and GIF is offered when loading or saving images interactively. These are not animated GIFs.
- There are improvements to the script compiler error messages to help identify the cause of a script syntax error.
Fixes
- Importing or exporting a data file with a lot of channels (>300) and many different channel Titles, Units or Comments, could result in a .smrx data file that would not open. Such a file can now be repaired by the S64Fix program.
- The script compiler system became confused if you compiled (and ran) one script, compiled a second script which generated a compiler error and finally ran the first script.
- The Graphical sequence editor gave an error if a marker item was added with a code of 00 (which is the default code).
- Attempting to open a corrupted sampling configuration file could crash Spike2.
- The code that adds messages to the Sampling Notes about channels that are sampled significantly slower or faster than requested always reported such channels as sampling slower, even if they sampled faster.
- The File menu Import command added channel titles to the start of all channel comments. It now only does this if a channel title is so long that it is truncated by the import system.
- The keyboard marker for the end of a timed sampling section was not written to disk.
- In version 9.00, the initial sampling state in timed or triggered sampling mode was incorrect.
- Paste of non-ASCII UNICODE characters into a grid view did not work.
- In the X Axis Range dialog, changing the axis Units repainted the Left and Right values in the previous axis mode, not the new one.
- If you sampled data in 32-bit format, then used the FileSaveAs("", -1) script command to save the file, the default file extension offered was .smrx (though the file was 32-bit and should have the .smr file extension). Spike2 can read 64-bit files with either extension, but rejects 32-bit files with the .smrx extension.
- If you sample without a 1401, the Trigger check box in the sampling control bar is disabled as triggered start is not (currently) supported without a 1401.
- When a script hit a break point or when Interacting with Spike2 in a script idle routine, if you opened the Cursor Values or Regions dialog, or any Spike-shape or Multimedia windows, this set the script current view, which could cause the running script to fail with a "Wrong View type" error.
- In the Channel setup dialog, changes to the D440 signal conditioner gain did not cause the y axis scale to update.
- In the Sample Bar, the Write to Disk state for Immediate Start mode now works. If Immediate Start is not enabled, Write to Disk changes are disabled.
- If you Reset sampling (to restart it), the Cursor Regions and Cursor Values dialogs were not reset.
- Recording XAxisMode() in a time view could generate strange mode% values if the x axis units were not seconds.
- The SampleWaveMark() script command failed if you used an array of ports as the second argument.
- The SampleClear() script command did not clear the name of the last read sampling configuration returned by SampleConfig$().
- The SampleClear() script command did not clear the name of the last read sampling configuration returned by SampleConfig$(). The Ec() and Et() virtual channel functions extended their search for events one data file clock tick forward more that they should. This could (in somewhat contrived circumstances) cause the Ec() function to generate a count that was 1 too large. The change to the Et() command output was usually too small to matter.
- The WSqu() virtual channel function could make the low phase one sample too long.
- If you double-clicked and edited an item in a TextMark channel, duplicates of the channel did not update.
- Several script commands would not accept const items as arguments when they should. For example, SampleTrigger(), YAxisAttrib() and YAxisStyle() would not accept a cSpc% argument that was declared const cSpc%[3]:={2,1,2}.
- The MemImport() command to create a WaveMark channel from a waveform and an event channel could miss the last waveform point if the event times were not aligned to the waveform samples.
- In a view with a logarithmic y axis, if you zoomed in by dragging a rectangle, the result displayed the wrong y axis range.
Changes
- The MatLabOpen() script command no longer stops a script with a fatal error if MatLab cannot be opened and now reports a negative error code.
- In the script debugger, when you open a window to edit a string variable, the initial string is no longer selected and the edit window will attempt to resize to accommodate the string text.
- The example Talkers are always installed unless excluded in a Custom installation.
- The maximum length of automatic names for files is increased from 23 to 40 characters. Older versions of Spike2 will limit the length to 23 characters if you edit the name.
- When you create a new channel, the default channel titles and channel comments are now set to an empty string rather than "untitled" and "No comment".
- The value returned by the SampleText() command has changed; previously it always returned 0.
|