Help Icon
Search Results for

    Show / Hide Table of Contents

    *TRG

    Description

    Generates a trigger over the Bus. The trigger is only accepted, if the trigger source is set to BUS. Otherwise, the command is ignored. The command is finished before the measurement is completed and can NOT 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.

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

    Syntax

    *TRG

    Command Query
    Yes No
    Parameters Accepted Format Allowed Suffixes
    Possible Errors
    none none none Trigger Ignored - -211

    Sample usage

    Start a single trigger cycle.

    visaSession.write(':TRIG:SOUR BUS\n')
    visaSession.write(':INIT\n')
    visaSession.write('*TRG\n')
    

    Related commands

    :INITiate:CONTinuous
    :INITiate[:IMMediate]
    :TRIGger[:SEQuence][:IMMediate]

    References

    Trigger System

    In this article
    Back to top Generated by DocFX