In waveforms, the wavegen module is able to produce a waveform that is triggered by changing from no synchronization to independent or synchronized. You can then adjust the source of the trigger and other conditions regarding it. This can also be done via the software.
You can then change the type of signal output by the wavegen to produce a custom waveform where you will be able to manually control the samples.