*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 | Parameter |
---|---|
*TRG |
none |
Parameters | accepted format | allowed suffixes | possible Errors | description |
---|---|---|---|---|
none |
none |
none |
Trigger Ignored - -211 |
none |
Sample usage
Start a single trigger cycle.
var visaSession = new TcpipSocket(VISA_RESOURCENAME); visaSession.RawIO.Write(":TRIG:SOUR BUS\n"); visaSession.RawIO.Write(":INIT\n"); visaSession.RawIO.Write("*TRG\n");
Related commands
:TRIGger[:SEQuence][:IMMediate]