NI 5402/5406
Flatness Correction
The NI 5402/5406 uses flatness correction to ensure a consistent power level when generating sine waveforms at any frequency.
During external calibration, the frequency response of the Analog path in its different configurations is measured using the niFgen Initialize Flatness Calibration VI or the niFgen_InitializeFlatnessCalibration function and the niFgen Cal Adjust Flatness VI or the niFgen_CalAdjustFlatness function.
During generation, these measured values are used to compensate for any attenuation at the requested frequency. The compensation is applied by digitally multiplying the digital data going into the DAC by a correction factor.