Main Content

disableOutput

Disable function generator channel output

    Description

    disableOutput(fginstr) disables the specified Quick Control function generator signal at its output connector.

    example

    Examples

    collapse all

    Load an arbitrary waveform into a Quick Control function generator then enable and disable its output.

    fginstr = fgen('TCPIP0::172.28.0.0::inst0::INSTR','tkafg3k');
    selectChannel(fginstr,'1');
    f.Waveform = 'Arb';
    downloadWaveform(fginstr,waveformArray);
    enableOutput(fginstr)
    %    ⋮
    % Allow generator to operate until no longer needed.
    %    ⋮
    disableOutput(fginstr)

    Input Arguments

    collapse all

    Quick Control function generator instrument, specified as an FGen object.

    Example: fginstr = fgen()

    Data Types: object

    Version History

    Introduced in R2012a