Hi Devor,
There are examples for C code with DAQmx and they can be found in this folder on your computer:
C:\Users\Public\Documents\National Instruments\NI-DAQ\Examples\DAQmx ANSI C
These examples do not require LabWindows or CVI--CVI just makes it easier to program with.
I hope this helps!
Kim W.
Applications Engineer
National Instruments