To output a waveform you can use the waveform generation functions in the DAQ libraries.
You have a couple of possibilities, starting from AOGenerateWaveforms in the Easy I/O for Daq library. I really never tried using it but I assume it can be helpful for you to start building your application. Unfortunately I don't know of any example that uses this function.
A more complex structure is involved in using functions from the Data Acquisition library, but I can suggest you to look at WFMsingleBufAsync sample that covers almost all your needs from generating the array that describes the waveform to outputting it from the daq card. The sample project is well documented and I have used it as a basis for several applications of mine finding it very useful.
In the same library a Generate WFM from Disk function is present that reads a file from disk and outputs a waveform, but keep in mind that this function waits for the generation to complete before returning, so you won't be able to follow your process and perform other tasks while the generation is in progress, not even processing a simple "Stop" button to end it in case of problems.
Hope this helps you a little
Roberto