In file No file:

int awgSweepComponents (tainsec_t t, tainsec_t d, double f1, double f2, double a1, double a2, long flag, AWG_Component* comp, int* cnum)

Define a frequency sweep

Documentation

Define a frequency sweep. This is a convinience function to obtain the arbitrary waveform componets which correspond to a frequency sweep of a periodic waveform. The sweep is specified by its start frequency, its start amplitude, its duration, its stop frequency, its stop amplitude and flag. The flag is used to determine if the sweep is linear or logarithimic, whether the sweep happens only once or repeats itself infinitely, and whether it sweeps up and down, or just restarts at its initial value.

The default values for a sweep are: linear, sweep in one direction and restart, and repeat infinitely. Other options can be specified by a combination of

    AWG_SWEEP_LOG	logarithmic sweep
    AWG_SWEEP_CYCLE	sweep in both directions
    AWG_SWEEP_ONCE	sweep only once
    

This function returns 2 AWG components if the sweep is bi-directional and one otherwise. Ampitude, frequency and time values have to be positive.

Returns:
0 if successful, <0 otherwise
Parameters:
t - start time
d - duration
f1 - start frequency
f2 - stop frequency
a1 - start amplitude
a2 - stop amplitude
flag - sweep parameters
comp - AWG components for describing the sweep (result)
cnum - number of components in result (result)
Author:
DS, July 98
See Also:
Arbitrary Waveform Generator

alphabetic index hierarchy of classes


Please send questions and comments to sigg_d@ligo-wa.caltech.edu


generated by doc++