Editing    Analysis    Display    Useful Script Functions

Control    On-Line    Examples of Method    User RequestedNew

Control
Script control of waveform output
Calibrate waveform capture

 

Script control of waveform output
setwave.zip 794

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.


Calibrate waveform capture
signal\scripts\calib.sgs

This script provides calibration of data read from one or more ADC ports using sampled data corresponding to known calibrated values. It also allows zeroing of the calibration using a known zero signal. The script can be used as is to calibrate Signal data acquisition or the script could be copied into other scripts or modified to provide customised calibration mechanisms. The file calib.doc contains more information about using this 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 Tim Bergel. We provide some scripts for Spike2 also.

These scripts are stored as WinZip files, myscript.zip, except where they are shown as signal\scripts\myscript.sgs. Those files were installed with Signal. 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.
CED home page