You can link and loop multiple waveforms together in a generation operation using a script. A script is a series of instructions that indicates how waveforms saved in the onboard memory should be sent to the DUT. The script can specify the order in which the waveforms are generated, the number of times they are generated, and the triggers and markers associated with the generation.

You can create a script to manage dynamic generation based on multiple waveforms and triggers. For example, you download waveforms A, B, C, and D into device memory. You can then write a script that waits for a trigger to start generation. Then, when this trigger is received, generate waveform A three times with a marker at position 16 for each generation. Then, generate waveforms B, C, and D twice (BCDBCD).

A simple script example is shown below:

script myFirstScript

  wait until scriptTrigger0

  repeat 3

   generate waveformA marker0(16)

  end repeat

  repeat 2

   generate waveformB

   generate waveformC

   generate waveformD

  end repeat

end script

When executed, this script generates three waveforms (countUp, allOnes, and countDown) consecutively.