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

Signal scripts


On-Line

On-line digital filtering
Filt online02a.sgs (02/18)

OnlineFiltersg.zip

This script allows you to design a digital FIR or IIR filter and apply it to multiple waveform channels on-line. High pass, low pass, band pass, notch filters and resonators are possible. The filter is applied to each new frame in the interval before the next sampled sweep. This means that the script is not compatible with gap-free or fast-fixed interval sampling modes.

The script includes an on-line user guide accessible via a Help button on the script toolbar.

This script requires Signal v 6.05a or higher.

Trigger sampling when between two levels
TrigInLevels.sgs (01/17)

TrigInLevels.zip

This script and associated sequence will cause Signal to wait until a sampled waveform is between two levels on ADC port 0 (channel 1) before triggering sampling and then waits for a defined time before arming the next sweep.

The threshold levels are defined using horizontal cursors and the script uses 'peri-triggered sampling' mode and 'free run without restarts' mode for the outputs. This script and sequence could easily be modified to generate additional outputs for the sweep or respond to multiple state conditions if required.

This script requires Signal v3.10 or higher.

Target position tracking
TrackPlot.sgs (05/10)

TrackPlot.zip

This script is an example of setting up a recording frame that can be used to track a given shape when sampling. The script allows the user to select a frame containing the data shape to track and then opens a new file for sampling. An XY view is created to show the incoming data, along with a target which traces the shape of the tracking data loaded previously and displays this at the end of the sweep. This new XY view could be positioned on a second monitor if required.

A suitable example file, Targets.cfs, containing target traces is included in the .Zip file

This script requires Signal v3.10 or higher.

Play tones to flag frame states
SampleBeep.sgs (05/10)

SampleBeep.zip

This script plays a short tone from the PC sound card for each sampled frame. The tone pitch changes to flag different frame states during the recording.

This script requires Signal v2.16 or higher.

Keyboard shortcut for pause/start sampling
KeyboardPause.sgs (05/10)

KeyboardPause.zip

This script creates a toolbar with a shortcut button (spacebar) to pause and restart sampling of a data file, but could easily be modified to use any keyboard button to control the pause and restart.

This script requires Signal v2.16 or higher.

Control sampling with the toolbar
SAMPLING.SGS (07/99)

sampling.zip

An example of controlling sampling by means of the toolbar. The functions normally provided by the sampling control panel are replaced by toolbar buttons. This is a skeleton script designed to be used as a starting point for developing your own script.

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 Simon Parker. 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
  • 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: 85235190
×

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

×