| User Requested |
| RasterDump.zip 1,863 |
This script exports raster data from result files into a new text document. When the script is run, the user is prompted to open a result file that includes a raster type channel and select the raster channel to export.
This script requires Spike2 v4.24 or higher.
Keywords: Export raster data
| SaveAsImage.zip 1,308 |
This script is an example of exporting multiple result files in either bitmap or metafile format. The user selects a directory containing result files and the script then exports them one by one. You can set the window size of the first result file to be exported and this is then used to set the size of the image for all subsequent files. The image files are saved in the same directory and with the same file names as the result files.
This script requires Spike2 v5.21 or higher.
Keywords: Export images, bitmap, metafile
| TriggeredTextExport.zip 1,735 |
This script will export data in sections of spreadsheet-format text based on a nominated trigger channel, with each section separated by new column headers. All visible channels are exported based on user defined settings such as output sample rate and section length.
This script requires Spike2 v5.21 or higher.
Keywords: Export trigger, spreadsheet format
| VideoShow.zip 1,111 |
This script allows you to display the current frame in a multimedia video file in relation to a cursor position in the data file. Simply drag the cursor to show the associated frame for that section of data. By default the displayed multimedia frame is relative to the right-hand edge of the data view.
This script requires Spike2 v5.21 or higher.
Keywords: Video, frame position
| RerunWithSound.zip 1,190 |
This script can be used to rerun a data file and nominate a channel to be played out from the sound card during the replay. The script generates a toolbar from which the user can open data files, set the channel to play out and run/stop the data file.
This script requires Spike2 v5.21 or higher.
Keywords: Rerun, sound output
| DrawPlayWave.zip 2,169 |
This is an example script that allows the drawing of an arbitrary waveform for output from the 1401 DAC's using the mouse pointer. The user specifies the output rate, waveform duration and associated key for the waveform before drawing the shape required in a result view window by holding down the Shift key together with the left mouse button and dragging the mouse. The waveform can then be added to the play wave area of the sampling configuration by clicking the 'Add' button in the script toolbar.
This script requires Spike2 v7.01 or higher.
Keywords: Arbitrary waveform
| CursorPulseAmp.zip 5,909 |
This script and associated sequence file is an example of updating a running sequence file during sampling with an interactive script.
The included sampling configuration can be used to visualize the pulse outputs by connecting DAC 0 to ADC 0 on the 1401. Load the CursorPulseAmp.pls sequence file from the sequencer tab of the sampling configuration and click OK before running the script. The script opens a new data file ready to sample and creates a tollbar to start and stop sampling. During sampling the horizontal cursor can be dragged up and down to control the amplitude of the pulse train output.
This script requires Spike2 v6.14 or higher.
| SimOnSkel.zip 1,955 |
This script uses the PlayOffLine() script command to replay an existing data file and give the script access to the current replay position to simulate sampling.
To use this for testing purposes, simply add the function code that you plan to use on-line at the position indicated in the Idle%() function.
This script requires Spike2 v5.21 or higher.
| Alarm.zip 1,133 |
This script is a simple example allowing the user to set an alarm time based on the system clock of the PC. This example emits a tone and displays a message box once the alarm time is reached, but could easily be modified to perform other functions in response to the alarm setting, such as starting a file sampling early in the morning before you arrive at work!
This script requires Spike2 v5.21 or higher.
These scripts are stored as WinZip files, myscript.zip, except where they are shown as spike\scripts\myscript.s2s. Those latter files were installed with Spike2 and spike stands for the directory in which you installed Spike2. See the summaries by clicking on the description line, below. Then you can down-load them by clicking on the filename; please check the size received.