You could try looking at the examples: open Examples... in the help menu and then select I/O Intrefaces/DAQ/Analog Output/Triggering a generation.
For a simple, one-shot pattern generation I attach a simple VI that ouputs a ramp pattern I use to drive a motor engine.
Roberto