# :SOURce:WTYPe

Simulated and AWG Commands

- :SOURce:AMPLitude
- :SOURce:CDIVide
- :SOURce:DIFFerential
- :SOURce:FILTer:CUToff
- :SOURce:FILTer:RTIMe
- :SOURce:FILTer:STATe
- :SOURce:FILTer:TYPE
- :SOURce:FNAMe
- :SOURce:FORMat
- :SOURce:FOTWo:JITTer
- :SOURce:FOTWo:STATe
- :SOURce:FUNCtion
- :SOURce:INVert
- :SOURce:JITTer:BLIMit
- :SOURce:JITTer:BLSTate
- :SOURce:JITTer:DRJ?
- :SOURce:JITTer:DRN?
- :SOURce:JITTer:RJ
- :SOURce:JITTer:STATe
- :SOURce:LEVel
- :SOURce:NOISe:RN
- :SOURce:NOISe:STATe
- :SOURce:OENable
- :SOURce:OFFSet
- :SOURce:PATTern
- :SOURce:PLENgth
- :SOURce:PWIDth
- :SOURce:SEED
- :SOURce:SKEW
- :SOURce:SRATe
- :SOURce:SSC:FREQuency
- :SOURce:SSC:PATTern
- :SOURce:SSC:PERCent
- :SOURce:SSC:PHASe
- :SOURce:SSC:PPM
- :SOURce:SSC:STATe
- :SOURce:SSC:STYPe
- :SOURce:WTYPe

## Command Syntax

    :SOURceN:WTYPe {CLOCk | DATA | FUNCtion | DC | FILE}

Where N identifies a simulated instrument's specific channel in the form "<connection1-8>_<ch1-8>" (for example, `SOURce4_2`). With connection 1, the connection number part (that is, "1_") is optional, and you can simply use the channel number "<ch1-8>" (for example, `SOURce3` which is the same as `SOURce1_3`).

## Query Syntax

    :SOURceN:WTYPe?

## Query Response

    {CLOC | DATA | FUNC | DC | FILE}

## Description

On simulated instruments, specifies the type of source waveform using the following arguments. Use the `:SOURce:OENable` command to enable the waveform. To display the source waveform that has been enabled, use the `:CHANnel:DISPlay` command.

`CLOCk`
  Selects a clock waveform.
`DATA`
  Selects a data waveform. The pattern for the waveform is selected using the `:SOURce:PATTern` command.
`FUNCtion`
  Selects a waveform function, such as a sine wave. The actual function used to derive the source waveform is selected using the `:SOURce:FUNCtion` command.
`DC`
  Selects a DC waveform. Use the `:SOURce:OENable` command to specify the DC level.
`FILE`
  Configures a waveform using a waveform file (.h5). Load the file using the `:SOURce:FNAMe` command.

## Example Command Sequence

    :SOURce5:WTYPe FILE
    :SOURce5:FNAMe "%USER_DATA_DIR%\Waveforms\Sim_CH2_optimized.csv"
    *OPC