NI 5412/5421/5422/5441
DC Offset
The NI 5412/5421/5422/5441 supports a DC offset before the attenuation chain that affects the maximum value of DC offset that is possible for a given gain setting. This pre-attenuation architecture requires two rules for setting the DC offset:
- The magnitude of the maximum value of offset can be no more than ½ of the configured gain setting for the NI 5412/5421/5441 and no more than the gain setting for the NI 5422.
- The waveform maximum plus the offset must not exceed ±6 V into 50 Ω; if it does, the waveform is clipped.
For example, if you have set a gain of 5, which corresponds to an amplitude of 5 V, and the waveform is a sine wave using the full range of the DAC, the maximum DC offset you can apply with out clipping the sine wave is ±1 V. At this point, output voltages of the sine waveform have reached the maximum amplitude that the device supports. If you increase the DC offset further, the top portion of the waveform at 6 V will be clipped.
NI-FGEN automatically calculates the pre-attenuation offset value based on the set DC offset and gain values. You can change the DC offset at any time during waveform generation. Refer to the Arbitrary Waveform Offset property or the NIFGEN_ATTR_ARB_OFFSET attribute for more information about setting the DC offset.
You cannot set the DC offset if you selected the Direct path. However, the output does still have some non zero offset. Refer to the module specifications for information about the maximum value of the DC offset.