You will find useful informations in the example 'DAQsingleBufExtTrig.prj' that ships with NI-DAQ. You will find it in samples\daq\ai directory.
Since it's a general purpose example you will have to adapt it to your specific application. I don't know if it's suitable for PCI-1200 too, but could be a good starting point.
Roberto