Function generator
The Function generator computed channel generates an output channel that simulates the output of an analog function generator.
- Waveform: Set the shape of the output waveform to sine, triangle (ramp) or square.
- Duty cycle: For ramp and square type waveforms, specify the duty cycle in percent (1 to 99). Note that for a ramp waveform, a duty cycle of 99 results in a sawtooth wave, a duty cycle of 50 results in a triangle wave and a duty cycle of 1 results in a reverse sawtooth wave.
- Period samples: Specify the number of samples that comprise one waveform cycle. Note that the waveform frequency is the input channel sample rate divided by the period samples.
- Cycles: Specify the number of cycles to generate. After this number of cycles, the output remains constant at the last value of the last cycle.
- Scale: Specify the amplitude of the waveform.
- Offset: Specify the offset of the waveform.
- Drift: Specify the offset drift for each cycle. The drift value is distributed over the cycle period for a uniform offset drift.
- Decay: Specify the amplitude decay for each cycle. A decay value less than one results in decreasing amplitudes while a decay value greater than one results in increasing amplitudes. The decay value is distributed over the cycle period for a uniform decay.