:SOURce:WTYPe

Source:
AWG
Simulate
Meas. mode:
Scope
Eye
Jitter
Flex Apps:
FlexDCA
FlexRT

Command Syntax

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

Where N identifies a simulated module's specific channel and must be selected from {1:8}{A|B|C|D}. For example, SOURce3C.

Query Syntax

:SOURceN:WTYPe?

Query Response

{CLOCk | DATA | FUNCtion | FILE}

Description

On Arbitrary Waveform Generator (AWG) and simulated extended modules, specifies the type of source waveform using the following arguments. Use the :SOURce<N>:OENable command to enable the waveform. To display the source waveform that has been enabled, use the :CHANnel<N>:DISPlay command.

CLOCk
Selects a clock waveform.
DATA
Selects a data waveform. The pattern for the waveform is selected using the :SOURce<N>: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<N>:FUNCtion command. This parameter is not available for AWG extended modules.
FILE
Configures a waveform using a pattern waveform file (.csv) or waveform file (.wfmx). Load the file using the :SOURce<N>:FNAMe command. This parameter is not available for AWG extended modules.

Requires FlexDCA revision A.02.00 and above for simulated extended modules. Revision A.06.00 and above for AWG extended modules.

AWG Channel ID
AWG
Channel
Equivalent
Letter
1 A
2 B
3 C
4 D

Selecting AWG Channels

When sending a :SOURce subsystem command to an AWG, the method used to specify the AWG's channel may look confusing at first glance. This is because, the AWG's front-panel channels are labeled 1, 2, 3, and 4, but FlexDCA identifies channels with letters (A, B, C, or D). As a result, you must convert the AWG's channel number to an equivalent FlexDCA letter. For example, to enable channel 3 of an AWG that is installed in FlexDCA's slot 5 use the following command: :SOURce5C:OENable ON.

Example Command Sequence

:SOURce5B:WTYPe FILE
:SOURce5B:FNAMe "%USER_DATA_DIR%\Waveforms\AWG_CH2_optimized.csv"
*OPC