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

Signal scripts


Control

Control 200 series Magstim stimulators
Ctrl200series.sgs (05/10)

Ctrl200Series.zip

This script can be used to control older Magstim 200 models that have been fitted with the parallel port modification, using multiple states and the 1401 digital outputs. The script creates a suitable sampling configuration and allows the user to specify the Magstim output intensities and interval between outputs for each state used.

The connection between the Magstim parallel port interface and the 1401 digital outputs can be achieved with a modified data cable (contact us for details).

This script requires Signal v3.10 or higher.

Script control of waveform output
SETWAVE.SGS (05/98)

setwave.zip

This script demonstrates how to place a waveform output configuration into an output file and how to set the values of the waveform.

It will adjust the currently loaded sampling configuration to put a high-speed waveform output section into it. It is a simple example of defining and controlling the waveform.

The code as it stands simply sets a few locations to 32767 (= 5 volts) to generate a short square pulse, but it is easily modifiable to allow you to create any desired waveform.

Quickly generate a TMS intensity-response plot
FastMEPsr.sgs (09/24) Improved!

fastMEP.zip

This archive contains two online scripts to control a TMS machine in order to generate the stimuli required to build up a plot of MEP amplitude vs. stimulus intensity.

Stimulus intensities are randomised to minimise habituation and can be applied singly, under manual control, or automatically at fixed intervals. MEP amplitudes are measured automatically within a user-defined time range. A best fit Bolzmann sigmoid curve fit of MEP amplitude vs Intensity updates after each stimulus. There are options to edit the Intensity-Response plot to exclude data points where the background noise level was too high. In addition, the plot can be normalised relative to user-defined upper and lower limits.

MEP recordings, I-R plot and a spreadsheet of results, including the sigmoid fit statistics are saved to disk. The degree of automation means that it should be possible to obtain high quality intensity –response plots in only a few minutes.

There are two variants of the FastMEPsr script. with the suffixes V1 and V2.

V1 presents stimuli at random intensities within a user-defined range until stopped by the user or all intensities in the range have been applied.

In V2.the user selects an intensity range and step size and the number of repeats at each intensity. The script then presents these pre-defined intensities in random order.

Each script has a quick-reference user guide that displays while the script is running at the click on a toolbar button. There is also a .pdf user guide for V1.

Requirements

  • Signal v7.07 or higher and a Micro- or Power-1401 interface.
  • ghutils.sgs, ghgridutils.sgs.and ug.s2s. Store these libraries of script functions in your SignalN folder (where N is the version number) in the folder named include. Alternatively, keep these files in the same folder as the main scripts. Alternatively, keep these files in the same folder as the main scripts.
  • A TMS machine and appropriate remote control cables. Supported TMS devices include: MagStim, MagPro, PowerMag, DuoMag, DS8R and Neurosoft models.

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

×