spec

Software for Diffraction

tscan

temperature scan

SYNOPSIS

tscan start end intervals time [sleep_time]

DESCRIPTION

The tscan macro scans the temperature controller set point. The set point starts at the value given by start and finishes at end. The step size is (start-end)/intervals. The number of data points collected will be intervals+1. Count time is given by time, which if positive, specifies seconds and if negative, specifies monitor counts.

The optional sleep_time argument specifies a time in seconds to delay after each temperature change.

As with all of spec's temperature-control macros, you need to define a measuretemp and a _settemp macro that work correctly with your instruments. See the Temperature Control Macros section in the spec Standard Macro Guide for details.

EXAMPLE

tscan 1 1.2 100 10