Hi,
There are examples of creating a waveform in VC++ that come with the DAQ driver. They can be found here:
C:\Program Files\National Instruments\NI-DAQ\Examples\VisualC\Ao
In this folder you can select from any of the WFM examples, which will all create different types of waveforms on your Analog Output channel. There are descriptions of each example contained at the beginning of the program.
Good luck, and happy programming!
George