|NI-SCOPE (English | Japanese)|
Digital gain can be used to change the gain of each channel. You can program the digital gain of each channel independently using the Digital Gain attribute. The gain can range from –1.5 to +1.5 (unitless). You can use the digital gain to attenuate the channel data to eliminate overflows in the OSP block. To eliminate overflows, the digital gain should attenuate the ADC data (it should be set to a value less than 1). The digital gain circuit itself can overflow if the following condition is not met:
–1 ≤ Unity Scaled User Data × Pre-Filter Gain ≤ 1
If an overflow occurs, the data is clipped and NI-SCOPE returns an error. To prevent data clipping, attenuate the waveform data or reduce the digital gain.
|Tip To change the default error reporting caused by OSP overflows, change the Overflow Error Reporting attribute.|
You can also use Digital Gain to do fine-gain adjustments on the ADC data to compensate for channel or system gain imperfections. These adjustments occur in hardware before the data is stored to memory, which saves an additional processing step that would normally occur in software.