CalFgenSetAmplitude

Purpose

Sets the Amplitude of the Function Generator.

Syntax

CalFgenSetAmplitude (hHandle, dAmplitude, plStatus)

Parameters

Name
Type
Comments
hHandle
LONG
Handle for a Function Generator.
dAmplitude
DOUBLE
Amplitude value to set.
plStatus
PLONG
Returned status: 0 on success, negative number on failure.

Comments

This function sets the Amplitude of the output waveform.

Example

The following example sets the Amplitude to 4dB:

 

LONG   lHandle, lStatus;

 

CalFgenSetAmplitude (lHandle, 4, &lStatus);

 

See Also

CalFgenSetOutputState, CalFgenSetFrequency