:INITiate[:IMMediate]
Description
This command changes the trigger state from IDLE
to Waiting for Trigger
if the trigger is actually in the IDLE
state. The trigger system completes one full cycle and returns to the IDLE
state after completion. If the trigger is NOT in the IDLE
state or the Continuous Initiation Mode
is activated, this command has no effect on the trigger state, but an Init Ignored
- error (code: -213
) is generated.
For more information about the trigger system, please refer to Trigger System.
Syntax | Parameter |
---|---|
:INITiate<ch>[:IMMediate] |
none |
Parameters | accepted format | allowed suffixes | possible Errors | description |
---|---|---|---|---|
<ch > |
{ 1 | empty } |
none |
Invalid channel index |
Currently only one channel is supported. Empty means 1 is used as default. |
none |
none |
none |
Init Ignored - -213 |
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");