AlazarFFTSetGainAndOffset#

Function Syntax#

RETURN_CODE AlazarFFTSetGainAndOffset(dsp_module_handle dspHandle, float gain, float offset)#

Set the gain and offset for log U16 and log U8 outputs.

Remark

This function is only valid for a limited number of datapaths. Use AlazarDSPGetParameterU32() with parameter DSP_FFT_GAIN_OFFSET_SUPPORTED to see if function is supported.

Warning

On ATS9373 and ATS9371, this function is intended to be used for log U8 and log U16 outputs. Using it with other FFT outputs will result in undefined behaviors.

Warning

This function should not be used with AlazarFFTSetScalingAndSlicing(). Using both will result in undefined behaviors.

Parameters:
  • dspHandle – Handle to DSP module

  • gain – Gain to be applied to output.

  • offset – Offset to be applied to output.

LabVIEW Block Diagram#

../_images/AlazarFFTSetGainAndOffset.vi.png