Hi Marek,
Are you going to generate continuous pulses or were you planning on generating a finite pulse train? The finite pulse train requires 2 counters for each pulse train but a continuous pulse train can be done with 1 counter per pulse train. I would recommend that you look at the ANSI C examples as a guide for programming the device in C++. I have also included a link to a KnowledgeBase that discusses the location of the examples. I would also recommend that you reference the NI-DAQmx C Reference Help that can be found by going to Start>>Programs>>National Instruments>>NI-DAQ>>NI-DAQmx C Reference Help. This is a very useful guide for programming your DAQ device in a C language.
Location of ANSI C NI-DAQmx Shipping Examples and DAQmx Library File for Windows<a href="http://digital.ni.com/public.nsf/allkb/FB26BDA52FFFD4EE86257124005C36C3?OpenDocument" target="_blank">http://digital.ni.com/public.nsf/allkb/FB26BDA52FFFD4EE86257124005C36C3?OpenDocument</a>