Hi,
There are .
NET examples that install with the DAQmx driver that serve as a great starting point for creating DAQmx tasks in
C# using the National Instruments DAQmx Library. Please reference the
C:\Documents and Settings\All Users\Documents\National Instruments\NI-DAQ\Examples\DotNETX.x\Counter\Measure Period or Pulse Width\ folder for these examples.
I would recommend looking at
C:\Documents and Settings\All Users\Documents\National Instruments\<NI-DAQ>\Examples\DotNETX.x\Counter\Measure Period or Pulse Width\MeasDigPeriodsBufCon_HighFrq2Ctr\cs\MeasDigPeriodsBufCon_HighFrq2Ctr.2005.sln, this example demonstrates how to measure periods using two counters.
-Adri K
Adri Kruger
National Instruments
LabVIEW Product Marketing