:SOURce:FUNCtion

Command Syntax

:SOURceN:FUNCtion {SINE | COSine | SQUare | PULSe | TRIangle | SAWTooth}

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:FUNCtion?

Query Response

{SINE | COS | SQU | PULS | TRI | SAWT}

Description

On simulated instruments, selects a function to create the source waveform. To apply the function to the source waveform, use the :CHANnel:DISPlay command.

When you select the PULSe function, specify the pulse width using the :SOURce:PWIDth command.

Example Command Sequence

:SOURce1:FUNCtion COS