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

Signal scripts


Export covers converting data to a different format; for merging or otherwise altering data files, see the Editing section.


Export and merge files based on frame state
ExportMerge.sgs (05/10)


This script creates a new data file by copying frames from existing files. Only waveform data is handled. All frames can be copied or only frames with a specific state value. You can open files and select the state number to use from the script toolbar. Frames must have the same number of waveform channels to be included in the new file, the script does its best to cope with other variations but obviously will work better with files that are very similar.

This script requires Signal v4.00 or higher.

Merge to a single frame
MergeToSingleFrame.sgs (05/10)


This script will produce a new data file of up to 2GB with all of the frames from the selected source file merged into a single frame of continuous data.

This script requires Signal v2.16 or higher.

Text output of overdrawn frames
OverdrawnAsText.sgs (05/10)


This script will create a spreadsheet-format text file of data from all frames in the frame display list of the current data file. The user nominates the channel to extract the text values from and the script collects the channel data from all frames in the display list. The user is prompted to save the spreadsheet output as a text file, which can then be opened in Signal or a spreadsheet program.

This script requires Signal v2.16 or higher.

Dump a single channel as text
framecols.sgs (09/08)


This script generates a text dump of a single channel of data to the log window. Data from each frame is put into a separate column of text within the overall grid of values, rather than the normal Signal text output format with each channel forming a separate column.

Customised text output of measurements
DoRMSText.sgs (05/10)


This script is an example of customised text output to the Log window. The script prompts you to open a data file and then presents a dialog that allows selection of frames and a time range. The script measures RMS amplitude from visible waveform channels in the nominated frames and prints results for each channel in columns ready to open in a spreadsheet package.

This script requires Signal v2.16 or higher.

Export frames to individual text files
FrameTextExport.sgs (05/10)


This script will export each frame as an individual text file. The user sets a path and file name template for the text files from a dialog when the script is first run.

Convert CFS data files to WAV format


This script converts waveforms in a data file to 8 bit or 16 bit WAV format. Waveform channels may then be played with many standard tools.

Some of these scripts have come from users rather than the CED team. If you have a script that you would like to offer to fellow users via this page, please tell Tim Bergel. We provide some scripts for Spike2 too.

These scripts are stored as WinZip files, myscript.zip, except where they are shown as signal\scripts\myscript.sgs. Those latter files were installed with Signal and signal stands for the directory in which you installed Signal. See the summaries by clicking on the description in the side menu. Then you can down-load them by clicking on the filename.

Cambridge Electronic Design Limited

Registered in England: 00972132

Registered office:

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

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
NAICS: 423490
Commodity codes
Hardware: 84716070
Software: 85235190

By email:


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

(Int.+44) (0)1223 420186

From North America (Toll Free):

1 800 345 7794