SCPI Programmers Manual
41
6.6 MATH:OFFSet
6.7 MATH:FFT:SOURce
6.8 MATH:FFT:WINDow
6.9 MATH:FFT:UNIT
6.10 MATH:FFT:HSCale
:MATH:OFFSet <value>
:MATH:OFFSet?
Sets or queries the vertical offset of the operation result.
:<value> ::= offset value (in V)
The query returns the vertical offset of the current operation result in scientific
notation.
:MATH:OFFSet 2 /*Set vertical offset to 2V*/
:MATH:OFFSet? /*The query returns 2.000000e + 00*/
:MATH:FFT:SOURce <source>
:MATH:FFT:SOURce?
Set or query the source of FFT operation / filter.
:<source> ::= < CHANnel1|CHANnel2|CHANnel3|CHANnel4>
The query returns CHANnel1, CHANnel2, CHANnel3, or CHANnel4.
:MATH:FFT:SOURce CHANnel1 /*Set the source of FFT operation to CH1*/
:MATH:FFT:SOURce? /*The query returns CHAnel1*/
:MATH:FFT:WINDow <window>
:MATH:FFT:WINDow?
Sets or queries the window function of the FFT operation.
:<window> ::= < RECTangle| HANNing| HAMMing| BLACkman| TRIangle| FLATtop>
▷Using the window function can effectively reduce the effect of spectral leakage.
▷Each window function is suitable for measuring different waveforms. You need to
choose according to the measured waveform and its characteristics.
The query returns RECTangle,HANNing,HAMMing,BLACkman,TRIangle,FLATtop
:MATH:FFT:WINDow RECTangle /*Set the window function for FFT operation to
RECTangle*/
:MATH:FFT:WINDow? /*The query returns RECTangle*/
:MATH:FFT:UNIT <unit>
:MATH:FFT:UNIT?
Sets or queries the vertical unit of the FFT operation result.
:MATH:FFT:UNIT DB /*Set the vertical unit of the FFT operation result to DB*/
:MATH:FFT:UNIT? /*The query returns DB*/
:MATH:FFT:HSCale <hscale>