Help Icon
Search Results for

    Show / Hide Table of Contents

    :TRIGger[:SEQuence]:SINGle

    Description

    Generates a trigger regardless of the trigger source selection. The command is implemented as an overlapped command and it is not completed until the measurement has ended. Thereforethe end of the command CAN be awaited with an OPC command.

    If the trigger is NOT in the Waiting for Trigger state, the command has no effect and a Trigger Ignored error (nr. -211) is generated. The only difference between this command and the [:TRIGger[:SEQuence][:IMMediate]](xref:sequenceImmediate) is that this command CAN be awaited and the [:TRIGger[:SEQuence][:IMMediate]](xref:sequenceImmediate) command CAN NOT be awaited.

    For more information about the trigger system, please refer to Trigger System.

    • Command
    Syntax Parameter
    :TRIGger[:SEQuence]:SINGle none
    Parameters accepted format allowed suffixes possible Errors description
    none none none Trigger Ignored - -211 none

    Sample usage

    Start a single trigger cycle and wait for the sweep to finish.

    • C#
    var visaSession = new TcpipSocket(VISA_RESOURCENAME);
    visaSession.RawIO.Write(":TRIG:SOUR BUS\n");
    visaSession.RawIO.Write(":INIT\n");
    visaSession.RawIO.Write(":TRIG:SING\n");
    visaSession.RawIO.Write("*OPC?\n");
    visaSession.RawIO.ReadString();
    
    • Python
    visaSession.write(':TRIG:SOUR BUS\n')
    visaSession.write(':INIT\n')
    visaSession.write(':TRIG:SING\n')
    visaSession.query('*OPC?\n')
    

    Related commands

    :INITiate:CONTinuous

    :INITiate[:IMMediate]

    :TRIGger[:SEQuence][:IMMediate]

    *TRG

    References

    Trigger System

    In this article
    Back to top Generated by DocFX