Sets the Amplitude of the Function Generator.
CalFgenSetAmplitude (hHandle, dAmplitude, plStatus)
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. |
This function sets the Amplitude of the output waveform.
The following example sets the Amplitude to 4dB:
LONG lHandle, lStatus;
CalFgenSetAmplitude (lHandle, 4, &lStatus);