:FUNCtion:CWINdow
Command Syntax
:FUNCtion{1:64}:CWINdow {TIMe{1} | GDELay{1:4} | MAGNitude{1:4} | PHASe{1:4}}
Where the {1:64} specifier identifies one of sixty four math functions that you can create. For example, :FUNCtion2
.
Query Syntax
:FUNCtion:CWINdow?
Description
The :CWINdow
command allows you to assign a waveform to one of four possible content windows of the same type. For example, window Phase 1, Phase 2, Phase 3, or Phase 4. Multiple compatible waveforms can be assigned to the same content window. This is illustrated in the following example:
:FUNCtion1:CWINdow PHASe1 :FUNCtion2:CWINdow PHASe1 :FUNCtion3:CWINdow PHASe2
In other words, the CWINdow
command selects a content window in which to display a function's output waveform. In FlexDCA, four different types of content windows exist: Waveform (TIMe1
), Group Delay (GDELay
), Magnitude (MAGNitude
), and Phase (PHASe
). Each type varies by its type of X- and Y-axis units. Any given waveform is only compatible with one of these four content window types. Therefore, FlexDCA automatically assigns waveforms to the proper type of content window, such as Group Delay. Waveforms can not be assigned to a different type of content window. For example, a Group Delay waveform can not be moved to or shown in a Magnitude content window.
The output waveform of most functions is a linear magnitude waveform which is displayed in a Waveform content window (TIMe
). If a functions allows its output waveform type to be changed, this would be accomplished by the function's :DISPlay
child command, which is located in the :SPRocess
subsystem. For example, the FFT function's output waveform can be selected as group delay, magnitude, or phase using the :SPRocess:FFT:DISPlay command.
Argument | Displayed Waveform Content Window |
Number of Available Windows |
Scale Units | |
---|---|---|---|---|
Programmatically | Via Front Panel |
|||
TIMe{1} | Waveform | 1 | 1 | Y-Axis: Volts or Watts (linear scale) X-Axis: seconds |
GDELay{1:4} | Delay | 4 | 1 | Y-Axis: seconds X-Axis: Hertz |
MAGNitude{1:4} | Magnitude | 4 | 1 | Y-Axis: dB (logarithmic scale) X-Axis: Hertz |
PHASe{1:4} | Phase | 4 | 1 | Y-Axis: phase (°) X-Axis: Hertz |
Requires FlexDCA revision A.03.00 and above.
Example Command
:FUNCtion2:CWINdow GDELay1