# :FUNCtion:CWINdow

:FUNCtion Define Commands

- :FUNCtion:COLor
- :FUNCtion:CONStant
- :FUNCtion:CWINdow
- :FUNCtion:DISPlay
- :FUNCtion:HORizontal:SCALing
- :FUNCtion:OPERand
- :FUNCtion:PATTern:FILE:GCODe
- :FUNCtion:PATTern:FILE:NAME
- :FUNCtion:PATTern:FILE:RELoad
- :FUNCtion:PATTern:INVert
- :FUNCtion:PATTern:KPATtern
- :FUNCtion:PATTern:MODE
- :FUNCtion:PATTern:TRACking
- :FUNCtion:SIGNal:TYPE
- :FUNCtion:SIGNal:TYPE:TRACking
- :FUNCtion:SNOise:CALibrate
- :FUNCtion:SNOise:SNValue:LEVel{0:3}?
- :FUNCtion:UNAMe

## Command Syntax

    :FUNCtionN:CWINdow {TIME{1:4} | SHERtz{1:4} | DBHertz{1:4} | DHERtz{1:4}}

Where N identifies one of sixty four {1:64} 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 Degrees (Hz) 1, Degrees (Hz) 2, Degrees (Hz) 3, or Degrees (Hz) 4. Multiple compatible waveforms can be assigned to the same content window. This is illustrated in the following example:

    :FUNCtion1:CWINdow DHERtz1
    :FUNCtion2:CWINdow DHERtz1
    :FUNCtion3:CWINdow DHERtz2

In other words, the `CWINdow` command selects a content window in which to display a function's output waveform. In Infiniium 2026, four different types of content windows exist: Waveform (`TIME`), Seconds (Hz) (`SHERtz`), Decibels (Hz) (`DBHertz`), and Degrees (Hz) (`DHERtz`). 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, Infiniium automatically assigns waveforms to the proper type of content window, such as Seconds (Hz). Waveforms cannot be assigned to a different type of content window. For example, a Seconds (Hz) waveform cannot be moved to or shown in a Decibels (Hz) 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 `:FUNCtion:PARameters` subsystem. For example, the FFT function's output waveform can be selected as Group Delay, Linear Magnitude, or Phase using the :FUNCtion:PARameters:FFT:DISPlay command.

Command Arguments and Content Windows
Argument | Displayed Waveform Content Window | Number of Available Windows | Scale Units
--- | --- | --- | ---
Programmatically | Via Front Panel
TIME{1:4} | Waveform | 4 | 4 | Y-Axis: Volts or Watts (linear scale) X-Axis: seconds
SHERtz{1:4} | Delay | 4 | 4 | Y-Axis: seconds X-Axis: Hertz
DBHertz{1:4} | Decibels (Hz) | 4 | 4 | Y-Axis: dB (logarithmic scale) X-Axis: Hertz
DHERtz{1:4} | Degrees (Hz) | 4 | 4 | Y-Axis: phase (°) X-Axis: Hertz