Toggle mode vs Pulse mode


In order to generate a pulse or a limited chain of pulses:

In case of generating chain of pulses that durations are different among pulses, only toggle mode can be used.

st_set_togglevspulse_01

In case of generating chain of pulses that contain half a pulse, only toggle mode can be used.

st_set_togglevspulse_02

In case of generating chain of pulses that durations of every pulse are the same, both modes can be used.

st_set_togglevspulse_03

In this case, the codes in two modes are almost the same, except for "set repc" command. Since this command specifies the number of toggle time in toggle mode and specifies the number of pulses in pulse mode, in order to generate the same chain of pulses, the "repc" value in toggle mode must be twice as "repc" value in pulse mode.