Dear ExclamationMarek, and ALL
Thank you for your code, which has turned my day.
Now I am facing another problem: I am trying to trigger the generation of a "sequence"-like signal in a burst through an external trigger, but the instrument does not seem to allow that, despite the manual says
"In N Cycle mode, the generator will output waveforms with a specified number of cycles after receiving the trigger signal. The waveform functions that support the N cycle burst include Sine, Square, Ramp, Pulse, Arbitrary, PRBS, RS232, and Sequence. For N cycle burst, "Internal", "External", or "Manual" trigger source could be selected. Besides, you can also set the parameters of "Burst Period" (internal trigger), "Delay", "Trig In" (external trigger), and "Trig Out" (internal and manual trigger)."
Any idea why? And does anybody know how to externally trigger a "sequence" signal with the DG800?
Thank you,
Luca